net.minecraft.world.gen.blockpredicate

public class WouldSurviveBlockPredicate

implements BlockPredicate

net.minecraft.world.level.levelgen.blockpredicates.WouldSurvivePredicate
net.minecraft.world.level.levelgen.blockpredicates.WouldSurvivePredicate
net.minecraft.class_6681
net.minecraft.world.gen.blockpredicate.WouldSurviveBlockPredicate

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WouldSurviveBlockPredicate>
CODEC
CODEC
field_35160
CODEC
private final Vec3i
offset
offset
field_35161
offset
private final BlockState
state
state
field_35162
state

Constructor summary

ModifierConstructor
protected (Vec3i offset, BlockState state)

Method summary

Modifier and TypeMethod
public boolean
test(WorldGenLevel level, BlockPos origin)
test(WorldGenLevel level, BlockPos origin)
method_39017(class_5281 arg0, class_2338 arg1)
test(StructureWorldAccess arg0, BlockPos arg1)
public BlockPredicateType<?>
type()
type()
method_38873()
getType()