类 BlockPredicateFilter
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.PlacementFilter
net.minecraft.world.level.levelgen.placement.BlockPredicateFilter
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<BlockPredicateFilter> private final BlockPredicate
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static BlockPredicateFilter
forPredicate
(BlockPredicate p_191577_) protected boolean
shouldPlace
(PlacementContext p_226321_, RandomSource p_226322_, BlockPos p_226323_) type()
从类继承的方法 net.minecraft.world.level.levelgen.placement.PlacementFilter
getPositions
-
字段详细资料
-
CODEC
-
predicate
-
-
构造器详细资料
-
BlockPredicateFilter
-
-
方法详细资料
-
forPredicate
-
shouldPlace
protected boolean shouldPlace(PlacementContext p_226321_, RandomSource p_226322_, BlockPos p_226323_) - 指定者:
shouldPlace
在类中PlacementFilter
-
type
- 指定者:
type
在类中PlacementModifier
-