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

Members online

Latest profile posts

ItzJuan wrote on iTz1Hamood's profile.
HaMOD!
Syntax Error wrote on Verbramdt's profile.
nice to see anothher mod on the team! congrats!
_The13thDoctor_ wrote on Verbramdt's profile.
Congrats!
CrystalLegend01 wrote on iTz1Hamood's profile.
Congratulations on becoming a mod!
coolzombiee wrote on iTz1Hamood's profile.
Hey congratulations! Cool new mod fr
Top Bottom