-
Interfaces Interface Description alexiil.mc.lib.attributes.fluid.FluidInvAmountChangeListener alexiil.mc.lib.attributes.fluid.FluidProviderItem This has been completely replaced by item-based attribute accessors andFluidContainerRegistry
.
-
Classes Class Description alexiil.mc.lib.attributes.fluid.impl.SimpleFixedFluidInvExtractable This has been replaced withFixedFluidInv.getMappedInv(int...)
followed byFixedFluidInv.getExtractable()
. (And optionallyFluidExtractable.getPureExtractable()
if you only want to expose it as an extractable).alexiil.mc.lib.attributes.fluid.impl.SimpleFixedFluidInvInsertable This has been replaced withFixedFluidInv.getMappedInv(int...)
followed byFixedFluidInv.getInsertable()
. (And optionallyFluidInsertable.getPureInsertable()
if you only want to expose it as an insertable).alexiil.mc.lib.attributes.fluid.render.ImplicitVanillaFluidVolumeRenderer BecauseDefaultFluidVolumeRenderer
does everything that this does.alexiil.mc.lib.attributes.fluid.volume.NormalFluidKey Because anyFluidKey
can map to a singleFluid
, andSimpleFluidKey
has a much better name than this.alexiil.mc.lib.attributes.fluid.volume.NormalFluidVolume Because anyFluidKey
can map to a singleFluid
, andSimpleFluidVolume
has a much better name than this.alexiil.mc.lib.attributes.item.impl.SimpleFixedItemInv You should use eitherDirectFixedItemInv
orFullFixedItemInv
instead of this!Full explanation: As of LBA 0.5.0 there's been a large change to how inventories work to be much closer to vanilla - inventories no longer return immutable stacks from
FixedItemInvView.getInvStack(int)
, and 2 new sub-interfaces have been created to handle the different ways of using this, eitherFixedItemInv.ModifiableFixedItemInv
(which exposes a markDirty() method just like vanillaInventory
does), orFixedItemInv.CopyingFixedItemInv
(which returns copies of the internalItemStack
and supports complete filtering and listener capabilities).You should replace this class with either:
FullFixedItemInv
if you either need exact per-slot listening or the full filtration capabilitiesDirectFixedItemInv
if you'd rather use a more vanilla oriented approach of being able to directly modify items in an inventory.
alexiil.mc.lib.attributes.item.impl.SimpleFixedItemInvExtractable UseGroupedItemInvFixedWrapper
instead of this!alexiil.mc.lib.attributes.item.impl.SimpleFixedItemInvInsertable UseGroupedItemInvFixedWrapper
instead.
-
Enum Constants Enum Constant Description alexiil.mc.lib.attributes.item.filter.ConstantItemFilter.ANYTHING_EXCEPT_EMPTY alexiil.mc.lib.attributes.item.filter.ConstantItemFilter.ONLY_EMPTY