Minecraft PC IP: play.cubecraft.net

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,165
518
Kepler-452b
Hello, I'm posting this little thing that may help some people (when you touch water it kills you):
Code:
@EventHandler
public void onPlayerMove(PlayerMoveEvent e) {
    Material m = e.getPlayer().getLocation().getBlock().getType();
    if (m == Material.STATIONARY_WATER || m == Material
       p.setHealt(0,0);

I'll make explanation later
 
Members Online

Team online

Latest profile posts

Lyriie wrote on WorriedSkate940's profile.
Thank you for everything!
Lyriie wrote on xSchulzis's profile.
Congratulations and welcome to the orange team! 🍊
Lyriie wrote on Frontlane's profile.
Congratulations and welcome back to the orange team! 🍊
hoppyfrog28_ wrote on ElFlxen_'s profile.
Nice new pfp! How do you make them?
caraMel wrote on WorriedSkate940's profile.
Thanks for everything 🧡
Top Bottom