Package appeng.api.behaviors
@Experimental
package appeng.api.behaviors
Classes to allow addons to define behavior of AE2's own devices when they have to interact with custom key types.
Part implementations
- Import bus:
StackImportStrategy
. - Export bus:
StackExportStrategy
. - Formation plane:
PlacementStrategy
. - Annihilation plane:
PickupStrategy
.
Working with inventories
- Building
MEStorage
s from other kinds of inventories, used by the storage bus and the pattern provider:ExternalStorageStrategy
. - Exposing AE2's generic inventories, such as the interface's or pattern provider's:
GenericInternalInventory
. - Defining the max capacity of interface and pattern provider slots:
GenericSlotCapacities
.
Menu interactions
- Emptying and filling container items in AE2 menus:
ContainerItemStrategy
-
ClassDescriptionManages
ContainerItemStrategy
registrations for key types.Strategy to interact with the non-item keys held by container items, for example the fluid contained in a bucket.Describes the action of emptying an item into the storage network.Abstraction layer over the "generic" (meaning that it can accept any AEKey in each slot) inventory used by various AE2 devices.Allows custom key types to define slot capacities for pattern providers and interfaces.Pickup strategies are used to pick up various types of game objects from within the world and convert them into a subtype ofAEKey
.Strategy to export stacks into adjacent blocks from the grid.Strategy to import from adjacent blocks into the grid.Context for import and export bus transfer operations.