类 FeatureUpdater
- java.lang.Object
-
- net.minecraft.world.FeatureUpdater
-
public class FeatureUpdater extends Object
- Mappings:
Namespace Name official czxintermediary net/minecraft/class_3360named net/minecraft/world/FeatureUpdater
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Map<String,String>ANCIENT_TO_OLDprivate Map<String,Long2ObjectMap<CompoundTag>>featureIdToChunkNbtprivate List<String>field_17658private List<String>field_17659private booleanneedsUpdateprivate static Map<String,String>OLD_TO_NEWprivate Map<String,ChunkUpdateState>updateStates
-
构造器概要
构造器 构造器 说明 FeatureUpdater(@Nullable PersistentStateManager persistentStateManager, List<String> list, List<String> list2)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static FeatureUpdatercreate(RegistryKey<World> registryKey, @Nullable PersistentStateManager persistentStateManager)CompoundTaggetUpdatedReferences(CompoundTag compoundTag)private CompoundTaggetUpdatedStarts(CompoundTag nbt, ChunkPos pos)private voidinit(@Nullable PersistentStateManager persistentStateManager)voidmarkResolved(long long2)private booleanneedsUpdate(int chunkX, int chunkZ)private booleanneedsUpdate(int chunkX, int chunkZ, String id)
-
-
-
字段详细资料
-
OLD_TO_NEW
private static final Map<String,String> OLD_TO_NEW
- Mappings:
Namespace Name Mixin selector official aLczx;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
private static final Map<String,String> ANCIENT_TO_OLD
- Mappings:
Namespace Name Mixin selector official bLczx;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 cLczx;c:Zintermediary field_14434Lnet/minecraft/class_3360;field_14434:Znamed needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate:Z
-
featureIdToChunkNbt
private final Map<String,Long2ObjectMap<CompoundTag>> featureIdToChunkNbt
- Mappings:
Namespace Name Mixin selector official dLczx;d:Ljava/util/Map;intermediary field_14432Lnet/minecraft/class_3360;field_14432:Ljava/util/Map;named featureIdToChunkNbtLnet/minecraft/world/FeatureUpdater;featureIdToChunkNbt:Ljava/util/Map;
-
updateStates
private final Map<String,ChunkUpdateState> updateStates
- Mappings:
Namespace Name Mixin selector official eLczx;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
private final List<String> field_17658
- Mappings:
Namespace Name Mixin selector official fLczx;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;
-
-
方法详细资料
-
markResolved
public void markResolved(long long2)
- Mappings:
Namespace Name Mixin selector official aLczx;a(J)Vintermediary method_14744Lnet/minecraft/class_3360;method_14744(J)Vnamed markResolvedLnet/minecraft/world/FeatureUpdater;markResolved(J)V
-
getUpdatedReferences
public CompoundTag getUpdatedReferences(CompoundTag compoundTag)
- Mappings:
Namespace Name Mixin selector official aLczx;a(Lmv;)Lmv;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
private boolean needsUpdate(int chunkX, int chunkZ, String id)- Mappings:
Namespace Name Mixin selector official aLczx;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 aLczx;a(II)Zintermediary method_14737Lnet/minecraft/class_3360;method_14737(II)Znamed needsUpdateLnet/minecraft/world/FeatureUpdater;needsUpdate(II)Z
-
getUpdatedStarts
private CompoundTag getUpdatedStarts(CompoundTag nbt, ChunkPos pos)
- Mappings:
Namespace Name Mixin selector official aLczx;a(Lmv;Lbuw;)Lmv;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
private void init(@Nullable @Nullable PersistentStateManager persistentStateManager)
- Mappings:
Namespace Name Mixin selector official aLczx;a(Ldgx;)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 @Nullable PersistentStateManager persistentStateManager)
- Mappings:
Namespace Name Mixin selector official aLczx;a(Lwo;Ldgx;)Lczx;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;
-
-