AlmuraDev / GameServer

0 stars 0 forks source link

Cruets not fillable from tanks,etc #55

Open MoraglarKhilen opened 5 years ago

MoraglarKhilen commented 5 years ago

Tested. Cannot Fill Empty Cruets with Milk nor Water from Seared Gauge/Tank etc from TC Tanks from IC2 Sink or Milk Bottle from CfB

liach commented 5 years ago

It will need the fluid handler capability.

Dockter commented 4 years ago

@liach can you elaborate please?

liach commented 4 years ago

the curet item should like override getCapabilityHandler to return a fluid item capability handler when the fluid item capability is passed in. this is what modded fluid systems use to transfer fluids in items.

liach commented 4 years ago

For the purpose of json-definable items, you might consider putting forge-bound capabilities in some sort of map that can be populated from json stuff read in item definition, and dispatch capabilities based on contents filled in that map.

Dockter commented 4 years ago

The following classes need this update: https://github.com/AlmuraDev/Almura/tree/api-7/src/main/java/com/almuradev/almura/feature/complex/item/cruet

Dockter commented 4 years ago

I will need to rollback the change in MixinEntityCow where I create the milk cruet items if we can implement this.