Modbder / EssentialCraft3

The update of EC2 for newer version of MC
18 stars 16 forks source link

Incompatibilty with RFTools Modular Storage #16

Open learntechguy opened 9 years ago

learntechguy commented 9 years ago

Magical mirrors break Modular Storages from RFTools (in Horizons: Daybreaker). Instead of pulling the items inside the storage, it pulls the storage cell itself, deleting all its contents.

Modbder commented 9 years ago

The mirrors are pulling the first available item from the inventory they are attached to. Seems like for RF tools that item is the cell. I do not think that the content being deleted thingy is on my side, since the mirrors simply copy the itemstack.

learntechguy commented 9 years ago

Does the mirror copy all the NBTTagData as well? The item was copied successfully but it was like a freshly crafted copy of it.

Modbder commented 9 years ago

It uses the ItemStack.copy() method provided by vanilla mc. That method copies all the data of an item - it's ID, metadata, stacksize and NBT data.

learntechguy commented 9 years ago

Ok that is odd - you're right, ItemStack.copy() copies the stackTagCompound, which is where RFTools seems to put the item data. I wish I could do something else to help with this one...