net.minecraft.world.level.levelgen.blockpredicates

public interface BlockPredicate

extends BiPredicate<WorldGenLevel, BlockPos>

eex
net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
net.minecraft.class_6646
net.minecraft.world.gen.blockpredicate.BlockPredicate
net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<BlockPredicate>
b
CODEC
field_35054
BASE_CODEC
BlockPredicate
c
ONLY_IN_AIR_PREDICATE
field_35696
IS_AIR
BlockPredicate
d
ONLY_IN_AIR_OR_WATER_PREDICATE
field_35697
IS_AIR_OR_WATER

Method summary

Modifier and TypeMethod
BlockPredicateType<?>
a()
type()
method_38873()
getType()
static BlockPredicate
a(List<eex> arg0)
allOf(List<BlockPredicate> arg0)
method_38880(List<class_6646> arg0)
allOf(List<BlockPredicate> predicates)
static BlockPredicate
a(eex... arg0)
allOf(BlockPredicate... arg0)
method_38882(class_6646... arg0)
allOf(BlockPredicate... predicates)
static BlockPredicate
a(eex arg0, eex arg1)
allOf(BlockPredicate arg0, BlockPredicate arg1)
method_38878(class_6646 arg0, class_6646 arg1)
bothOf(BlockPredicate first, BlockPredicate second)
static BlockPredicate
b(List<eex> arg0)
anyOf(List<BlockPredicate> arg0)
method_38885(List<class_6646> arg0)
anyOf(List<BlockPredicate> predicates)
static BlockPredicate
b(eex... arg0)
anyOf(BlockPredicate... arg0)
method_38887(class_6646... arg0)
anyOf(BlockPredicate... predicates)
static BlockPredicate
b(eex arg0, eex arg1)
anyOf(BlockPredicate arg0, BlockPredicate arg1)
method_38884(class_6646 arg0, class_6646 arg1)
eitherOf(BlockPredicate first, BlockPredicate second)
static BlockPredicate
a(kl arg0, List<dkm> arg1)
matchesBlocks(Vec3i arg0, List<Block> arg1)
method_38881(class_2382 arg0, List<class_2248> arg1)
matchingBlocks(Vec3i offset, List<Block> blocks)
static BlockPredicate
c(List<dkm> arg0)
matchesBlocks(List<Block> arg0)
method_39910(List<class_2248> arg0)
matchingBlocks(List<Block> blocks)
static BlockPredicate
a(kl arg0, dkm... arg1)
matchesBlocks(Vec3i arg0, Block... arg1)
method_43288(class_2382 arg0, class_2248... arg1)
matchingBlocks(Vec3i offset, Block... blocks)
static BlockPredicate
a(dkm... arg0)
matchesBlocks(Block... arg0)
method_43290(class_2248... arg0)
matchingBlocks(Block... blocks)
static BlockPredicate
a(kl arg0, ayk<dkm> arg1)
matchesTag(Vec3i arg0, TagKey<Block> arg1)
method_39908(class_2382 arg0, class_6862<class_2248> arg1)
matchingBlockTag(Vec3i offset, TagKey<Block> tag)
static BlockPredicate
a(ayk<dkm> arg0)
matchesTag(TagKey<Block> arg0)
method_39907(class_6862<class_2248> arg0)
matchingBlockTag(TagKey<Block> offset)
static BlockPredicate
b(kl arg0, List<etw> arg1)
matchesFluids(Vec3i arg0, List<Fluid> arg1)
method_38886(class_2382 arg0, List<class_3611> arg1)
matchingFluids(Vec3i offset, List<Fluid> fluids)
static BlockPredicate
a(kl arg0, etw... arg1)
matchesFluids(Vec3i arg0, Fluid... arg1)
method_43289(class_2382 arg0, class_3611... arg1)
matchingFluids(Vec3i offset, Fluid... fluids)
static BlockPredicate
a(etw... arg0)
matchesFluids(Fluid... arg0)
method_43291(class_3611... arg0)
matchingFluids(Fluid... fluids)
static BlockPredicate
a(eex arg0)
not(BlockPredicate arg0)
method_38877(class_6646 arg0)
not(BlockPredicate predicate)
static BlockPredicate
a(kl arg0)
replaceable(Vec3i arg0)
method_39010(class_2382 arg0)
replaceable(Vec3i offset)
static BlockPredicate
b()
replaceable()
method_38883()
replaceable()
static BlockPredicate
a(dxv arg0, kl arg1)
wouldSurvive(BlockState arg0, Vec3i arg1)
method_39009(class_2680 arg0, class_2382 arg1)
wouldSurvive(BlockState state, Vec3i offset)
static BlockPredicate
a(kl arg0, jm arg1)
hasSturdyFace(Vec3i arg0, Direction arg1)
method_39909(class_2382 arg0, class_2350 arg1)
hasSturdyFace(Vec3i offset, Direction face)
static BlockPredicate
a(jm arg0)
hasSturdyFace(Direction arg0)
method_39930(class_2350 arg0)
hasSturdyFace(Direction face)
static BlockPredicate
b(kl arg0)
solid(Vec3i arg0)
method_39584(class_2382 arg0)
solid(Vec3i offset)
static BlockPredicate
c()
solid()
method_39585()
solid()
static BlockPredicate
d()
noFluid()
method_45544()
noFluid()
static BlockPredicate
c(kl arg0)
noFluid(Vec3i arg0)
method_45543(class_2382 arg0)
noFluid(Vec3i offset)
static BlockPredicate
d(kl arg0)
insideWorld(Vec3i arg0)
method_39586(class_2382 arg0)
insideWorldBounds(Vec3i offset)
static BlockPredicate
e()
alwaysTrue()
method_39011()
alwaysTrue()
static BlockPredicate
e(kl arg0)
unobstructed(Vec3i arg0)
method_60284(class_2382 arg0)
unobstructed(Vec3i offset)
static BlockPredicate
f()
unobstructed()
method_60285()
unobstructed()