Package net.minecraft.world
Class FeatureUpdater
java.lang.Object
net.minecraft.world.FeatureUpdater
public class FeatureUpdater extends Object
- Mappings:
Namespace Name official cwtintermediary net/minecraft/class_3360named net/minecraft/world/FeatureUpdater
-
Field Summary
Fields Modifier and Type Field Description private static Map<String,String>ANCIENT_TO_OLDprivate Map<String,Long2ObjectMap<CompoundTag>>featureIdToChunkTagprivate List<String>field_17658private List<String>field_17659private booleanneedsUpdateprivate static Map<String,String>OLD_TO_NEWprivate Map<String,ChunkUpdateState>updateStates -
Constructor Summary
Constructors Constructor Description FeatureUpdater(PersistentStateManager persistentStateManager, List<String> list, List<String> list2) -
Method Summary
Modifier and Type Method Description static FeatureUpdatercreate(RegistryKey<World> registryKey, PersistentStateManager persistentStateManager)CompoundTaggetUpdatedReferences(CompoundTag compoundTag)private CompoundTaggetUpdatedStarts(CompoundTag tag, ChunkPos pos)private voidinit(PersistentStateManager persistentStateManager)voidmarkResolved(long long2)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 aLcwt;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 bLcwt;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;
-
needsUpdate
private final boolean needsUpdate- Mappings:
Namespace Name Mixin selector official cLcwt;c:Zintermediary field_14434Lnet/minecraft/class_3360;field_14434:Znamed needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate:Z
-
featureIdToChunkTag
- Mappings:
Namespace Name Mixin selector official dLcwt;d:Ljava/util/Map;intermediary field_14432Lnet/minecraft/class_3360;field_14432:Ljava/util/Map;named featureIdToChunkTagLnet/minecraft/world/FeatureUpdater;featureIdToChunkTag:Ljava/util/Map;
-
updateStates
- Mappings:
Namespace Name Mixin selector official eLcwt;e:Ljava/util/Map;intermediary field_14433Lnet/minecraft/class_3360;field_14433:Ljava/util/Map;named updateStatesLnet/minecraft/world/FeatureUpdater;updateStates:Ljava/util/Map;
-
field_17658
- Mappings:
Namespace Name Mixin selector official fLcwt;f:Ljava/util/List;intermediary field_17658Lnet/minecraft/class_3360;field_17658:Ljava/util/List;named field_17658Lnet/minecraft/world/FeatureUpdater;field_17658:Ljava/util/List;
-
field_17659
- Mappings:
Namespace Name Mixin selector official gLcwt;g:Ljava/util/List;intermediary field_17659Lnet/minecraft/class_3360;field_17659:Ljava/util/List;named field_17659Lnet/minecraft/world/FeatureUpdater;field_17659:Ljava/util/List;
-
-
Constructor Details
-
FeatureUpdater
-
-
Method Details
-
markResolved
public void markResolved(long long2)- Mappings:
Namespace Name Mixin selector official aLcwt;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 aLcwt;a(Lmq;)Lmq;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/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
needsUpdate
- Mappings:
Namespace Name Mixin selector official aLcwt;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 aLcwt;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 aLcwt;a(Lmq;Lbta;)Lmq;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/CompoundTag;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/nbt/CompoundTag;
-
init
- Mappings:
Namespace Name Mixin selector official aLcwt;a(Lddq;)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> registryKey, @Nullable PersistentStateManager persistentStateManager)- Mappings:
Namespace Name Mixin selector official aLcwt;a(Lwa;Lddq;)Lcwt;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/util/registry/RegistryKey;Lnet/minecraft/world/PersistentStateManager;)Lnet/minecraft/world/FeatureUpdater;
-