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

Members online

Latest profile posts

tacoman222xx wrote on iTz1Hamood's profile.
Yayy congrats Hamood I knew you could become a mod, you were doing so well
tacoman222xx wrote on Verbramdt's profile.
Gefeliciteerd Verbrandt!
tCombo wrote on pleasedharch's profile.
noodles
Daily Question 122.

What subject do you know the most about?
TheMrSpacee wrote on Verbramdt's profile.
Congrats!
Top Bottom