Uses of Interface
net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
Package
Description
-
Uses of BlockPredicate in net.minecraft.data.worldgen.features
Modifier and TypeMethodDescriptionprivate static BlockPredicate
FeatureUtils.simplePatchPredicate
(List<Block> p_195009_) -
Uses of BlockPredicate in net.minecraft.data.worldgen.placement
Modifier and TypeMethodDescriptionstatic <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<PlacedFeature>PlacementUtils.filtered
(F p_206499_, FC p_206500_, BlockPredicate p_206501_) -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.blockpredicates
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
class
class
(package private) class
class
(package private) class
(package private) class
(package private) class
class
class
(package private) class
class
Modifier and TypeFieldDescriptionstatic final BlockPredicate
BlockPredicate.ONLY_IN_AIR_OR_WATER_PREDICATE
static final BlockPredicate
BlockPredicate.ONLY_IN_AIR_PREDICATE
private final BlockPredicate
NotPredicate.predicate
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockPredicate>
BlockPredicate.CODEC
protected final List<BlockPredicate>
CombiningPredicate.predicates
Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(List<BlockPredicate> p_190413_) static BlockPredicate
BlockPredicate.allOf
(BlockPredicate... p_190418_) static BlockPredicate
BlockPredicate.allOf
(BlockPredicate p_190405_, BlockPredicate p_190406_) static BlockPredicate
BlockPredicate.alwaysTrue()
static BlockPredicate
BlockPredicate.anyOf
(List<BlockPredicate> p_190426_) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate... p_190431_) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate p_190421_, BlockPredicate p_190422_) static BlockPredicate
BlockPredicate.hasSturdyFace
(Direction p_198914_) static BlockPredicate
BlockPredicate.hasSturdyFace
(Vec3i p_198309_, Direction p_198310_) static BlockPredicate
BlockPredicate.insideWorld
(Vec3i p_190434_) static BlockPredicate
BlockPredicate.matchesBlocks
(List<Block> p_198312_) static BlockPredicate
BlockPredicate.matchesBlocks
(Vec3i p_224772_, List<Block> p_224773_) static BlockPredicate
BlockPredicate.matchesBlocks
(Vec3i p_224775_, Block... p_224776_) static BlockPredicate
BlockPredicate.matchesBlocks
(Block... p_224781_) static BlockPredicate
BlockPredicate.matchesFluids
(Vec3i p_224785_, List<Fluid> p_224786_) static BlockPredicate
BlockPredicate.matchesFluids
(Vec3i p_224778_, Fluid... p_224779_) static BlockPredicate
BlockPredicate.matchesFluids
(Fluid... p_224783_) static BlockPredicate
BlockPredicate.matchesTag
(Vec3i p_224769_, TagKey<Block> p_224770_) static BlockPredicate
BlockPredicate.matchesTag
(TagKey<Block> p_204678_) static BlockPredicate
BlockPredicate.noFluid()
static BlockPredicate
static BlockPredicate
BlockPredicate.not
(BlockPredicate p_190403_) static BlockPredicate
BlockPredicate.replaceable()
static BlockPredicate
BlockPredicate.replaceable
(Vec3i p_190411_) static BlockPredicate
BlockPredicate.solid()
static BlockPredicate
static BlockPredicate
BlockPredicate.wouldSurvive
(BlockState p_190400_, Vec3i p_190401_) Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(BlockPredicate... p_190418_) static BlockPredicate
BlockPredicate.allOf
(BlockPredicate p_190405_, BlockPredicate p_190406_) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate... p_190431_) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate p_190421_, BlockPredicate p_190422_) static BlockPredicate
BlockPredicate.not
(BlockPredicate p_190403_) Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(List<BlockPredicate> p_190413_) static BlockPredicate
BlockPredicate.anyOf
(List<BlockPredicate> p_190426_) static <T extends CombiningPredicate>
com.mojang.serialization.Codec<T>CombiningPredicate.codec
(Function<List<BlockPredicate>, T> p_190459_) ModifierConstructorDescriptionAllOfPredicate
(List<BlockPredicate> p_190373_) AnyOfPredicate
(List<BlockPredicate> p_190384_) protected
CombiningPredicate
(List<BlockPredicate> p_190455_) -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionprivate final BlockPredicate
BlockColumnConfiguration.allowedPlacement
The field for theallowedPlacement
record component.final BlockPredicate
RootSystemConfiguration.allowedTreePosition
private final BlockPredicate
DiskConfiguration.target
The field for thetarget
record component.Modifier and TypeMethodDescriptionBlockColumnConfiguration.allowedPlacement()
Returns the value of theallowedPlacement
record component.DiskConfiguration.target()
Returns the value of thetarget
record component.ModifierConstructorDescriptionBlockColumnConfiguration
(List<BlockColumnConfiguration.Layer> layers, Direction direction, BlockPredicate allowedPlacement, boolean prioritizeTip) Creates an instance of aBlockColumnConfiguration
record class.DiskConfiguration
(RuleBasedBlockStateProvider stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates an instance of aDiskConfiguration
record class.RootSystemConfiguration
(Holder<PlacedFeature> p_204824_, int p_204825_, int p_204826_, TagKey<Block> p_204827_, BlockStateProvider p_204828_, int p_204829_, int p_204830_, int p_204831_, int p_204832_, BlockStateProvider p_204833_, int p_204834_, int p_204835_, BlockPredicate p_204836_) -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.feature.stateproviders
Modifier and TypeFieldDescriptionprivate final BlockPredicate
RuleBasedBlockStateProvider.Rule.ifTrue
The field for theifTrue
record component.Modifier and TypeMethodDescriptionRuleBasedBlockStateProvider.Rule.ifTrue()
Returns the value of theifTrue
record component.ModifierConstructorDescriptionRule
(BlockPredicate ifTrue, BlockStateProvider then) Creates an instance of aRule
record class. -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.placement
Modifier and TypeFieldDescriptionprivate final BlockPredicate
EnvironmentScanPlacement.allowedSearchCondition
private final BlockPredicate
BlockPredicateFilter.predicate
private final BlockPredicate
EnvironmentScanPlacement.targetCondition
Modifier and TypeMethodDescriptionstatic BlockPredicateFilter
BlockPredicateFilter.forPredicate
(BlockPredicate p_191577_) static EnvironmentScanPlacement
EnvironmentScanPlacement.scanningFor
(Direction p_191654_, BlockPredicate p_191655_, int p_191656_) static EnvironmentScanPlacement
EnvironmentScanPlacement.scanningFor
(Direction p_191658_, BlockPredicate p_191659_, BlockPredicate p_191660_, int p_191661_) ModifierConstructorDescriptionprivate
BlockPredicateFilter
(BlockPredicate p_191573_) private
EnvironmentScanPlacement
(Direction p_191645_, BlockPredicate p_191646_, BlockPredicate p_191647_, int p_191648_)