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

Latest profile posts

Some news to share with you all:
- Featured items are back in SkyWars
- Copper Axes got nerfed on Bedrock. They are as weak as stone axes now.
Adavidapa wrote on Kaedee's profile.
Happy Birthday! 🎉
Kaedee wrote on Nollq's profile.
Happy birthday! 🎉
francis917213 wrote on ebro's profile.
thanks for follow ! et66
Nollq wrote on Kaedee's profile.
Happy birthday 🤩
Top Bottom