Class FeatureCountTracker
java.lang.Object
net.minecraft.world.level.levelgen.feature.FeatureCountTracker
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.google.common.cache.LoadingCache
<ServerLevel, FeatureCountTracker.LevelData> private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
chunkDecorated
(ServerLevel p_190882_) static void
static void
featurePlaced
(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()
-