Uses of Interface
net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
Packages that use BlockPredicate
Package
Description
-
Uses of BlockPredicate in net.minecraft.data.worldgen.features
Methods in net.minecraft.data.worldgen.features that return BlockPredicateModifier and TypeMethodDescriptionprivate static BlockPredicate
FeatureUtils.simplePatchPredicate
(List<Block> pBlocks) -
Uses of BlockPredicate in net.minecraft.data.worldgen.placement
Methods in net.minecraft.data.worldgen.placement with parameters of type BlockPredicateModifier and TypeMethodDescriptionstatic <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<PlacedFeature> PlacementUtils.filtered
(F pFeature, FC pConfig, BlockPredicate pPredicate) -
Uses of BlockPredicate in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects with type parameters of type BlockPredicateModifier and TypeFieldDescriptionprivate final Optional
<BlockPredicate> ReplaceBlock.predicate
The field for thepredicate
record component.private final Optional
<BlockPredicate> ReplaceDisk.predicate
The field for thepredicate
record component.Methods in net.minecraft.world.item.enchantment.effects that return types with arguments of type BlockPredicateModifier and TypeMethodDescriptionReplaceBlock.predicate()
Returns the value of thepredicate
record component.ReplaceDisk.predicate()
Returns the value of thepredicate
record component.Constructor parameters in net.minecraft.world.item.enchantment.effects with type arguments of type BlockPredicateModifierConstructorDescriptionReplaceBlock
(Vec3i offset, Optional<BlockPredicate> predicate, BlockStateProvider blockState, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aReplaceBlock
record class.ReplaceDisk
(LevelBasedValue radius, LevelBasedValue height, Vec3i offset, Optional<BlockPredicate> predicate, BlockStateProvider blockState, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aReplaceDisk
record class. -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.blockpredicates
Classes in net.minecraft.world.level.levelgen.blockpredicates with type parameters of type BlockPredicateClasses in net.minecraft.world.level.levelgen.blockpredicates that implement BlockPredicateModifier 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
Deprecated.class
(package private) class
(package private) final record
class
Fields in net.minecraft.world.level.levelgen.blockpredicates declared as BlockPredicateModifier and TypeFieldDescriptionstatic final BlockPredicate
BlockPredicate.ONLY_IN_AIR_OR_WATER_PREDICATE
static final BlockPredicate
BlockPredicate.ONLY_IN_AIR_PREDICATE
private final BlockPredicate
NotPredicate.predicate
Fields in net.minecraft.world.level.levelgen.blockpredicates with type parameters of type BlockPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockPredicate> BlockPredicate.CODEC
protected final List
<BlockPredicate> CombiningPredicate.predicates
Methods in net.minecraft.world.level.levelgen.blockpredicates with type parameters of type BlockPredicateMethods in net.minecraft.world.level.levelgen.blockpredicates that return BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(List<BlockPredicate> pPredicates) static BlockPredicate
BlockPredicate.allOf
(BlockPredicate... pPredicates) static BlockPredicate
BlockPredicate.allOf
(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicate
BlockPredicate.alwaysTrue()
static BlockPredicate
BlockPredicate.anyOf
(List<BlockPredicate> pPredicates) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate... pPredicates) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicate
BlockPredicate.hasSturdyFace
(Direction pDirection) static BlockPredicate
BlockPredicate.hasSturdyFace
(Vec3i pOffset, Direction pDirection) static BlockPredicate
BlockPredicate.insideWorld
(Vec3i pOffset) static BlockPredicate
BlockPredicate.matchesBlocks
(List<Block> pBlocks) static BlockPredicate
BlockPredicate.matchesBlocks
(Vec3i pOffset, List<Block> pBlocks) static BlockPredicate
BlockPredicate.matchesBlocks
(Vec3i pOffset, Block... pBlocks) static BlockPredicate
BlockPredicate.matchesBlocks
(Block... pBlocks) static BlockPredicate
BlockPredicate.matchesFluids
(Vec3i pOffset, List<Fluid> pFluids) static BlockPredicate
BlockPredicate.matchesFluids
(Vec3i pOffset, Fluid... pFluids) static BlockPredicate
BlockPredicate.matchesFluids
(Fluid... pFluids) static BlockPredicate
BlockPredicate.matchesTag
(Vec3i pOffset, TagKey<Block> pTag) static BlockPredicate
BlockPredicate.matchesTag
(TagKey<Block> pTag) static BlockPredicate
BlockPredicate.noFluid()
static BlockPredicate
static BlockPredicate
BlockPredicate.not
(BlockPredicate pPredicate) static BlockPredicate
BlockPredicate.replaceable()
static BlockPredicate
BlockPredicate.replaceable
(Vec3i pOffset) static BlockPredicate
BlockPredicate.solid()
static BlockPredicate
static BlockPredicate
BlockPredicate.unobstructed()
static BlockPredicate
BlockPredicate.unobstructed
(Vec3i pOffset) static BlockPredicate
BlockPredicate.wouldSurvive
(BlockState pState, Vec3i pOffset) Methods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(BlockPredicate... pPredicates) static BlockPredicate
BlockPredicate.allOf
(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate... pPredicates) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicate
BlockPredicate.not
(BlockPredicate pPredicate) Method parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(List<BlockPredicate> pPredicates) static BlockPredicate
BlockPredicate.anyOf
(List<BlockPredicate> pPredicates) static <T extends CombiningPredicate>
com.mojang.serialization.MapCodec<T> CombiningPredicate.codec
(Function<List<BlockPredicate>, T> p_190459_) Constructors in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockPredicateConstructor parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type BlockPredicateModifierConstructorDescriptionAllOfPredicate
(List<BlockPredicate> p_190373_) AnyOfPredicate
(List<BlockPredicate> p_190384_) protected
CombiningPredicate
(List<BlockPredicate> pPredicates) -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as BlockPredicateConstructors in net.minecraft.world.level.levelgen.feature with parameters of type BlockPredicateModifierConstructorDescriptionHugeFungusConfiguration
(BlockState p_285423_, BlockState p_285075_, BlockState p_285050_, BlockState p_285067_, BlockPredicate p_284983_, boolean p_285285_) -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as BlockPredicateModifier 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.Methods in net.minecraft.world.level.levelgen.feature.configurations that return BlockPredicateModifier and TypeMethodDescriptionBlockColumnConfiguration.allowedPlacement()
Returns the value of theallowedPlacement
record component.DiskConfiguration.target()
Returns the value of thetarget
record component.Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type BlockPredicateModifierConstructorDescriptionBlockColumnConfiguration
(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
Fields in net.minecraft.world.level.levelgen.feature.stateproviders declared as BlockPredicateModifier and TypeFieldDescriptionprivate final BlockPredicate
RuleBasedBlockStateProvider.Rule.ifTrue
The field for theifTrue
record component.Methods in net.minecraft.world.level.levelgen.feature.stateproviders that return BlockPredicateModifier and TypeMethodDescriptionRuleBasedBlockStateProvider.Rule.ifTrue()
Returns the value of theifTrue
record component.Constructors in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockPredicateModifierConstructorDescriptionRule
(BlockPredicate ifTrue, BlockStateProvider then) Creates an instance of aRule
record class. -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.placement
Fields in net.minecraft.world.level.levelgen.placement declared as BlockPredicateModifier and TypeFieldDescriptionprivate final BlockPredicate
EnvironmentScanPlacement.allowedSearchCondition
private final BlockPredicate
BlockPredicateFilter.predicate
private final BlockPredicate
EnvironmentScanPlacement.targetCondition
Methods in net.minecraft.world.level.levelgen.placement with parameters of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicateFilter
BlockPredicateFilter.forPredicate
(BlockPredicate pPredicate) static EnvironmentScanPlacement
EnvironmentScanPlacement.scanningFor
(Direction pDirectionOfSearch, BlockPredicate pTargetCondition, int pMaxSteps) static EnvironmentScanPlacement
EnvironmentScanPlacement.scanningFor
(Direction pDirectionOfSearch, BlockPredicate pTargetCondition, BlockPredicate pAllowedSearchCondition, int pMaxSteps) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type BlockPredicateModifierConstructorDescriptionprivate
BlockPredicateFilter
(BlockPredicate p_191573_) private
EnvironmentScanPlacement
(Direction p_191645_, BlockPredicate p_191646_, BlockPredicate p_191647_, int p_191648_)