net.minecraft.world.level.levelgen.blockpredicates

public interface BlockPredicate

extends BiPredicate<WorldGenLevel, BlockPos>

dlz
net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
net.minecraft.class_6646
net.minecraft.world.gen.blockpredicate.BlockPredicate
net.minecraft.src.C_182966_
net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate

Field summary

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

Method summary

Modifier and TypeMethod
BlockPredicateType<?>
a()
type()
method_38873()
getType()
m_183575_()
static BlockPredicate
a(List<dlz> arg0)
allOf(List<BlockPredicate> arg0)
method_38880(List<class_6646> arg0)
allOf(List<BlockPredicate> predicates)
m_190412_(List<C_182966_> p_190413_)
static BlockPredicate
a(dlz... arg0)
allOf(BlockPredicate... arg0)
method_38882(class_6646... arg0)
allOf(BlockPredicate... predicates)
m_190417_(C_182966_... p_190418_)
static BlockPredicate
a(dlz arg0, dlz arg1)
allOf(BlockPredicate arg0, BlockPredicate arg1)
method_38878(class_6646 arg0, class_6646 arg1)
bothOf(BlockPredicate first, BlockPredicate second)
m_190404_(C_182966_ p_190405_, C_182966_ p_190406_)
static BlockPredicate
b(List<dlz> arg0)
anyOf(List<BlockPredicate> arg0)
method_38885(List<class_6646> arg0)
anyOf(List<BlockPredicate> predicates)
m_190425_(List<C_182966_> p_190426_)
static BlockPredicate
b(dlz... arg0)
anyOf(BlockPredicate... arg0)
method_38887(class_6646... arg0)
anyOf(BlockPredicate... predicates)
m_190430_(C_182966_... p_190431_)
static BlockPredicate
b(dlz arg0, dlz arg1)
anyOf(BlockPredicate arg0, BlockPredicate arg1)
method_38884(class_6646 arg0, class_6646 arg1)
eitherOf(BlockPredicate first, BlockPredicate second)
m_190420_(C_182966_ p_190421_, C_182966_ p_190422_)
static BlockPredicate
a(hy arg0, List<csv> arg1)
matchesBlocks(Vec3i arg0, List<Block> arg1)
method_38881(class_2382 arg0, List<class_2248> arg1)
matchingBlocks(Vec3i offset, List<Block> blocks)
m_224771_(C_4713_ p_224772_, List<C_1706_> p_224773_)
static BlockPredicate
c(List<csv> arg0)
matchesBlocks(List<Block> arg0)
method_39910(List<class_2248> arg0)
matchingBlocks(List<Block> blocks)
m_198311_(List<C_1706_> p_198312_)
static BlockPredicate
a(hy arg0, csv... arg1)
matchesBlocks(Vec3i arg0, Block... arg1)
method_43288(class_2382 arg0, class_2248... arg1)
matchingBlocks(Vec3i offset, Block... blocks)
m_224774_(C_4713_ p_224775_, C_1706_... p_224776_)
static BlockPredicate
a(csv... arg0)
matchesBlocks(Block... arg0)
method_43290(class_2248... arg0)
matchingBlocks(Block... blocks)
m_224780_(C_1706_... p_224781_)
static BlockPredicate
a(hy arg0, aqh<csv> arg1)
matchesTag(Vec3i arg0, TagKey<Block> arg1)
method_39908(class_2382 arg0, class_6862<class_2248> arg1)
matchingBlockTag(Vec3i offset, TagKey<Block> tag)
m_224768_(C_4713_ p_224769_, C_203208_<C_1706_> p_224770_)
static BlockPredicate
a(aqh<csv> arg0)
matchesTag(TagKey<Block> arg0)
method_39907(class_6862<class_2248> arg0)
matchingBlockTag(TagKey<Block> offset)
m_204677_(C_203208_<C_1706_> p_204678_)
static BlockPredicate
b(hy arg0, List<eal> arg1)
matchesFluids(Vec3i arg0, List<Fluid> arg1)
method_38886(class_2382 arg0, List<class_3611> arg1)
matchingFluids(Vec3i offset, List<Fluid> fluids)
m_224784_(C_4713_ p_224785_, List<C_2690_> p_224786_)
static BlockPredicate
a(hy arg0, eal... arg1)
matchesFluids(Vec3i arg0, Fluid... arg1)
method_43289(class_2382 arg0, class_3611... arg1)
matchingFluids(Vec3i offset, Fluid... fluids)
m_224777_(C_4713_ p_224778_, C_2690_... p_224779_)
static BlockPredicate
a(eal... arg0)
matchesFluids(Fluid... arg0)
method_43291(class_3611... arg0)
matchingFluids(Fluid... fluids)
m_224782_(C_2690_... p_224783_)
static BlockPredicate
a(dlz arg0)
not(BlockPredicate arg0)
method_38877(class_6646 arg0)
not(BlockPredicate predicate)
m_190402_(C_182966_ p_190403_)
static BlockPredicate
a(hy arg0)
replaceable(Vec3i arg0)
method_39010(class_2382 arg0)
replaceable(Vec3i offset)
m_190410_(C_4713_ p_190411_)
static BlockPredicate
b()
replaceable()
method_38883()
replaceable()
m_190419_()
static BlockPredicate
a(dfj arg0, hy arg1)
wouldSurvive(BlockState arg0, Vec3i arg1)
method_39009(class_2680 arg0, class_2382 arg1)
wouldSurvive(BlockState state, Vec3i offset)
m_190399_(C_2064_ p_190400_, C_4713_ p_190401_)
static BlockPredicate
a(hy arg0, ha arg1)
hasSturdyFace(Vec3i arg0, Direction arg1)
method_39909(class_2382 arg0, class_2350 arg1)
hasSturdyFace(Vec3i offset, Direction face)
m_198308_(C_4713_ p_198309_, C_4687_ p_198310_)
static BlockPredicate
a(ha arg0)
hasSturdyFace(Direction arg0)
method_39930(class_2350 arg0)
hasSturdyFace(Direction face)
m_198913_(C_4687_ p_198914_)
static BlockPredicate
b(hy arg0)
solid(Vec3i arg0)
method_39584(class_2382 arg0)
solid(Vec3i offset)
m_190423_(C_4713_ p_190424_)
static BlockPredicate
c()
solid()
method_39585()
solid()
m_190432_()
static BlockPredicate
d()
noFluid()
method_45544()
noFluid()
m_246848_()
static BlockPredicate
c(hy arg0)
noFluid(Vec3i arg0)
method_45543(class_2382 arg0)
noFluid(Vec3i offset)
m_245833_(C_4713_ p_249383_)
static BlockPredicate
d(hy arg0)
insideWorld(Vec3i arg0)
method_39586(class_2382 arg0)
insideWorldBounds(Vec3i offset)
m_190433_(C_4713_ p_190434_)
static BlockPredicate
e()
alwaysTrue()
method_39011()
alwaysTrue()
m_190435_()