Package net.minecraft.world
Class FeatureUpdater
java.lang.Object
net.minecraft.world.FeatureUpdater
- All Implemented Interfaces:
class_12242
- Mappings:
Namespace Name named net/minecraft/world/FeatureUpdaterintermediary net/minecraft/class_3360official fde
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String, Long2ObjectMap<NbtCompound>> static final intprivate final com.mojang.datafixers.DataFixerprivate final booleanprivate final Map<String, ChunkUpdateState> Fields inherited from interface net.minecraft.class_12242
field_63959 -
Constructor Summary
ConstructorsConstructorDescriptionFeatureUpdater(@Nullable PersistentStateManager persistentStateManager, List<String> oldNames, List<String> newNames, com.mojang.datafixers.DataFixer dataFixer) -
Method Summary
Modifier and TypeMethodDescriptionapplyFix(NbtCompound nbtCompound) static FeatureUpdatercreate(RegistryKey<World> world, @Nullable PersistentStateManager persistentStateManager, com.mojang.datafixers.DataFixer dataFixer) private NbtCompoundprivate NbtCompoundgetUpdatedStarts(NbtCompound nbt, ChunkPos pos) private voidinit(@Nullable PersistentStateManager persistentStateManager) voidmarkChunkDone(ChunkPos chunkPos) private booleanneedsUpdate(int chunkX, int chunkZ) private booleanneedsUpdate(int chunkX, int chunkZ, String id) int
-
Field Details
-
field_63962
public static final int field_63962- See Also:
- Mappings:
Namespace Name Mixin selector named field_63962Lnet/minecraft/world/FeatureUpdater;field_63962:Iintermediary field_63962Lnet/minecraft/class_3360;field_63962:Iofficial bLfde;b:I
-
OLD_TO_NEW
- Mappings:
Namespace Name Mixin selector named OLD_TO_NEWLnet/minecraft/world/FeatureUpdater;OLD_TO_NEW:Ljava/util/Map;intermediary field_14435Lnet/minecraft/class_3360;field_14435:Ljava/util/Map;official cLfde;c:Ljava/util/Map;
-
ANCIENT_TO_OLD
- Mappings:
Namespace Name Mixin selector named ANCIENT_TO_OLDLnet/minecraft/world/FeatureUpdater;ANCIENT_TO_OLD:Ljava/util/Map;intermediary field_14436Lnet/minecraft/class_3360;field_14436:Ljava/util/Map;official dLfde;d:Ljava/util/Map;
-
NEW_STRUCTURE_NAMES
- Mappings:
Namespace Name Mixin selector named NEW_STRUCTURE_NAMESLnet/minecraft/world/FeatureUpdater;NEW_STRUCTURE_NAMES:Ljava/util/Set;intermediary field_37194Lnet/minecraft/class_3360;field_37194:Ljava/util/Set;official eLfde;e:Ljava/util/Set;
-
needsUpdate
private final boolean needsUpdate- Mappings:
Namespace Name Mixin selector named needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate:Zintermediary field_14434Lnet/minecraft/class_3360;field_14434:Zofficial fLfde;f:Z
-
featureIdToChunkNbt
- Mappings:
Namespace Name Mixin selector named featureIdToChunkNbtLnet/minecraft/world/FeatureUpdater;featureIdToChunkNbt:Ljava/util/Map;intermediary field_14432Lnet/minecraft/class_3360;field_14432:Ljava/util/Map;official gLfde;g:Ljava/util/Map;
-
updateStates
- Mappings:
Namespace Name Mixin selector named updateStatesLnet/minecraft/world/FeatureUpdater;updateStates:Ljava/util/Map;intermediary field_14433Lnet/minecraft/class_3360;field_14433:Ljava/util/Map;official hLfde;h:Ljava/util/Map;
-
oldNames
- Mappings:
Namespace Name Mixin selector named oldNamesLnet/minecraft/world/FeatureUpdater;oldNames:Ljava/util/List;intermediary field_17658Lnet/minecraft/class_3360;field_17658:Ljava/util/List;official iLfde;i:Ljava/util/List;
-
newNames
- Mappings:
Namespace Name Mixin selector named newNamesLnet/minecraft/world/FeatureUpdater;newNames:Ljava/util/List;intermediary field_17659Lnet/minecraft/class_3360;field_17659:Ljava/util/List;official jLfde;j:Ljava/util/List;
-
field_63963
private final com.mojang.datafixers.DataFixer field_63963- Mappings:
Namespace Name Mixin selector named field_63963Lnet/minecraft/world/FeatureUpdater;field_63963:Lcom/mojang/datafixers/DataFixer;intermediary field_63963Lnet/minecraft/class_3360;field_63963:Lcom/mojang/datafixers/DataFixer;official kLfde;k:Lcom/mojang/datafixers/DataFixer;
-
-
Constructor Details
-
FeatureUpdater
public FeatureUpdater(@Nullable @Nullable PersistentStateManager persistentStateManager, List<String> oldNames, List<String> newNames, com.mojang.datafixers.DataFixer dataFixer) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/FeatureUpdater;<init>(Lnet/minecraft/world/PersistentStateManager;Ljava/util/List;Ljava/util/List;Lcom/mojang/datafixers/DataFixer;)Vintermediary <init>Lnet/minecraft/class_3360;<init>(Lnet/minecraft/class_26;Ljava/util/List;Ljava/util/List;Lcom/mojang/datafixers/DataFixer;)Vofficial <init>Lfde;<init>(Lfkx;Ljava/util/List;Ljava/util/List;Lcom/mojang/datafixers/DataFixer;)V
-
-
Method Details
-
markChunkDone
- Specified by:
markChunkDonein interfaceclass_12242
-
targetDataVersion
public int targetDataVersion()- Specified by:
targetDataVersionin interfaceclass_12242
-
applyFix
- Specified by:
applyFixin interfaceclass_12242
-
getUpdatedReferences
- Mappings:
Namespace Name Mixin selector named getUpdatedReferencesLnet/minecraft/world/FeatureUpdater;getUpdatedReferences(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;intermediary method_14735Lnet/minecraft/class_3360;method_14735(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;official aLfde;a(Lve;)Lve;
-
needsUpdate
- Mappings:
Namespace Name Mixin selector named needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate(IILjava/lang/String;)Zintermediary method_14738Lnet/minecraft/class_3360;method_14738(IILjava/lang/String;)Zofficial aLfde;a(IILjava/lang/String;)Z
-
needsUpdate
private boolean needsUpdate(int chunkX, int chunkZ) - Mappings:
Namespace Name Mixin selector named needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate(II)Zintermediary method_14737Lnet/minecraft/class_3360;method_14737(II)Zofficial aLfde;a(II)Z
-
getUpdatedStarts
- Mappings:
Namespace Name Mixin selector named getUpdatedStartsLnet/minecraft/world/FeatureUpdater;getUpdatedStarts(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/nbt/NbtCompound;intermediary method_14741Lnet/minecraft/class_3360;method_14741(Lnet/minecraft/class_2487;Lnet/minecraft/class_1923;)Lnet/minecraft/class_2487;official aLfde;a(Lve;Ldtu;)Lve;
-
init
- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/world/FeatureUpdater;init(Lnet/minecraft/world/PersistentStateManager;)Vintermediary method_14734Lnet/minecraft/class_3360;method_14734(Lnet/minecraft/class_26;)Vofficial aLfde;a(Lfkx;)V
-
create
public static FeatureUpdater create(RegistryKey<World> world, @Nullable @Nullable PersistentStateManager persistentStateManager, com.mojang.datafixers.DataFixer dataFixer) - Mappings:
Namespace Name Mixin selector named createLnet/minecraft/world/FeatureUpdater;create(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/PersistentStateManager;Lcom/mojang/datafixers/DataFixer;)Lnet/minecraft/world/FeatureUpdater;intermediary method_14745Lnet/minecraft/class_3360;method_14745(Lnet/minecraft/class_5321;Lnet/minecraft/class_26;Lcom/mojang/datafixers/DataFixer;)Lnet/minecraft/class_3360;official aLfde;a(Lamx;Lfkx;Lcom/mojang/datafixers/DataFixer;)Lfde;
-