Minecraft PC IP: play.cubecraft.net

DrHam

Forum Professional
Sep 15, 2015
3,615
4,165
558
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

Latest profile posts

ZeroPilot866027 wrote on Eli's profile.
Can you tell me which of these ideas you like best? Me and my other two friends can't decide. I was thinking of doing this for teams of 4 eggwars bedrock edition.
1788750867603.png
1000001832.jpg
17 kill game skywars mega
Wqsknijper wrote on Dutch_Frietjes's profile.
Wat zie ik
Red crits wrote on iTz1Hamood's profile.
Hii Itz2Hamood!
itz1malloka wrote on AliWarrior's profile.
Thank you for review my reports✨ ali🎉
Top Bottom