Package gripe._90.megacells.item.part
Class DecompressionModulePart
java.lang.Object
appeng.parts.AEBasePart
gripe._90.megacells.item.part.DecompressionModulePart
- All Implemented Interfaces:
appeng.api.implementations.IPowerChannelState,appeng.api.inventories.ISegmentedInventory,appeng.api.networking.crafting.ICraftingProvider,appeng.api.networking.IGridNodeService,appeng.api.networking.security.IActionHost,appeng.api.networking.ticking.IGridTickable,appeng.api.parts.ICustomCableConnection,appeng.api.parts.IPart,appeng.api.storage.ISubMenuHost,appeng.helpers.IPriorityHost,appeng.util.IDebugExportable,net.minecraft.world.Clearable,net.minecraft.world.Nameable
public class DecompressionModulePart
extends appeng.parts.AEBasePart
implements appeng.api.networking.crafting.ICraftingProvider, appeng.helpers.IPriorityHost, appeng.api.networking.ticking.IGridTickable
-
Nested Class Summary
Nested classes/interfaces inherited from class appeng.parts.AEBasePart
appeng.parts.AEBasePart.NodeListener<T extends appeng.parts.AEBasePart> -
Field Summary
Fields inherited from interface appeng.api.inventories.ISegmentedInventory
CELLS, CONFIG, STORAGE, UPGRADES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<appeng.api.crafting.IPatternDetails> voidgetBoxes(appeng.api.parts.IPartCollisionHelper bch) net.minecraft.world.item.ItemStackintintappeng.api.parts.IPartModelappeng.api.networking.ticking.TickingRequestgetTickingRequest(appeng.api.networking.IGridNode node) booleanisBusy()booleanonUseWithoutItem(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 pos) booleanpushPattern(appeng.api.crafting.IPatternDetails patternDetails, appeng.api.stacks.KeyCounter[] inputHolder) voidreadFromNBT(net.minecraft.nbt.CompoundTag data, net.minecraft.core.HolderLookup.Provider registries) voidreturnToMainMenu(net.minecraft.world.entity.player.Player player, appeng.menu.ISubMenu subMenu) voidsetPriority(int newPriority) appeng.api.networking.ticking.TickRateModulationtickingRequest(appeng.api.networking.IGridNode node, int ticksSinceLastCall) voidwriteToNBT(net.minecraft.nbt.CompoundTag data, net.minecraft.core.HolderLookup.Provider registries) Methods inherited from class appeng.parts.AEBasePart
addEntityCrashInfo, addToWorld, createMainNode, debugExport, exportSettings, exportSettings, getActionableNode, getBlockEntity, getCableConnectionLength, getColor, getCustomName, getGridNode, getHost, getLevel, getMainNode, getName, getPartItem, getSide, getSubInventory, importSettings, isActive, isClientSide, isMissingChannel, isPowered, onMainNodeStateChanged, onPlacement, onUseItemOn, readFromStream, readVisualStateFromNBT, removeFromWorld, setPartHostInfo, setPartItem, shouldSendMissingChannelStateToClient, shouldSendPowerStateToClient, useStandardMemoryCard, writeToStream, writeVisualStateToNBTMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface appeng.api.networking.crafting.ICraftingProvider
getEmitableItemsMethods inherited from interface appeng.api.parts.IPart
addAdditionalDrops, addPartDrop, animateTick, canBePlacedOn, canConnectRedstone, clearContent, getDesiredConnectionType, getExternalCableConnectionType, getExternalFacingNode, getLightLevel, getModelData, isLadder, isProvidingStrongPower, isProvidingWeakPower, isSolid, onClicked, onEntityCollision, onNeighborChanged, onShiftClicked, onUpdateShape, renderDynamic, requireDynamicRenderMethods inherited from interface net.minecraft.world.Nameable
getDisplayName, hasCustomName
-
Constructor Details
-
DecompressionModulePart
public DecompressionModulePart(appeng.api.parts.IPartItem<?> partItem)
-
-
Method Details
-
writeToNBT
public void writeToNBT(net.minecraft.nbt.CompoundTag data, net.minecraft.core.HolderLookup.Provider registries) - Specified by:
writeToNBTin interfaceappeng.api.parts.IPart- Overrides:
writeToNBTin classappeng.parts.AEBasePart
-
readFromNBT
public void readFromNBT(net.minecraft.nbt.CompoundTag data, net.minecraft.core.HolderLookup.Provider registries) - Specified by:
readFromNBTin interfaceappeng.api.parts.IPart- Overrides:
readFromNBTin classappeng.parts.AEBasePart
-
getAvailablePatterns
- Specified by:
getAvailablePatternsin interfaceappeng.api.networking.crafting.ICraftingProvider
-
getPatternPriority
public int getPatternPriority()- Specified by:
getPatternPriorityin interfaceappeng.api.networking.crafting.ICraftingProvider
-
pushPattern
public boolean pushPattern(appeng.api.crafting.IPatternDetails patternDetails, appeng.api.stacks.KeyCounter[] inputHolder) - Specified by:
pushPatternin interfaceappeng.api.networking.crafting.ICraftingProvider
-
isBusy
public boolean isBusy()- Specified by:
isBusyin interfaceappeng.api.networking.crafting.ICraftingProvider
-
getBoxes
public void getBoxes(appeng.api.parts.IPartCollisionHelper bch) - Specified by:
getBoxesin interfaceappeng.api.parts.IPart
-
getStaticModels
public appeng.api.parts.IPartModel getStaticModels()- Specified by:
getStaticModelsin interfaceappeng.api.parts.IPart
-
getTickingRequest
public appeng.api.networking.ticking.TickingRequest getTickingRequest(appeng.api.networking.IGridNode node) - Specified by:
getTickingRequestin interfaceappeng.api.networking.ticking.IGridTickable
-
tickingRequest
public appeng.api.networking.ticking.TickRateModulation tickingRequest(appeng.api.networking.IGridNode node, int ticksSinceLastCall) - Specified by:
tickingRequestin interfaceappeng.api.networking.ticking.IGridTickable
-
onUseWithoutItem
public boolean onUseWithoutItem(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 pos) - Specified by:
onUseWithoutItemin interfaceappeng.api.parts.IPart
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceappeng.helpers.IPriorityHost
-
setPriority
public void setPriority(int newPriority) - Specified by:
setPriorityin interfaceappeng.helpers.IPriorityHost
-
getMainMenuIcon
public net.minecraft.world.item.ItemStack getMainMenuIcon()- Specified by:
getMainMenuIconin interfaceappeng.api.storage.ISubMenuHost
-