Class FeatureUpdater

java.lang.Object
net.minecraft.world.FeatureUpdater

public class FeatureUpdater extends Object
Mappings:
Namespace Name
official drv
intermediary net/minecraft/class_3360
named net/minecraft/world/FeatureUpdater
  • Field Details

    • OLD_TO_NEW

      private static final Map<String,String> OLD_TO_NEW
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a:Ljava/util/Map;
      intermediary field_14435 Lnet/minecraft/class_3360;field_14435:Ljava/util/Map;
      named OLD_TO_NEW Lnet/minecraft/world/FeatureUpdater;OLD_TO_NEW:Ljava/util/Map;
    • ANCIENT_TO_OLD

      private static final Map<String,String> ANCIENT_TO_OLD
      Mappings:
      Namespace Name Mixin selector
      official b Ldrv;b:Ljava/util/Map;
      intermediary field_14436 Lnet/minecraft/class_3360;field_14436:Ljava/util/Map;
      named ANCIENT_TO_OLD Lnet/minecraft/world/FeatureUpdater;ANCIENT_TO_OLD:Ljava/util/Map;
    • NEW_STRUCTURE_NAMES

      private static final Set<String> NEW_STRUCTURE_NAMES
      Mappings:
      Namespace Name Mixin selector
      official c Ldrv;c:Ljava/util/Set;
      intermediary field_37194 Lnet/minecraft/class_3360;field_37194:Ljava/util/Set;
      named NEW_STRUCTURE_NAMES Lnet/minecraft/world/FeatureUpdater;NEW_STRUCTURE_NAMES:Ljava/util/Set;
    • needsUpdate

      private final boolean needsUpdate
      Mappings:
      Namespace Name Mixin selector
      official d Ldrv;d:Z
      intermediary field_14434 Lnet/minecraft/class_3360;field_14434:Z
      named needsUpdate Lnet/minecraft/world/FeatureUpdater;needsUpdate:Z
    • featureIdToChunkNbt

      private final Map<String,Long2ObjectMap<NbtCompound>> featureIdToChunkNbt
      Mappings:
      Namespace Name Mixin selector
      official e Ldrv;e:Ljava/util/Map;
      intermediary field_14432 Lnet/minecraft/class_3360;field_14432:Ljava/util/Map;
      named featureIdToChunkNbt Lnet/minecraft/world/FeatureUpdater;featureIdToChunkNbt:Ljava/util/Map;
    • updateStates

      private final Map<String,ChunkUpdateState> updateStates
      Mappings:
      Namespace Name Mixin selector
      official f Ldrv;f:Ljava/util/Map;
      intermediary field_14433 Lnet/minecraft/class_3360;field_14433:Ljava/util/Map;
      named updateStates Lnet/minecraft/world/FeatureUpdater;updateStates:Ljava/util/Map;
    • oldNames

      private final List<String> oldNames
      Mappings:
      Namespace Name Mixin selector
      official g Ldrv;g:Ljava/util/List;
      intermediary field_17658 Lnet/minecraft/class_3360;field_17658:Ljava/util/List;
      named oldNames Lnet/minecraft/world/FeatureUpdater;oldNames:Ljava/util/List;
    • newNames

      private final List<String> newNames
      Mappings:
      Namespace Name Mixin selector
      official h Ldrv;h:Ljava/util/List;
      intermediary field_17659 Lnet/minecraft/class_3360;field_17659:Ljava/util/List;
      named newNames Lnet/minecraft/world/FeatureUpdater;newNames:Ljava/util/List;
  • Constructor Details

    • FeatureUpdater

      public FeatureUpdater(@Nullable @Nullable PersistentStateManager persistentStateManager, List<String> oldNames, List<String> newNames)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldrv;<init>(Ldyu;Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_3360;<init>(Lnet/minecraft/class_26;Ljava/util/List;Ljava/util/List;)V
      named <init> Lnet/minecraft/world/FeatureUpdater;<init>(Lnet/minecraft/world/PersistentStateManager;Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • markResolved

      public void markResolved(long chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(J)V
      intermediary method_14744 Lnet/minecraft/class_3360;method_14744(J)V
      named markResolved Lnet/minecraft/world/FeatureUpdater;markResolved(J)V
    • getUpdatedReferences

      public NbtCompound getUpdatedReferences(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(Lqr;)Lqr;
      intermediary method_14735 Lnet/minecraft/class_3360;method_14735(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named getUpdatedReferences Lnet/minecraft/world/FeatureUpdater;getUpdatedReferences(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • needsUpdate

      private boolean needsUpdate(int chunkX, int chunkZ, String id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(IILjava/lang/String;)Z
      intermediary method_14738 Lnet/minecraft/class_3360;method_14738(IILjava/lang/String;)Z
      named needsUpdate Lnet/minecraft/world/FeatureUpdater;needsUpdate(IILjava/lang/String;)Z
    • needsUpdate

      private boolean needsUpdate(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(II)Z
      intermediary method_14737 Lnet/minecraft/class_3360;method_14737(II)Z
      named needsUpdate Lnet/minecraft/world/FeatureUpdater;needsUpdate(II)Z
    • getUpdatedStarts

      private NbtCompound getUpdatedStarts(NbtCompound nbt, ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(Lqr;Lclt;)Lqr;
      intermediary method_14741 Lnet/minecraft/class_3360;method_14741(Lnet/minecraft/class_2487;Lnet/minecraft/class_1923;)Lnet/minecraft/class_2487;
      named getUpdatedStarts Lnet/minecraft/world/FeatureUpdater;getUpdatedStarts(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/nbt/NbtCompound;
    • init

      private void init(@Nullable @Nullable PersistentStateManager persistentStateManager)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(Ldyu;)V
      intermediary method_14734 Lnet/minecraft/class_3360;method_14734(Lnet/minecraft/class_26;)V
      named init Lnet/minecraft/world/FeatureUpdater;init(Lnet/minecraft/world/PersistentStateManager;)V
    • create

      public static FeatureUpdater create(RegistryKey<World> world, @Nullable @Nullable PersistentStateManager persistentStateManager)
      Mappings:
      Namespace Name Mixin selector
      official a Ldrv;a(Lacp;Ldyu;)Ldrv;
      intermediary method_14745 Lnet/minecraft/class_3360;method_14745(Lnet/minecraft/class_5321;Lnet/minecraft/class_26;)Lnet/minecraft/class_3360;
      named create Lnet/minecraft/world/FeatureUpdater;create(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/PersistentStateManager;)Lnet/minecraft/world/FeatureUpdater;