Package net.minecraft.world
Class FeatureUpdater
java.lang.Object
net.minecraft.world.FeatureUpdater
public class FeatureUpdater extends Object
- Mappings:
Namespace Name official cwt
intermediary net/minecraft/class_3360
named net/minecraft/world/FeatureUpdater
-
Field Summary
Fields Modifier and Type Field Description private static Map<String,String>
ANCIENT_TO_OLD
private Map<String,Long2ObjectMap<CompoundTag>>
featureIdToChunkTag
private List<String>
field_17658
private List<String>
field_17659
private boolean
needsUpdate
private static Map<String,String>
OLD_TO_NEW
private 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 FeatureUpdater
create(RegistryKey<World> registryKey, PersistentStateManager persistentStateManager)
CompoundTag
getUpdatedReferences(CompoundTag compoundTag)
private CompoundTag
getUpdatedStarts(CompoundTag tag, ChunkPos pos)
private void
init(PersistentStateManager persistentStateManager)
void
markResolved(long long2)
private boolean
needsUpdate(int chunkX, int chunkZ)
private boolean
needsUpdate(int chunkX, int chunkZ, String id)
-
Field Details
-
OLD_TO_NEW
- Mappings:
Namespace Name Mixin selector official a
Lcwt;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
- Mappings:
Namespace Name Mixin selector official b
Lcwt;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;
-
needsUpdate
private final boolean needsUpdate- Mappings:
Namespace Name Mixin selector official c
Lcwt;c:Z
intermediary field_14434
Lnet/minecraft/class_3360;field_14434:Z
named needsUpdate
Lnet/minecraft/world/FeatureUpdater;needsUpdate:Z
-
featureIdToChunkTag
- Mappings:
Namespace Name Mixin selector official d
Lcwt;d:Ljava/util/Map;
intermediary field_14432
Lnet/minecraft/class_3360;field_14432:Ljava/util/Map;
named featureIdToChunkTag
Lnet/minecraft/world/FeatureUpdater;featureIdToChunkTag:Ljava/util/Map;
-
updateStates
- Mappings:
Namespace Name Mixin selector official e
Lcwt;e: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;
-
field_17658
- Mappings:
Namespace Name Mixin selector official f
Lcwt;f:Ljava/util/List;
intermediary field_17658
Lnet/minecraft/class_3360;field_17658:Ljava/util/List;
named field_17658
Lnet/minecraft/world/FeatureUpdater;field_17658:Ljava/util/List;
-
field_17659
- Mappings:
Namespace Name Mixin selector official g
Lcwt;g:Ljava/util/List;
intermediary field_17659
Lnet/minecraft/class_3360;field_17659:Ljava/util/List;
named field_17659
Lnet/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 a
Lcwt;a(J)V
intermediary method_14744
Lnet/minecraft/class_3360;method_14744(J)V
named markResolved
Lnet/minecraft/world/FeatureUpdater;markResolved(J)V
-
getUpdatedReferences
- Mappings:
Namespace Name Mixin selector official a
Lcwt;a(Lmq;)Lmq;
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/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
needsUpdate
- Mappings:
Namespace Name Mixin selector official a
Lcwt;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
Lcwt;a(II)Z
intermediary method_14737
Lnet/minecraft/class_3360;method_14737(II)Z
named needsUpdate
Lnet/minecraft/world/FeatureUpdater;needsUpdate(II)Z
-
getUpdatedStarts
- Mappings:
Namespace Name Mixin selector official a
Lcwt;a(Lmq;Lbta;)Lmq;
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/CompoundTag;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/nbt/CompoundTag;
-
init
- Mappings:
Namespace Name Mixin selector official a
Lcwt;a(Lddq;)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> registryKey, @Nullable PersistentStateManager persistentStateManager)- Mappings:
Namespace Name Mixin selector official a
Lcwt;a(Lwa;Lddq;)Lcwt;
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/util/registry/RegistryKey;Lnet/minecraft/world/PersistentStateManager;)Lnet/minecraft/world/FeatureUpdater;
-