Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean hasLeft() {
- TileEntity te;
- boolean s = false;
- for(ForgeDirection facing : ForgeDirection.VALID_DIRECTIONS) {
- te = this.worldObj.getTileEntity(this.xCoord + facing.offsetX + facing.offsetY + facing.offsetZ, this.yCoord, this.zCoord);
- if(te instanceof TileEntityShelve) s=true;break;
- }
- if(s) return true;
- else return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement