Package alexiil.mc.lib.attributes.fluid
Class FluidAttributes
java.lang.Object
alexiil.mc.lib.attributes.fluid.FluidAttributes
Central storage for fluid 
Attribute instances.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic CombinableAttribute<FluidExtractable>static CombinableAttribute<FluidFilter>Mostly intended to be used forItemStack's, notBlock's.static CombinableAttribute<FixedFluidInv>static CombinableAttribute<FixedFluidInvView>static CombinableAttribute<GroupedFluidInv>static List<CombinableAttribute<?>>AListof every inventory-type attribute, so:GROUPED_INV_VIEW,GROUPED_INV,INSERTABLE, andEXTRACTABLE.static CombinableAttribute<FluidInsertable>static List<CombinableAttribute<?>>AListof every inventory-type attribute, so:FIXED_INV_VIEW,FIXED_INV,GROUPED_INV_VIEW,GROUPED_INV,INSERTABLE, andEXTRACTABLE.
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidforEachGroupedInv(Consumer<? super CombinableAttribute<?>> consumer)Runs the givenConsumeron everyGROUPED_INVENTORY_BASEDattribute.static voidforEachInv(Consumer<? super CombinableAttribute<?>> consumer)Runs the givenConsumeron everyINVENTORY_BASEDattribute.
- 
Field Details- 
FIXED_INV_VIEW
- 
FIXED_INV
- 
GROUPED_INV_VIEW
- 
GROUPED_INV
- 
INSERTABLE
- 
EXTRACTABLE
- 
FILTERMostly intended to be used forItemStack's, notBlock's. (As this interface doesn't really make much sense when applied to block's alone, however it makes much more sense in pipe input or extraction filters).
- 
INVENTORY_BASEDAListof every inventory-type attribute, so:FIXED_INV_VIEW,FIXED_INV,GROUPED_INV_VIEW,GROUPED_INV,INSERTABLE, andEXTRACTABLE.
- 
GROUPED_INVENTORY_BASEDAListof every inventory-type attribute, so:GROUPED_INV_VIEW,GROUPED_INV,INSERTABLE, andEXTRACTABLE.
 
- 
- 
Method Details- 
forEachInvRuns the givenConsumeron everyINVENTORY_BASEDattribute.
- 
forEachGroupedInvRuns the givenConsumeron everyGROUPED_INVENTORY_BASEDattribute.
 
-