Package net.minecraft.world
Class FeatureUpdater
java.lang.Object
net.minecraft.world.FeatureUpdater
- Mappings:
Namespace Name official dusintermediary net/minecraft/class_3360named net/minecraft/world/FeatureUpdater
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,Long2ObjectMap<NbtCompound>> private final booleanprivate final Map<String,ChunkUpdateState> -
Constructor Summary
ConstructorsConstructorDescriptionFeatureUpdater(@Nullable PersistentStateManager persistentStateManager, List<String> oldNames, List<String> newNames) -
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureUpdatercreate(RegistryKey<World> world, @Nullable PersistentStateManager persistentStateManager) private NbtCompoundgetUpdatedStarts(NbtCompound nbt, ChunkPos pos) private voidinit(@Nullable PersistentStateManager persistentStateManager) voidmarkResolved(long chunkPos) private booleanneedsUpdate(int chunkX, int chunkZ) private booleanneedsUpdate(int chunkX, int chunkZ, String id)
-
Field Details
-
OLD_TO_NEW
- Mappings:
Namespace Name Mixin selector official aLdus;a:Ljava/util/Map;intermediary field_14435Lnet/minecraft/class_3360;field_14435:Ljava/util/Map;named OLD_TO_NEWLnet/minecraft/world/FeatureUpdater;OLD_TO_NEW:Ljava/util/Map;
-
ANCIENT_TO_OLD
- Mappings:
Namespace Name Mixin selector official bLdus;b:Ljava/util/Map;intermediary field_14436Lnet/minecraft/class_3360;field_14436:Ljava/util/Map;named ANCIENT_TO_OLDLnet/minecraft/world/FeatureUpdater;ANCIENT_TO_OLD:Ljava/util/Map;
-
NEW_STRUCTURE_NAMES
- Mappings:
Namespace Name Mixin selector official cLdus;c:Ljava/util/Set;intermediary field_37194Lnet/minecraft/class_3360;field_37194:Ljava/util/Set;named NEW_STRUCTURE_NAMESLnet/minecraft/world/FeatureUpdater;NEW_STRUCTURE_NAMES:Ljava/util/Set;
-
needsUpdate
private final boolean needsUpdate- Mappings:
Namespace Name Mixin selector official dLdus;d:Zintermediary field_14434Lnet/minecraft/class_3360;field_14434:Znamed needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate:Z
-
featureIdToChunkNbt
- Mappings:
Namespace Name Mixin selector official eLdus;e:Ljava/util/Map;intermediary field_14432Lnet/minecraft/class_3360;field_14432:Ljava/util/Map;named featureIdToChunkNbtLnet/minecraft/world/FeatureUpdater;featureIdToChunkNbt:Ljava/util/Map;
-
updateStates
- Mappings:
Namespace Name Mixin selector official fLdus;f:Ljava/util/Map;intermediary field_14433Lnet/minecraft/class_3360;field_14433:Ljava/util/Map;named updateStatesLnet/minecraft/world/FeatureUpdater;updateStates:Ljava/util/Map;
-
oldNames
- Mappings:
Namespace Name Mixin selector official gLdus;g:Ljava/util/List;intermediary field_17658Lnet/minecraft/class_3360;field_17658:Ljava/util/List;named oldNamesLnet/minecraft/world/FeatureUpdater;oldNames:Ljava/util/List;
-
newNames
- Mappings:
Namespace Name Mixin selector official hLdus;h:Ljava/util/List;intermediary field_17659Lnet/minecraft/class_3360;field_17659:Ljava/util/List;named newNamesLnet/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>Ldus;<init>(Lebr;Ljava/util/List;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_3360;<init>(Lnet/minecraft/class_26;Ljava/util/List;Ljava/util/List;)Vnamed <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 aLdus;a(J)Vintermediary method_14744Lnet/minecraft/class_3360;method_14744(J)Vnamed markResolvedLnet/minecraft/world/FeatureUpdater;markResolved(J)V
-
getUpdatedReferences
- Mappings:
Namespace Name Mixin selector official aLdus;a(Lqs;)Lqs;intermediary method_14735Lnet/minecraft/class_3360;method_14735(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named getUpdatedReferencesLnet/minecraft/world/FeatureUpdater;getUpdatedReferences(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
needsUpdate
- Mappings:
Namespace Name Mixin selector official aLdus;a(IILjava/lang/String;)Zintermediary method_14738Lnet/minecraft/class_3360;method_14738(IILjava/lang/String;)Znamed needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate(IILjava/lang/String;)Z
-
needsUpdate
private boolean needsUpdate(int chunkX, int chunkZ) - Mappings:
Namespace Name Mixin selector official aLdus;a(II)Zintermediary method_14737Lnet/minecraft/class_3360;method_14737(II)Znamed needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate(II)Z
-
getUpdatedStarts
- Mappings:
Namespace Name Mixin selector official aLdus;a(Lqs;Lcor;)Lqs;intermediary method_14741Lnet/minecraft/class_3360;method_14741(Lnet/minecraft/class_2487;Lnet/minecraft/class_1923;)Lnet/minecraft/class_2487;named getUpdatedStartsLnet/minecraft/world/FeatureUpdater;getUpdatedStarts(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/nbt/NbtCompound;
-
init
- Mappings:
Namespace Name Mixin selector official aLdus;a(Lebr;)Vintermediary method_14734Lnet/minecraft/class_3360;method_14734(Lnet/minecraft/class_26;)Vnamed initLnet/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 aLdus;a(Laeo;Lebr;)Ldus;intermediary method_14745Lnet/minecraft/class_3360;method_14745(Lnet/minecraft/class_5321;Lnet/minecraft/class_26;)Lnet/minecraft/class_3360;named createLnet/minecraft/world/FeatureUpdater;create(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/PersistentStateManager;)Lnet/minecraft/world/FeatureUpdater;
-