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>
-
Field Summary
Fields inherited from interface com.idark.valoria.core.capability.IUnlockable
INSTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addUnlockable
(Unlockable unlockable) void
deserializeNBT
(net.minecraft.nbt.CompoundTag nbt) boolean
isUnlockable
(Unlockable unlockable) void
void
removeUnlockable
(Unlockable unlockable) net.minecraft.nbt.CompoundTag
-
Constructor Details
-
UnlockableProvider
public UnlockableProvider()
-
-
Method Details
-
isUnlockable
- Specified by:
isUnlockable
in interfaceIUnlockable
-
addUnlockable
- Specified by:
addUnlockable
in interfaceIUnlockable
-
removeUnlockable
- Specified by:
removeUnlockable
in interfaceIUnlockable
-
addAllUnlockable
public void addAllUnlockable()- Specified by:
addAllUnlockable
in interfaceIUnlockable
-
removeAllUnlockable
public void removeAllUnlockable()- Specified by:
removeAllUnlockable
in interfaceIUnlockable
-
getUnlockables
- Specified by:
getUnlockables
in interfaceIUnlockable
-
serializeNBT
public net.minecraft.nbt.CompoundTag serializeNBT()- Specified by:
serializeNBT
in interfacenet.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
-
deserializeNBT
public void deserializeNBT(net.minecraft.nbt.CompoundTag nbt) - Specified by:
deserializeNBT
in interfacenet.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
-