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 posts

Latest profile posts

Reesle wrote on SAASD's profile.
Hey pro! Long time no see, Hru? :D
Reesle wrote on itsmochhi's profile.
Thanks for everything! Hope you have a good life.
As per the removal of the design team CubeCraft will now remove the Moderation team due to them costing CubeCraft the same amount of extra money - nothing.
Reesle wrote on Tommy Boi's profile.
Congrats on 300 reaction score!!
Top Bottom