Uses of Interface
alexiil.mc.lib.attributes.ListenerRemovalToken
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes.fluid |
The base package for
fluid management. |
| alexiil.mc.lib.attributes.fluid.impl | |
| alexiil.mc.lib.attributes.item | |
| alexiil.mc.lib.attributes.item.compat | |
| alexiil.mc.lib.attributes.item.impl |
-
Uses of ListenerRemovalToken in alexiil.mc.lib.attributes.fluid
Methods in alexiil.mc.lib.attributes.fluid with parameters of type ListenerRemovalToken Modifier and Type Method Description default ListenerTokenFixedFluidInvView. addListener(FluidInvTankChangeListener listener, ListenerRemovalToken removalToken)Adds the given listener to this inventory, such that theFluidInvTankChangeListener.onChange(FixedFluidInvView, int, FluidVolume, FluidVolume)will be called every time that this inventory changes.default ListenerTokenGroupedFluidInvView. addListener(FluidInvAmountChangeListener listener, ListenerRemovalToken removalToken)Deprecated.ListenerTokenSingleFluidTankView. addListener(FluidInvTankChangeListener listener, ListenerRemovalToken removalToken)Adds the given listener to the backing inventory, such that theFluidInvTankChangeListener.onChange(FixedFluidInvView, int, FluidVolume, FluidVolume)will be called every time that this inventory changes.default ListenerTokenGroupedFluidInvView. addListener_F(FluidInvAmountChangeListener_F listener, ListenerRemovalToken removalToken)Adds the given listener to this inventory, such that theFluidInvAmountChangeListener.onChange(GroupedFluidInvView, FluidKey, int, int)will be called every time that this inventory changes. -
Uses of ListenerRemovalToken in alexiil.mc.lib.attributes.fluid.impl
-
Uses of ListenerRemovalToken in alexiil.mc.lib.attributes.item
Methods in alexiil.mc.lib.attributes.item with parameters of type ListenerRemovalToken Modifier and Type Method Description default ListenerTokenAbstractItemInvView. addListener(InvMarkDirtyListener listener, ListenerRemovalToken removalToken)Adds the given listener to this inventory, such thatInvMarkDirtyListener.onMarkDirty(AbstractItemInvView)will be called every time that any stored stack is changed (either fromFixedItemInv.setInvStack(int, ItemStack, Simulation)orFixedItemInv.ModifiableFixedItemInv.markDirty()).default ListenerTokenFixedItemInv.CopyingFixedItemInv. addListener(InvMarkDirtyListener listener, ListenerRemovalToken removalToken)default ListenerTokenFixedItemInv.CopyingFixedItemInv. addListener(ItemInvSlotChangeListener listener, ListenerRemovalToken removalToken)Adds the given listener to this inventory, such that theItemInvSlotChangeListener.onChange(FixedItemInvView, int, ItemStack, ItemStack)will be called every time that this inventory changes.default ListenerTokenGroupedItemInvView. addListener(InvMarkDirtyListener listener, ListenerRemovalToken removalToken)default ListenerTokenGroupedItemInvView. addListener(ItemInvAmountChangeListener listener, ListenerRemovalToken removalToken)Adds the given listener to this inventory, such that theItemInvAmountChangeListener.onChange(GroupedItemInvView, ItemStack, int, int)will be called every time that this inventory changes.ListenerTokenSingleCopyingItemSlot. addListener(ItemInvSlotChangeListener listener, ListenerRemovalToken removalToken)Adds the given listener to the backing inventory, such that theItemInvSlotChangeListener.onChange(FixedItemInvView, int, ItemStack, ItemStack)will be called every time that this inventory changes. -
Uses of ListenerRemovalToken in alexiil.mc.lib.attributes.item.compat
Methods in alexiil.mc.lib.attributes.item.compat with parameters of type ListenerRemovalToken Modifier and Type Method Description ListenerTokenFixedInventoryVanillaWrapper. addListener(InvMarkDirtyListener listener, ListenerRemovalToken removalToken) -
Uses of ListenerRemovalToken in alexiil.mc.lib.attributes.item.impl