Minecraft PC IP: play.cubecraft.net

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,166
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

Members online

Latest posts

Latest profile posts

Floraljackp14 wrote on TC XD's profile.
Happy bday! 🎂 🥳
Daily Question 131.

How many methods of transport have you been on?
My 432 winstreak was died
I lost by hack
maoawa wrote on LorilambtheWcubecraftian's profile.
Thank you for your birthday wishes on my post and for following! It means a lot to me! ❤️

I’ve also seen your profile posts 👀 what an interesting friend!
Eli wrote on yurisatori0312's profile.
Thank you for the follow!!
Top Bottom