Funktion:
Dieses Plugin ist ein sehr simples Waterjump Plugin, das folgendermaßen funktioniert:
Sobald ein Spieler Wasser beführt, wird er nach Oben geboostet.
Dieses Plugin eignet sich gut auf Lobbyservern :D
Sourcecode:
@EventHandler
public void onWaterjump(PlayerMoveEvent e) {
Player p = e.getPlayer();
if (p.getLocation().getBlock().getType() == Material.WATER
|| p.getLocation().getBlock().getType() == Material.STATIONARY_WATER) {
if (p.getGameMode() == GameMode.CREATIVE) {
return;
} else {
Vector v = p.getLocation().getDirection().multiply(1.0D).setY(1.5D);
p.setVelocity(v);
p.playSound(p.getLocation(), Sound.WATER, 0.5F, 1F);
}
}
}
}
Mein Netzwerk: Cytex MC. de
Meine Webseite: https://cytexmc.de
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta