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

Latest profile posts

D_Dracko_D wrote on F14 Lima's profile.
keep a great work:)
warr wrote on xhappyadem's profile.
Happy birthday!❤️
While everyone was talking about the new game portals on Bedrock, I thought, why not bring these back in the lobby but with Blockbench? Might make a suggestion on it soon.
1754781817463.png
wwxx wrote on adamplayz225679's profile.
Happy birthday
Top Bottom