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

llvqs wrote on Kloska's profile.
quack
Zawuri wrote on real_gamer1's profile.
Happy birthday!
AronTheLlama wrote on Conea64's profile.
so not sigma😔
AronTheLlama wrote on Otherworld's profile.
i hope i see you back on the team soon, you were a great mod. (im extremely late)
Top Bottom