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

Team online

Latest profile posts

how to apply for owner
aienmg9 wrote on SfenKer's profile.
Hi, can I be your first friend?
starblade9603 wrote on AnolTongi's profile.
Sr.mod when?
Marcenator wrote on Auri's profile.
And happy birthday if it's your birthday 🎊🎊.I wish you some good coding skills and health. Also happiness obviously
Marcenator wrote on Auri's profile.
Thank you very much
Top Bottom