Quark Oddities

Quark Oddities

22M Downloads

Quark Inventory Functions do not work for Minecolonies custom Rack

Raycoms opened this issue ยท 1 comments

commented

Hey there, our players have been complaining that quarks inventory additions to not work with minecolonies custom inventories.

Even though we correctly implement:
@OverRide
public boolean hasCapability(final Capability<?> capability, final EnumFacing facing)
{
if (capability == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY)
{
return true;
}
return super.hasCapability(capability, facing);
}

and use a:

https://cdn.discordapp.com/attachments/240841248750043137/403236023099719700/unknown.png

Full class:

https://github.com/Minecolonies/minecolonies/blob/version/1.12/src/main/java/com/minecolonies/coremod/tileentities/TileEntityRack.java

commented

The dropoff features aren't added automatically to every inventory for security reasons. If you want yours to have it, you can implement this interface.