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, this.yCoord, this.zCoord);
- if(te instanceof TileEntityShelve) {
- s = true;
- break;
- }
- }
- return s;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement