Package net.minecraft.server

Examples of net.minecraft.server.TileEntity


  {
    if(chunk == null || RecipeManager.recipes.furnaceSmelting == null)
      return;
   
    net.minecraft.server.Chunk mcChunk = ((CraftChunk)chunk).getHandle();
    TileEntity tile;
   
    for(Object obj : mcChunk.tileEntities.values())
    {
      if(obj != null && obj instanceof TileEntity)
      {
View Full Code Here


  public static CommonPacket getUpdatePacket(Object tileEntity) {
    return Conversion.toCommonPacket.convert(getUpdatePacket.invoke(tileEntity));
  }

  public static Block getBlock(Object tileEntity) {
    TileEntity tile = (TileEntity) tileEntity;
    return tile.getWorld().getWorld().getBlockAt(tile.x, tile.y, tile.z);
  }
View Full Code Here

TOP

Related Classes of net.minecraft.server.TileEntity

Copyright © 2018 www.massapicom. 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.