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
 
7795
Members Online

Latest profile posts

Eli wrote on Deann's profile.
Best of luck in the future!!
yurisatori0312 wrote on Eli's profile.
/sr when
Otherworld wrote on Deann's profile.
Dean, thank you for everything 🫶
Pluisje wrote on Lyriie's profile.
💜💜
Top Bottom