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

Latest profile posts

i dont think this is right
IMG_8801.jpeg
TheOrderOfSapphire wrote on Xi1m's profile.
Heya my friend how are you doing today?:D
𝑷𝑹𝑶 𝑾𝑰𝑵𝑵𝑨𝑨𝑹 wrote on L1kii's profile.
👀
qKhalidd wrote on ignsinf's profile.
Hi
TheOrderOfSapphire wrote on ii6xxq's profile.
welcome to the forums! I hope you will have a nice stay here:D
Top Bottom