This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Is there any hook that functions when you step on a block?
no but you can try this
function modTick(){ if(Level.getTile(Player.getX()+0.5,Player.getY()-2,Player.getZ()+0.5)==2){ clientMessage(" get off me!"); } }
Thanks, I'll try that code if it works.
Is there any hook that functions when you step on a block?
no but you can try this
function modTick(){
if(Level.getTile(Player.getX()+0.5,Player.getY()-2,Player.getZ()+0.5)==2){
clientMessage(" get off me!");
}
}
Thanks, I'll try that code if it works.