Class UnlockableProvider

java.lang.Object
com.idark.valoria.core.capability.UnlockableProvider
All Implemented Interfaces:
IUnlockable, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class UnlockableProvider extends Object implements IUnlockable, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
  • Constructor Details

    • UnlockableProvider

      public UnlockableProvider()
  • Method Details

    • isUnlockable

      public boolean isUnlockable(Unlockable unlockable)
      Specified by:
      isUnlockable in interface IUnlockable
    • addUnlockable

      public void addUnlockable(Unlockable unlockable)
      Specified by:
      addUnlockable in interface IUnlockable
    • removeUnlockable

      public void removeUnlockable(Unlockable unlockable)
      Specified by:
      removeUnlockable in interface IUnlockable
    • addAllUnlockable

      public void addAllUnlockable()
      Specified by:
      addAllUnlockable in interface IUnlockable
    • removeAllUnlockable

      public void removeAllUnlockable()
      Specified by:
      removeAllUnlockable in interface IUnlockable
    • getUnlockables

      public Set<Unlockable> getUnlockables()
      Specified by:
      getUnlockables in interface IUnlockable
    • serializeNBT

      public net.minecraft.nbt.CompoundTag serializeNBT()
      Specified by:
      serializeNBT in interface net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
    • deserializeNBT

      public void deserializeNBT(net.minecraft.nbt.CompoundTag nbt)
      Specified by:
      deserializeNBT in interface net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>