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
    Constructor
    Description
    DecompressionModulePart(appeng.api.parts.IPartItem<?> partItem)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<appeng.api.crafting.IPatternDetails>
     
    void
    getBoxes(appeng.api.parts.IPartCollisionHelper bch)
     
    net.minecraft.world.item.ItemStack
     
    int
     
    int
     
    appeng.api.parts.IPartModel
     
    appeng.api.networking.ticking.TickingRequest
    getTickingRequest(appeng.api.networking.IGridNode node)
     
    boolean
     
    boolean
    onUseWithoutItem(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 pos)
     
    boolean
    pushPattern(appeng.api.crafting.IPatternDetails patternDetails, appeng.api.stacks.KeyCounter[] inputHolder)
     
    void
    readFromNBT(net.minecraft.nbt.CompoundTag data, net.minecraft.core.HolderLookup.Provider registries)
     
    void
    returnToMainMenu(net.minecraft.world.entity.player.Player player, appeng.menu.ISubMenu subMenu)
     
    void
    setPriority(int newPriority)
     
    appeng.api.networking.ticking.TickRateModulation
    tickingRequest(appeng.api.networking.IGridNode node, int ticksSinceLastCall)
     
    void
    writeToNBT(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, writeVisualStateToNBT

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface appeng.api.networking.crafting.ICraftingProvider

    getEmitableItems

    Methods 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, requireDynamicRender

    Methods 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:
      writeToNBT in interface appeng.api.parts.IPart
      Overrides:
      writeToNBT in class appeng.parts.AEBasePart
    • readFromNBT

      public void readFromNBT(net.minecraft.nbt.CompoundTag data, net.minecraft.core.HolderLookup.Provider registries)
      Specified by:
      readFromNBT in interface appeng.api.parts.IPart
      Overrides:
      readFromNBT in class appeng.parts.AEBasePart
    • getAvailablePatterns

      public List<appeng.api.crafting.IPatternDetails> getAvailablePatterns()
      Specified by:
      getAvailablePatterns in interface appeng.api.networking.crafting.ICraftingProvider
    • getPatternPriority

      public int getPatternPriority()
      Specified by:
      getPatternPriority in interface appeng.api.networking.crafting.ICraftingProvider
    • pushPattern

      public boolean pushPattern(appeng.api.crafting.IPatternDetails patternDetails, appeng.api.stacks.KeyCounter[] inputHolder)
      Specified by:
      pushPattern in interface appeng.api.networking.crafting.ICraftingProvider
    • isBusy

      public boolean isBusy()
      Specified by:
      isBusy in interface appeng.api.networking.crafting.ICraftingProvider
    • getBoxes

      public void getBoxes(appeng.api.parts.IPartCollisionHelper bch)
      Specified by:
      getBoxes in interface appeng.api.parts.IPart
    • getStaticModels

      public appeng.api.parts.IPartModel getStaticModels()
      Specified by:
      getStaticModels in interface appeng.api.parts.IPart
    • getTickingRequest

      public appeng.api.networking.ticking.TickingRequest getTickingRequest(appeng.api.networking.IGridNode node)
      Specified by:
      getTickingRequest in interface appeng.api.networking.ticking.IGridTickable
    • tickingRequest

      public appeng.api.networking.ticking.TickRateModulation tickingRequest(appeng.api.networking.IGridNode node, int ticksSinceLastCall)
      Specified by:
      tickingRequest in interface appeng.api.networking.ticking.IGridTickable
    • onUseWithoutItem

      public boolean onUseWithoutItem(net.minecraft.world.entity.player.Player player, net.minecraft.world.phys.Vec3 pos)
      Specified by:
      onUseWithoutItem in interface appeng.api.parts.IPart
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface appeng.helpers.IPriorityHost
    • setPriority

      public void setPriority(int newPriority)
      Specified by:
      setPriority in interface appeng.helpers.IPriorityHost
    • returnToMainMenu

      public void returnToMainMenu(net.minecraft.world.entity.player.Player player, appeng.menu.ISubMenu subMenu)
      Specified by:
      returnToMainMenu in interface appeng.api.storage.ISubMenuHost
    • getMainMenuIcon

      public net.minecraft.world.item.ItemStack getMainMenuIcon()
      Specified by:
      getMainMenuIcon in interface appeng.api.storage.ISubMenuHost