net.minecraft.world.gen.blockpredicate

public record HeightRangeBlockPredicate

implements BlockPredicate

net.minecraft.world.level.levelgen.blockpredicates.HeightRangePredicate
net.minecraft.class_1_1187
net.minecraft.world.gen.blockpredicate.HeightRangeBlockPredicate

Field summary

Modifier and TypeField
private final YOffset
minInclusive
comp_1_1250
minInclusive
private final YOffset
maxInclusive
comp_1_1249
maxInclusive
public static final com.mojang.serialization.MapCodec<HeightRangeBlockPredicate>
CODEC
field_1_8239
CODEC

Constructor summary

ModifierConstructor
public (YOffset minInclusive, YOffset maxInclusive)

Method summary

Modifier and TypeMethod
public BlockPredicateType<?>
type()
method_38873()
getType()
public boolean
test(LevelAccessor level, BlockPos pos)
method_1_7579(class_1936 arg0, class_2338 arg1)
test(WorldAccess arg0, BlockPos arg1)
public YOffset
minInclusive()
comp_1_1250()
minInclusive()
public YOffset
maxInclusive()
comp_1_1249()
maxInclusive()
public boolean
test(Object level, Object pos)
test(Object arg0, Object arg1)
test(Object world, Object pos)
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_7578(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_7578(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)