Class BiomeFilter
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.PlacementFilter
net.minecraft.world.level.levelgen.placement.BiomeFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<BiomeFilter>
private static final BiomeFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BiomeFilter
biome()
protected boolean
shouldPlace
(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) type()
Methods inherited from class net.minecraft.world.level.levelgen.placement.PlacementFilter
getPositions
-
Field Details
-
INSTANCE
-
CODEC
-
-
Constructor Details
-
BiomeFilter
private BiomeFilter()
-
-
Method Details
-
biome
-
shouldPlace
protected boolean shouldPlace(PlacementContext p_226317_, RandomSource p_226318_, BlockPos p_226319_) - Specified by:
shouldPlace
in classPlacementFilter
-
type
- Specified by:
type
in classPlacementModifier
-