Package net.minecraftforge.common.util
Class LevelCapabilityData
java.lang.Object
net.minecraft.world.level.saveddata.SavedData
net.minecraftforge.common.util.LevelCapabilityData
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.saveddata.SavedData
SavedData.Factory<T extends SavedData>
-
Field Summary
Modifier and TypeFieldDescriptionprivate CompoundTag
static final String
private INBTSerializable
<CompoundTag> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LevelCapabilityData
compute
(DimensionDataStorage data, @Nullable INBTSerializable<CompoundTag> caps) boolean
isDirty()
save
(CompoundTag nbt, HolderLookup.Provider provider)
-
Field Details
-
ID
- See Also:
-
serializable
-
capNBT
-
-
Constructor Details
-
LevelCapabilityData
-
-
Method Details
-
save
-
isDirty
public boolean isDirty() -
compute
public static LevelCapabilityData compute(DimensionDataStorage data, @Nullable @Nullable INBTSerializable<CompoundTag> caps)
-