Jump to content

wmbt

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by wmbt

  1. How do I do that? At the moment i have: IInventory chest = (IInventory) tileEntity; With tileEntity being a TileEntitiy.
  2. I've been struggling to find a way to check if a chest is attached to another one forming a double chest. 1) Get the chest size and see if its larger than a singel chest: chest.getSizeInventory() Does not work for me. It always retuns the value for a single chest. 2) I have been trying find out if a chest is single or attached to another via BlockStates: net.minecraft.state.IProperty iProperty; tileEntity.getBlockState().get(iProperty); Or: tileEntity.getBlockState().get(net.minecraft.state.properties.ChestType); Nothing has worked so far. I'm unsure as to what the parameter of .get() is. How do i find this Property?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.