类 SurfaceRelativeThresholdFilter
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.PlacementFilter
net.minecraft.world.level.levelgen.placement.SurfaceRelativeThresholdFilter
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<SurfaceRelativeThresholdFilter> private final Heightmap.Types
private final int
private final int
-
构造器概要
构造器限定符构造器说明private
SurfaceRelativeThresholdFilter
(Heightmap.Types p_191925_, int p_191926_, int p_191927_) -
方法概要
修饰符和类型方法说明of
(Heightmap.Types p_191931_, int p_191932_, int p_191933_) protected boolean
shouldPlace
(PlacementContext p_226407_, RandomSource p_226408_, BlockPos p_226409_) type()
从类继承的方法 net.minecraft.world.level.levelgen.placement.PlacementFilter
getPositions
-
字段详细资料
-
CODEC
-
heightmap
-
minInclusive
private final int minInclusive -
maxInclusive
private final int maxInclusive
-
-
构造器详细资料
-
SurfaceRelativeThresholdFilter
-
-
方法详细资料
-
of
public static SurfaceRelativeThresholdFilter of(Heightmap.Types p_191931_, int p_191932_, int p_191933_) -
shouldPlace
protected boolean shouldPlace(PlacementContext p_226407_, RandomSource p_226408_, BlockPos p_226409_) - 指定者:
shouldPlace
在类中PlacementFilter
-
type
- 指定者:
type
在类中PlacementModifier
-