Hi there, this is just a small idea of passable blocks. So in your mods you can have something like cloud blocks or something Anyways feel free to copy the code if you give me credit But BEWARE its a idea it might not work :| People might have better ideas but I think I'm the first to post about this.
function modTick(){
var PlayerPlaceX = Player.getX();
var PlayerplaceY = Player.getY();
var PlayerPlaceZ = Player.getZ();
if(getTile(PlayerPlaceX()+1, PlayerPlaceY(), PlayerPlaceZ()) == 1){ //If block front is stone
setPostition(getPlayerEnt(), PlayerPlaceX()+0.2, PlayerplaceY(), PlayerPlaceZ()); //Set Players position towards block
setVelX(getPlayerEnt(), 1); //Pushes player if stuck.
//Repeat this with rest of the coordinates (y and z)
}
}
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->