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 BlockPredicateFeatureUtils.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.predicateThe field for thepredicaterecord component.private final Optional<BlockPredicate> ReplaceDisk.predicateThe field for thepredicaterecord component.Methods in net.minecraft.world.item.enchantment.effects that return types with arguments of type BlockPredicateModifier and TypeMethodDescriptionReplaceBlock.predicate()Returns the value of thepredicaterecord component.ReplaceDisk.predicate()Returns the value of thepredicaterecord 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 aReplaceBlockrecord class.ReplaceDisk(LevelBasedValue radius, LevelBasedValue height, Vec3i offset, Optional<BlockPredicate> predicate, BlockStateProvider blockState, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aReplaceDiskrecord 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) classclassclass(package private) classclass(package private) class(package private) class(package private) classclassDeprecated.class(package private) class(package private) final recordclassFields in net.minecraft.world.level.levelgen.blockpredicates declared as BlockPredicateModifier and TypeFieldDescriptionstatic final BlockPredicateBlockPredicate.ONLY_IN_AIR_OR_WATER_PREDICATEstatic final BlockPredicateBlockPredicate.ONLY_IN_AIR_PREDICATEprivate final BlockPredicateNotPredicate.predicateFields in net.minecraft.world.level.levelgen.blockpredicates with type parameters of type BlockPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockPredicate> BlockPredicate.CODECprotected final List<BlockPredicate> CombiningPredicate.predicatesMethods 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 BlockPredicateBlockPredicate.allOf(List<BlockPredicate> pPredicates) static BlockPredicateBlockPredicate.allOf(BlockPredicate... pPredicates) static BlockPredicateBlockPredicate.allOf(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicateBlockPredicate.alwaysTrue()static BlockPredicateBlockPredicate.anyOf(List<BlockPredicate> pPredicates) static BlockPredicateBlockPredicate.anyOf(BlockPredicate... pPredicates) static BlockPredicateBlockPredicate.anyOf(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicateBlockPredicate.hasSturdyFace(Direction pDirection) static BlockPredicateBlockPredicate.hasSturdyFace(Vec3i pOffset, Direction pDirection) static BlockPredicateBlockPredicate.insideWorld(Vec3i pOffset) static BlockPredicateBlockPredicate.matchesBlocks(List<Block> pBlocks) static BlockPredicateBlockPredicate.matchesBlocks(Vec3i pOffset, List<Block> pBlocks) static BlockPredicateBlockPredicate.matchesBlocks(Vec3i pOffset, Block... pBlocks) static BlockPredicateBlockPredicate.matchesBlocks(Block... pBlocks) static BlockPredicateBlockPredicate.matchesFluids(Vec3i pOffset, List<Fluid> pFluids) static BlockPredicateBlockPredicate.matchesFluids(Vec3i pOffset, Fluid... pFluids) static BlockPredicateBlockPredicate.matchesFluids(Fluid... pFluids) static BlockPredicateBlockPredicate.matchesTag(Vec3i pOffset, TagKey<Block> pTag) static BlockPredicateBlockPredicate.matchesTag(TagKey<Block> pTag) static BlockPredicateBlockPredicate.noFluid()static BlockPredicatestatic BlockPredicateBlockPredicate.not(BlockPredicate pPredicate) static BlockPredicateBlockPredicate.replaceable()static BlockPredicateBlockPredicate.replaceable(Vec3i pOffset) static BlockPredicateBlockPredicate.solid()static BlockPredicatestatic BlockPredicateBlockPredicate.unobstructed()static BlockPredicateBlockPredicate.unobstructed(Vec3i pOffset) static BlockPredicateBlockPredicate.wouldSurvive(BlockState pState, Vec3i pOffset) Methods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.allOf(BlockPredicate... pPredicates) static BlockPredicateBlockPredicate.allOf(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicateBlockPredicate.anyOf(BlockPredicate... pPredicates) static BlockPredicateBlockPredicate.anyOf(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicateBlockPredicate.not(BlockPredicate pPredicate) Method parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.allOf(List<BlockPredicate> pPredicates) static BlockPredicateBlockPredicate.anyOf(List<BlockPredicate> pPredicates) static <T extends CombiningPredicate>
com.mojang.serialization.MapCodec<T> CombiningPredicate.codec(Function<List<BlockPredicate>, T> pFactory) 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_) protectedCombiningPredicate(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 pValidBaseState, BlockState pStemState, BlockState pHatState, BlockState pDecorState, BlockPredicate pReplaceableBlocks, boolean pPlanted) -
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 BlockPredicateBlockColumnConfiguration.allowedPlacementThe field for theallowedPlacementrecord component.final BlockPredicateRootSystemConfiguration.allowedTreePositionprivate final BlockPredicateDiskConfiguration.targetThe field for thetargetrecord component.Methods in net.minecraft.world.level.levelgen.feature.configurations that return BlockPredicateModifier and TypeMethodDescriptionBlockColumnConfiguration.allowedPlacement()Returns the value of theallowedPlacementrecord component.DiskConfiguration.target()Returns the value of thetargetrecord 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 aBlockColumnConfigurationrecord class.DiskConfiguration(RuleBasedBlockStateProvider stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates an instance of aDiskConfigurationrecord class.RootSystemConfiguration(Holder<PlacedFeature> pTreeFeature, int pRequiredVerticalSpaceForTree, int pRootRadius, TagKey<Block> pRootReplaceable, BlockStateProvider pRootStateProvider, int pRootPlacementAttempts, int pRootColumnMaxHeight, int pHangingRootRadius, int pHangingRootsVerticalSpawn, BlockStateProvider pHangingRootStateProvider, int pHangingRootPlacementAttempts, int pAllowedVerticalWaterForTree, BlockPredicate pAllowedTreePosition) -
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 BlockPredicateRuleBasedBlockStateProvider.Rule.ifTrueThe field for theifTruerecord component.Methods in net.minecraft.world.level.levelgen.feature.stateproviders that return BlockPredicateModifier and TypeMethodDescriptionRuleBasedBlockStateProvider.Rule.ifTrue()Returns the value of theifTruerecord component.Constructors in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockPredicateModifierConstructorDescriptionRule(BlockPredicate ifTrue, BlockStateProvider then) Creates an instance of aRulerecord 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 BlockPredicateEnvironmentScanPlacement.allowedSearchConditionprivate final BlockPredicateBlockPredicateFilter.predicateprivate final BlockPredicateEnvironmentScanPlacement.targetConditionMethods in net.minecraft.world.level.levelgen.placement with parameters of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicateFilterBlockPredicateFilter.forPredicate(BlockPredicate pPredicate) static EnvironmentScanPlacementEnvironmentScanPlacement.scanningFor(Direction pDirectionOfSearch, BlockPredicate pTargetCondition, int pMaxSteps) static EnvironmentScanPlacementEnvironmentScanPlacement.scanningFor(Direction pDirectionOfSearch, BlockPredicate pTargetCondition, BlockPredicate pAllowedSearchCondition, int pMaxSteps) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type BlockPredicateModifierConstructorDescriptionprivateBlockPredicateFilter(BlockPredicate pPredicate) privateEnvironmentScanPlacement(Direction pDirectionOfSearch, BlockPredicate pTargetCondition, BlockPredicate pAllowedSearchCondition, int pMaxSteps)