Class FeatureCountTracker
java.lang.Object
net.minecraft.world.level.levelgen.feature.FeatureCountTracker
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record(package private) static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.google.common.cache.LoadingCache<ServerLevel, FeatureCountTracker.LevelData> private static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidchunkDecorated(ServerLevel p_190882_) static voidstatic voidfeaturePlaced(ServerLevel p_190884_, ConfiguredFeature<?, ?> p_190885_, Optional<PlacedFeature> p_190886_) static void
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
data
private static final com.google.common.cache.LoadingCache<ServerLevel,FeatureCountTracker.LevelData> data
-
-
Constructor Details
-
FeatureCountTracker
public FeatureCountTracker()
-
-
Method Details
-
chunkDecorated
-
featurePlaced
public static void featurePlaced(ServerLevel p_190884_, ConfiguredFeature<?, ?> p_190885_, Optional<PlacedFeature> p_190886_) -
clearCounts
public static void clearCounts() -
logCounts
public static void logCounts()
-