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