net.minecraft.world.level.levelgen.blockpredicates

public interface BlockPredicate

extends BiPredicate<WorldGenLevel, BlockPos>

eea
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<eea> arg0)
allOf(List<BlockPredicate> arg0)
method_38880(List<class_6646> arg0)
allOf(List<BlockPredicate> predicates)
static BlockPredicate
a(eea... arg0)
allOf(BlockPredicate... arg0)
method_38882(class_6646... arg0)
allOf(BlockPredicate... predicates)
static BlockPredicate
a(eea arg0, eea arg1)
allOf(BlockPredicate arg0, BlockPredicate arg1)
method_38878(class_6646 arg0, class_6646 arg1)
bothOf(BlockPredicate first, BlockPredicate second)
static BlockPredicate
b(List<eea> arg0)
anyOf(List<BlockPredicate> arg0)
method_38885(List<class_6646> arg0)
anyOf(List<BlockPredicate> predicates)
static BlockPredicate
b(eea... arg0)
anyOf(BlockPredicate... arg0)
method_38887(class_6646... arg0)
anyOf(BlockPredicate... predicates)
static BlockPredicate
b(eea arg0, eea arg1)
anyOf(BlockPredicate arg0, BlockPredicate arg1)
method_38884(class_6646 arg0, class_6646 arg1)
eitherOf(BlockPredicate first, BlockPredicate second)
static BlockPredicate
a(km arg0, List<djn> 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<djn> arg0)
matchesBlocks(List<Block> arg0)
method_39910(List<class_2248> arg0)
matchingBlocks(List<Block> blocks)
static BlockPredicate
a(km arg0, djn... arg1)
matchesBlocks(Vec3i arg0, Block... arg1)
method_43288(class_2382 arg0, class_2248... arg1)
matchingBlocks(Vec3i offset, Block... blocks)
static BlockPredicate
a(djn... arg0)
matchesBlocks(Block... arg0)
method_43290(class_2248... arg0)
matchingBlocks(Block... blocks)
static BlockPredicate
a(km arg0, axf<djn> 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(axf<djn> arg0)
matchesTag(TagKey<Block> arg0)
method_39907(class_6862<class_2248> arg0)
matchingBlockTag(TagKey<Block> offset)
static BlockPredicate
b(km arg0, List<esz> 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(km arg0, esz... arg1)
matchesFluids(Vec3i arg0, Fluid... arg1)
method_43289(class_2382 arg0, class_3611... arg1)
matchingFluids(Vec3i offset, Fluid... fluids)
static BlockPredicate
a(esz... arg0)
matchesFluids(Fluid... arg0)
method_43291(class_3611... arg0)
matchingFluids(Fluid... fluids)
static BlockPredicate
a(eea arg0)
not(BlockPredicate arg0)
method_38877(class_6646 arg0)
not(BlockPredicate predicate)
static BlockPredicate
a(km arg0)
replaceable(Vec3i arg0)
method_39010(class_2382 arg0)
replaceable(Vec3i offset)
static BlockPredicate
b()
replaceable()
method_38883()
replaceable()
static BlockPredicate
a(dwy arg0, km arg1)
wouldSurvive(BlockState arg0, Vec3i arg1)
method_39009(class_2680 arg0, class_2382 arg1)
wouldSurvive(BlockState state, Vec3i offset)
static BlockPredicate
a(km arg0, jn arg1)
hasSturdyFace(Vec3i arg0, Direction arg1)
method_39909(class_2382 arg0, class_2350 arg1)
hasSturdyFace(Vec3i offset, Direction face)
static BlockPredicate
a(jn arg0)
hasSturdyFace(Direction arg0)
method_39930(class_2350 arg0)
hasSturdyFace(Direction face)
static BlockPredicate
b(km 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(km arg0)
noFluid(Vec3i arg0)
method_45543(class_2382 arg0)
noFluid(Vec3i offset)
static BlockPredicate
d(km arg0)
insideWorld(Vec3i arg0)
method_39586(class_2382 arg0)
insideWorldBounds(Vec3i offset)
static BlockPredicate
e()
alwaysTrue()
method_39011()
alwaysTrue()
static BlockPredicate
e(km arg0)
unobstructed(Vec3i arg0)
method_60284(class_2382 arg0)
unobstructed(Vec3i offset)
static BlockPredicate
f()
unobstructed()
method_60285()
unobstructed()