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?