Package net.minecraft.tileentity

Examples of net.minecraft.tileentity.TileEntity.updateContainingBlockInfo()


      if (tile != null) {
        tile.xCoord = coords.posX;
        tile.yCoord = coords.posY;
        tile.zCoord = coords.posZ;
        tile.updateContainingBlockInfo();
      }

            //if (block != null)
            //  block.onNeighborBlockChange(worldObj, coords.posX, coords.posY, coords.posZ, ThaumicTinkerer.registry.getFirstBlockFromClass(BlockTransvectorDislocator.class));
View Full Code Here


              var14 = Block.blocksList[id].createTileEntity(worldObj, meta);
              worldObj.setBlockTileEntity(var12, y, var13, var14);
            }

            if (var14 != null) {
              var14.updateContainingBlockInfo();
              var14.blockMetadata = meta;
            }
          }
        }
View Full Code Here

              tileEntity = block.createTileEntity(worldObj, meta);
              worldObj.setBlockTileEntity(wX, y, wZ, tileEntity);
            }

            if (tileEntity != null) {
              tileEntity.updateContainingBlockInfo();
              tileEntity.blockMetadata = meta;
            }
          }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.