Class UpgradeCache
java.lang.Object
me.desht.pneumaticcraft.common.util.upgrade.UpgradeCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.DirectionintgetUpgrades(PNCUpgrade type) voidMark the upgrade cache as invalid.net.minecraft.nbt.CompoundTagtoNBT()void
-
Constructor Details
-
UpgradeCache
-
-
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
-
getEjectDirection
public net.minecraft.core.Direction getEjectDirection() -
validateCache
public void validateCache() -
toNBT
public net.minecraft.nbt.CompoundTag toNBT()
-