Class PersistentState

java.lang.Object
net.minecraft.world.PersistentState
Direct Known Subclasses:
ChunkUpdateState, DataCommandStorage.PersistentState, ForcedChunkState, IdCountsState, MapState, RaidManager, ScoreboardState

public abstract class PersistentState extends Object
Mappings:
Namespace Name
official drb
intermediary net/minecraft/class_18
named net/minecraft/world/PersistentState
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldrb;a:Lorg/slf4j/Logger;
      intermediary field_17661 Lnet/minecraft/class_18;field_17661:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/world/PersistentState;LOGGER:Lorg/slf4j/Logger;
    • dirty

      private boolean dirty
      Mappings:
      Namespace Name Mixin selector
      official b Ldrb;b:Z
      intermediary field_72 Lnet/minecraft/class_18;field_72:Z
      named dirty Lnet/minecraft/world/PersistentState;dirty:Z
  • Constructor Details

    • PersistentState

      public PersistentState()
  • Method Details

    • writeNbt

      public abstract NbtCompound writeNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrb;a(Lpj;)Lpj;
      intermediary method_75 Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named writeNbt Lnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • markDirty

      public void markDirty()
      Mappings:
      Namespace Name Mixin selector
      official b Ldrb;b()V
      intermediary method_80 Lnet/minecraft/class_18;method_80()V
      named markDirty Lnet/minecraft/world/PersistentState;markDirty()V
    • setDirty

      public void setDirty(boolean dirty)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrb;a(Z)V
      intermediary method_78 Lnet/minecraft/class_18;method_78(Z)V
      named setDirty Lnet/minecraft/world/PersistentState;setDirty(Z)V
    • isDirty

      public boolean isDirty()
      Mappings:
      Namespace Name Mixin selector
      official c Ldrb;c()Z
      intermediary method_79 Lnet/minecraft/class_18;method_79()Z
      named isDirty Lnet/minecraft/world/PersistentState;isDirty()Z
    • save

      public void save(File file)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrb;a(Ljava/io/File;)V
      intermediary method_17919 Lnet/minecraft/class_18;method_17919(Ljava/io/File;)V
      named save Lnet/minecraft/world/PersistentState;save(Ljava/io/File;)V