This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pos = player.getPosition(); | |
var x = Math.floor(pos.x); | |
var y = Math.floor(pos.y) - 2; | |
var z = Math.floor(pos.z); | |
var idUnderneath = world.getBlockID(x,y,z); | |
var metaUnderneath = world.getMetadata(x,y,z); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
{ | |
directions[0] = directions[0]; | |
} | |
catch (exception) | |
{ | |
directions = new Array(); | |
for (i = 0; i < 16; i++) | |
{ | |
directions[i] = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (hitBlock != null) | |
{ | |
blockID = world.getBlockID(hitBlock.x, hitBlock.y, hitBlock.z); | |
pushid = 12; | |
iceid = 79; | |
triggerid = 201; | |
if (blockID == pushid) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//moneyLimit = 500 | |
//Set that in the onload script! | |
if(pinv.getItemInSlot(35) != null) | |
{ | |
if(pinv.getItemInSlot(35).getItemID() != 353) | |
{ | |
for(i=0;i<35;i++) | |
{ | |
if(pinv.getItemInSlot(i) == null) |
NewerOlder