Minecraft PC IP: play.cubecraft.net

DrHam

Forum Professional
Sep 15, 2015
3,615
4,165
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

xsmistryx wrote on power222pro's profile.
wsp dude
1000339699.jpg
imagina estar protegido tu cama y que pase esto 🤣🤣🤣🥲
xsmistryx wrote on gabeysponge's profile.
THANK YOU SOO MUCH FOR THE FOLLOW<3
skywars my beloved
Prashik05 wrote on hamwody's profile.
Muhehehehe
muhehehehe
h
Top Bottom