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

Daniil343 wrote on Alexp192's profile.
Happy Birthday🎂
Nathie wrote on Alexp192's profile.
happy birthday alex!!
Kazwa wrote on SAASD's profile.
Happy Birthday! 🎉
Kazwa wrote on Alexp192's profile.
Happy Birthday Alex! <3
Delta6927 wrote on Ruisdier's profile.
Happy birthdayyyy, big 20 is wild though but hope you have a good day and get to do awesome things, one more year until you can go out and have a drink with the boys🍻
Top Bottom