Package net.minecraft.world
Class PersistentState
java.lang.Object
net.minecraft.world.PersistentState
- Direct Known Subclasses:
ChunkUpdateState
,DataCommandStorage.PersistentState
,ForcedChunkState
,IdCountsState
,MapState
,RaidManager
,RandomSequencesState
,ScoreboardState
- Mappings:
Namespace Name named net/minecraft/world/PersistentState
intermediary net/minecraft/class_18
official epq
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
PersistentState.Type<T extends PersistentState>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isDirty()
void
void
save
(File file, RegistryWrapper.WrapperLookup registryLookup) void
setDirty
(boolean dirty) abstract NbtCompound
writeNbt
(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/world/PersistentState;LOGGER:Lorg/slf4j/Logger;
intermediary field_17661
Lnet/minecraft/class_18;field_17661:Lorg/slf4j/Logger;
official a
Lepq;a:Lorg/slf4j/Logger;
-
dirty
private boolean dirty- Mappings:
Namespace Name Mixin selector named dirty
Lnet/minecraft/world/PersistentState;dirty:Z
intermediary field_72
Lnet/minecraft/class_18;field_72:Z
official b
Lepq;b:Z
-
-
Constructor Details
-
PersistentState
public PersistentState()
-
-
Method Details
-
writeNbt
- Mappings:
Namespace Name Mixin selector named writeNbt
Lnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_75
Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
official a
Lepq;a(Ltx;Ljl$a;)Ltx;
-
markDirty
public void markDirty()- Mappings:
Namespace Name Mixin selector named markDirty
Lnet/minecraft/world/PersistentState;markDirty()V
intermediary method_80
Lnet/minecraft/class_18;method_80()V
official c
Lepq;c()V
-
setDirty
public void setDirty(boolean dirty) - Mappings:
Namespace Name Mixin selector named setDirty
Lnet/minecraft/world/PersistentState;setDirty(Z)V
intermediary method_78
Lnet/minecraft/class_18;method_78(Z)V
official a
Lepq;a(Z)V
-
isDirty
public boolean isDirty()- Mappings:
Namespace Name Mixin selector named isDirty
Lnet/minecraft/world/PersistentState;isDirty()Z
intermediary method_79
Lnet/minecraft/class_18;method_79()Z
official d
Lepq;d()Z
-
save
- Mappings:
Namespace Name Mixin selector named save
Lnet/minecraft/world/PersistentState;save(Ljava/io/File;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary method_17919
Lnet/minecraft/class_18;method_17919(Ljava/io/File;Lnet/minecraft/class_7225$class_7874;)V
official a
Lepq;a(Ljava/io/File;Ljl$a;)V
-