Object MatterTankItemStrategy
-
- All Implemented Interfaces:
-
appeng.api.behaviors.ContainerItemStrategy
public class MatterTankItemStrategy implements ContainerItemStrategy<MatterKey, MatterTankItemStrategy.Context>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMatterTankItemStrategy.Context
-
Field Summary
Fields Modifier and Type Field Description public final static MatterTankItemStrategyINSTANCE
-
Method Summary
Modifier and Type Method Description GenericStackgetContainedStack(ItemStack stack)MatterTankItemStrategy.ContextfindCarriedContext(Player player, AbstractContainerMenu menu)MatterTankItemStrategy.ContextfindPlayerSlotContext(Player player, Integer slot)Longextract(MatterTankItemStrategy.Context context, MatterKey what, Long amount, Actionable mode)Longinsert(MatterTankItemStrategy.Context context, MatterKey what, Long amount, Actionable mode)UnitplayFillSound(Player player, MatterKey what)UnitplayEmptySound(Player player, MatterKey what)GenericStackgetExtractableContent(MatterTankItemStrategy.Context context)-
-
Method Detail
-
getContainedStack
GenericStack getContainedStack(ItemStack stack)
-
findCarriedContext
MatterTankItemStrategy.Context findCarriedContext(Player player, AbstractContainerMenu menu)
-
findPlayerSlotContext
MatterTankItemStrategy.Context findPlayerSlotContext(Player player, Integer slot)
-
extract
Long extract(MatterTankItemStrategy.Context context, MatterKey what, Long amount, Actionable mode)
-
insert
Long insert(MatterTankItemStrategy.Context context, MatterKey what, Long amount, Actionable mode)
-
playFillSound
Unit playFillSound(Player player, MatterKey what)
-
playEmptySound
Unit playEmptySound(Player player, MatterKey what)
-
getExtractableContent
GenericStack getExtractableContent(MatterTankItemStrategy.Context context)
-
-
-
-