Package net.minecraftforge.common.util
Class WorldCapabilityData
java.lang.Object
net.minecraft.world.level.saveddata.SavedData
net.minecraftforge.common.util.WorldCapabilityData
-
Field Summary
Modifier and TypeFieldDescriptionprivate CompoundTag
static final String
private INBTSerializable<CompoundTag>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDirty()
static WorldCapabilityData
load
(CompoundTag tag, INBTSerializable<CompoundTag> serializable) void
read
(CompoundTag nbt) save
(CompoundTag nbt) void
setCapabilities
(INBTSerializable<CompoundTag> capabilities)
-
Field Details
-
ID
- See Also:
-
serializable
-
capNBT
-
-
Constructor Details
-
WorldCapabilityData
-
-
Method Details
-
load
public static WorldCapabilityData load(CompoundTag tag, @Nullable INBTSerializable<CompoundTag> serializable) -
read
-
save
-
isDirty
public boolean isDirty() -
setCapabilities
-