Minecraft PC IP: play.cubecraft.net

DrHam

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

Members online

Latest profile posts

Red crits wrote on S4nne's profile.
Hi Sanne!
"Tell your girl what hurts you, and she'll do it perfectly"
NEWS:
1 - SkyWars Update is back in development!
2 - Lightning Epic Trail released! That was a nice shadow drop. Might get it later
mevil72 wrote on S4nne's profile.
🫠
SfenKer wrote on Nollq's profile.
Thanks for the follow.
Top Bottom