Class UpgradeCache

java.lang.Object
me.desht.pneumaticcraft.common.upgrades.UpgradeCache

public class UpgradeCache extends Object
  • Constructor Details

  • Method Details

    • invalidateCache

      public void invalidateCache()
      Mark the upgrade cache as invalid. The next query for an upgrade will force a cache rebuild from the upgrade inventory.
    • getUpgrades

      public int getUpgrades(PNCUpgrade type)
    • getEjectDirection

      public net.minecraft.core.Direction getEjectDirection()
    • validateCache

      public void validateCache()
    • toNBT

      public net.minecraft.nbt.CompoundTag toNBT()