Category: mechanics Name: Breath Under Water This plugin will make you breath under water for a certain amount of time after you eat or drink something. you will be able to configure the time and what you eat or drink. Commands: none Permisions: none
There is one called "Diving Helmet" which works with a certain piece of armor equipped (you can configure which one)
banjo222 if someone wants to make this here is code u can use: Code: public void eat(playereatsfoodeventinserthere event){ Player p = event.getPlayer(); if food is equal to config string p.addPotionEffect(new PotionEffect(PotionEffectType.WATER_BREATHING,(int) 20L, 10));
No, I don't understand anything from developing plugins. Can you explain me, I just know the basics from Java. I really want to know. By the way I like the idea Banjo222
I have found something for ya! Take a look at this: WaterProof If this isn't what you're looking for, take a look at HERE or ask Musli1 for it By the way I saw that when you put a pumpkin on your head, you can breath underwater? Maybe give it a trie?
Pumpkin Diver, made by Afforess, the developer of Minecart Mania before he switched over to Spout. Awesome plugin it was too.
WorldGuard has an option called Pumpkin Scuba. If you use WG, just enable it in the config, pop a pumpkin on your head and you won't drown.
Not that i know of, no. It's a very simple concept though, the code itself wouldn't be very difficult at all.