Package fr.robie.machineengine.api.item
package fr.robie.machineengine.api.item
-
ClassDescriptionImplemented by a CraftEngine item behavior that changes how much its item can hold, for example an installed module that multiplies the energy capacity.Which item a
Items.ITEMresource is: the item id plus the platform's serialized form of one such item (Paper:ItemStack#serializeAsBytes).Items that hold resources (energy, a chemical, a fluid), seen asItems.ITEMresources in a machine's slots (D32).Reads and writes the resources an item resource holds.Minecraft items as resources (ARCHITECTURE.md ยง23.4).Adds items to an item tag (e.g.Implemented by a CraftEngine item behavior that acts on machines (a configurator, a wrench, an item filled from a machine).Implemented by a CraftEngine item behavior whose item holds one resource: the engine'smachineengine:energy_itemandmachineengine:resource_item, or an addon's own (D32).Implemented by a CraftEngine item behavior that makes its item a machine upgrade (D40); MachineEngine's own ismachineengine:upgrade.