Class BenchState

java.lang.Object
com.hypixel.hytale.server.core.universe.world.meta.BlockState
com.hypixel.hytale.builtin.crafting.state.BenchState
All Implemented Interfaces:
Component<ChunkStore>, DestroyableBlockState, Cloneable
Direct Known Subclasses:
ProcessingBenchState

public class BenchState extends BlockState implements DestroyableBlockState
  • Field Details

  • Constructor Details

    • BenchState

      public BenchState()
  • Method Details

    • getTierLevel

      public int getTierLevel()
    • initialize

      public boolean initialize(@Nonnull com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType)
      Overrides:
      initialize in class BlockState
    • addUpgradeItems

      public void addUpgradeItems(List<ItemStack> consumed)
    • dropUpgradeItems

      private void dropUpgradeItems()
    • getBench

      public Bench getBench()
    • setTierLevel

      public void setTierLevel(int newTierLevel)
    • getNextLevelUpgradeMaterials

      public BenchUpgradeRequirement getNextLevelUpgradeMaterials()
    • onTierLevelChange

      protected void onTierLevelChange()
    • getBaseBlockType

      public com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType getBaseBlockType()
    • getTierStateName

      public String getTierStateName()
    • onDestroy

      public void onDestroy()
      Specified by:
      onDestroy in interface DestroyableBlockState