Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibilty with RFTools Modular Storage #16

Open
learntechguy opened this issue Jul 29, 2015 · 4 comments
Open

Incompatibilty with RFTools Modular Storage #16

learntechguy opened this issue Jul 29, 2015 · 4 comments

Comments

@learntechguy
Copy link

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
Copy link
Owner

Modbder commented Jul 30, 2015

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
Copy link
Author

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
Copy link
Owner

Modbder commented Jul 30, 2015

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
Copy link
Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants