Package net.minecraft.src

Examples of net.minecraft.src.TileEntityChest


          int id = Integer.parseInt(split[0]);
          int meta = Integer.parseInt(split[1]);
          int amount = Integer.parseInt(split[2]);
          world.setBlock(parent.location.x, parent.location.y, parent.location.z,
              Block.chest.blockID);
          TileEntityChest b = (TileEntityChest) world.getBlockTileEntity(
              parent.location.x, parent.location.y, parent.location.z);
          b.setInventorySlotContents(x, new ItemStack(id, amount, meta));
        }
        finished = true;
      }
View Full Code Here

TOP

Related Classes of net.minecraft.src.TileEntityChest

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.