Uses of Interface
net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
Packages that use BlockPredicate
Package
Description
-
Uses of BlockPredicate in net.minecraft.core.component
Methods in net.minecraft.core.component with parameters of type BlockPredicateModifier and TypeMethodDescriptionBlockTransformer.BlockTransformData.builder(BlockPredicate predicate, Block block) -
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, Holder<BlockStateProvider> blockState, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aReplaceBlockrecord class.ReplaceDisk(LevelBasedValue radius, LevelBasedValue height, Vec3i offset, Optional<BlockPredicate> predicate, Holder<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 TypeClassDescriptionclassclassclassclassfinal recordclassclassclassclassclassclassclassclassDeprecated.classclassfinal recordfinal recordclassFields in net.minecraft.world.level.levelgen.blockpredicates declared as BlockPredicateModifier and TypeFieldDescriptionprivate final BlockPredicateVolumeMatchPredicate.matchThe field for thematchrecord component.static 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> predicates) static BlockPredicateBlockPredicate.allOf(BlockPredicate... predicates) static BlockPredicateBlockPredicate.allOf(BlockPredicate a, BlockPredicate b) static BlockPredicateBlockPredicate.alwaysTrue()static BlockPredicateBlockPredicate.anyOf(List<BlockPredicate> predicates) static BlockPredicateBlockPredicate.anyOf(BlockPredicate... predicates) static BlockPredicateBlockPredicate.anyOf(BlockPredicate a, BlockPredicate b) static BlockPredicateBlockPredicate.hasSturdyFace(Direction direction) static BlockPredicateBlockPredicate.hasSturdyFace(Directional offset, Direction direction) static BlockPredicateBlockPredicate.heightRange(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) static BlockPredicateBlockPredicate.insideWorld(Vec3i offset) VolumeMatchPredicate.match()Returns the value of thematchrecord component.static BlockPredicateBlockPredicate.matchesBlocks(Directional directional, Block... blocks) static BlockPredicateBlockPredicate.matchesBlocks(Vec3i offset, List<Block> blocks) static BlockPredicateBlockPredicate.matchesBlocks(Block... blocks) static BlockPredicateBlockPredicate.matchesFluids(Directional directional, Fluid... fluids) static BlockPredicateBlockPredicate.matchesFluids(Vec3i offset, List<Fluid> fluids) static BlockPredicateBlockPredicate.matchesFluids(Fluid... fluids) static BlockPredicateBlockPredicate.matchesTag(Directional directional, TagKey<Block> tag) static BlockPredicateBlockPredicate.matchesTag(Vec3i offset, TagKey<Block> tag) static BlockPredicateBlockPredicate.matchesTag(TagKey<Block> tag) static BlockPredicateBlockPredicate.noFluid()static BlockPredicateBlockPredicate.not(BlockPredicate predicate) static BlockPredicateBlockPredicate.replaceable()static BlockPredicateBlockPredicate.solid()static BlockPredicateBlockPredicate.solid(Directional directional) static BlockPredicateBlockPredicate.unobstructed()static BlockPredicateBlockPredicate.volumeMatch(Vec3i min, Vec3i max, BlockPredicate match) static BlockPredicateBlockPredicate.wouldSurvive(Block block) Methods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.allOf(BlockPredicate... predicates) static BlockPredicateBlockPredicate.allOf(BlockPredicate a, BlockPredicate b) static BlockPredicateBlockPredicate.anyOf(BlockPredicate... predicates) static BlockPredicateBlockPredicate.anyOf(BlockPredicate a, BlockPredicate b) static BlockPredicateBlockPredicate.not(BlockPredicate predicate) static BlockPredicateBlockPredicate.volumeMatch(Vec3i min, Vec3i max, BlockPredicate match) Method parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicateBlockPredicate.allOf(List<BlockPredicate> predicates) static BlockPredicateBlockPredicate.anyOf(List<BlockPredicate> predicates) static <T extends CombiningPredicate>
com.mojang.serialization.MapCodec<T> CombiningPredicate.codec(Function<List<BlockPredicate>, T> constructor) Constructors in net.minecraft.world.level.levelgen.blockpredicates with parameters of type BlockPredicateModifierConstructorDescriptionNotPredicate(BlockPredicate predicate) VolumeMatchPredicate(Vec3i min, Vec3i max, BlockPredicate match) Creates an instance of aVolumeMatchPredicaterecord class.Constructor parameters in net.minecraft.world.level.levelgen.blockpredicates with type arguments of type BlockPredicateModifierConstructorDescriptionAllOfPredicate(List<BlockPredicate> predicates) AnyOfPredicate(List<BlockPredicate> predicates) protectedCombiningPredicate(List<BlockPredicate> predicates) -
Uses of BlockPredicate in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as BlockPredicateModifier and TypeFieldDescriptionprivate final BlockPredicateBlockColumnFeature.allowedPlacementThe field for theallowedPlacementrecord component.private final BlockPredicateRootSystemFeature.allowedTreePositionThe field for theallowedTreePositionrecord component.private final BlockPredicateLakeFeature.canPlaceFeatureDeprecated.The field for thecanPlaceFeaturerecord component.private final BlockPredicateBlockBlobFeature.canPlaceOnThe field for thecanPlaceOnrecord component.private final BlockPredicateHugeBrownMushroomFeature.canPlaceOnThe field for thecanPlaceOnrecord component.private final BlockPredicateHugeRedMushroomFeature.canPlaceOnThe field for thecanPlaceOnrecord component.private final BlockPredicateSpikeFeature.canPlaceOnThe field for thecanPlaceOnrecord component.private final BlockPredicateRandomNeighborSpreadFeature.canReplaceThe field for thecanReplacerecord component.private final BlockPredicateSingleBlockPillarFeature.canReplaceThe field for thecanReplacerecord component.private final BlockPredicateSpikeFeature.canReplaceThe field for thecanReplacerecord component.private final BlockPredicateSteppedColumnClusterFeature.canReplaceThe field for thecanReplacerecord component.private final BlockPredicateLakeFeature.canReplaceWithAirOrFluidDeprecated.The field for thecanReplaceWithAirOrFluidrecord component.private final BlockPredicateLakeFeature.canReplaceWithBarrierDeprecated.The field for thecanReplaceWithBarrierrecord component.private final BlockPredicateSteppedColumnClusterFeature.continueThroughThe field for thecontinueThroughrecord component.private final BlockPredicateProjectedRandomPatchySquare.projectThroughThe field for theprojectThroughrecord component.private final BlockPredicateHugeFungusFeature.replaceableBlocksThe field for thereplaceableBlocksrecord component.private final BlockPredicateDiskFeature.targetThe field for thetargetrecord component.Methods in net.minecraft.world.level.levelgen.feature that return BlockPredicateModifier and TypeMethodDescriptionBlockColumnFeature.allowedPlacement()Returns the value of theallowedPlacementrecord component.RootSystemFeature.allowedTreePosition()Returns the value of theallowedTreePositionrecord component.LakeFeature.canPlaceFeature()Deprecated.Returns the value of thecanPlaceFeaturerecord component.AbstractHugeMushroomFeature.canPlaceOn()BlockBlobFeature.canPlaceOn()Returns the value of thecanPlaceOnrecord component.HugeBrownMushroomFeature.canPlaceOn()Returns the value of thecanPlaceOnrecord component.HugeRedMushroomFeature.canPlaceOn()Returns the value of thecanPlaceOnrecord component.SpikeFeature.canPlaceOn()Returns the value of thecanPlaceOnrecord component.RandomNeighborSpreadFeature.canReplace()Returns the value of thecanReplacerecord component.SingleBlockPillarFeature.canReplace()Returns the value of thecanReplacerecord component.SpikeFeature.canReplace()Returns the value of thecanReplacerecord component.SteppedColumnClusterFeature.canReplace()Returns the value of thecanReplacerecord component.LakeFeature.canReplaceWithAirOrFluid()Deprecated.Returns the value of thecanReplaceWithAirOrFluidrecord component.LakeFeature.canReplaceWithBarrier()Deprecated.Returns the value of thecanReplaceWithBarrierrecord component.SteppedColumnClusterFeature.continueThrough()Returns the value of thecontinueThroughrecord component.ProjectedRandomPatchySquare.projectThrough()Returns the value of theprojectThroughrecord component.HugeFungusFeature.replaceableBlocks()Returns the value of thereplaceableBlocksrecord component.DiskFeature.target()Returns the value of thetargetrecord component.Constructors in net.minecraft.world.level.levelgen.feature with parameters of type BlockPredicateModifierConstructorDescriptionBlockBlobFeature(BlockState state, BlockPredicate canPlaceOn) Creates an instance of aBlockBlobFeaturerecord class.BlockColumnFeature(List<BlockColumnFeature.Layer> layers, Direction direction, BlockPredicate allowedPlacement, boolean prioritizeTip) Creates an instance of aBlockColumnFeaturerecord class.DiskFeature(Holder<BlockStateProvider> stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates an instance of aDiskFeaturerecord class.HugeBrownMushroomFeature(Holder<BlockStateProvider> capProvider, Holder<BlockStateProvider> stemProvider, int foliageRadius, BlockPredicate canPlaceOn) Creates an instance of aHugeBrownMushroomFeaturerecord class.HugeFungusFeature(BlockState validBaseState, BlockState stemState, BlockState hatState, BlockState decorState, BlockPredicate replaceableBlocks, boolean planted) Creates an instance of aHugeFungusFeaturerecord class.HugeRedMushroomFeature(Holder<BlockStateProvider> capProvider, Holder<BlockStateProvider> stemProvider, int foliageRadius, BlockPredicate canPlaceOn) Creates an instance of aHugeRedMushroomFeaturerecord class.LakeFeature(Holder<BlockStateProvider> fluid, Holder<BlockStateProvider> barrier, BlockPredicate canPlaceFeature, BlockPredicate canReplaceWithAirOrFluid, BlockPredicate canReplaceWithBarrier) Deprecated.Creates an instance of aLakeFeaturerecord class.ProjectedRandomPatchySquare(Holder<BlockStateProvider> block, BlockPredicate projectThrough, IntProvider size, int maxProjectionHeight) Creates an instance of aProjectedRandomPatchySquarerecord class.RandomNeighborSpreadFeature(Holder<BlockStateProvider> block, HolderSet<Block> acceptedNeighbors, BlockPredicate canReplace, IntProvider attempts, IntProvider xzOffset, IntProvider yOffset) Creates an instance of aRandomNeighborSpreadFeaturerecord class.RootSystemFeature(Holder<PlacedFeature> treeFeature, int requiredVerticalSpaceForTree, int levelTestDistance, int maxLevelDeviation, int rootRadius, HolderSet<Block> rootReplaceable, Holder<BlockStateProvider> rootStateProvider, int rootPlacementAttempts, int rootColumnMaxHeight, int hangingRootRadius, int hangingRootsVerticalSpan, Holder<BlockStateProvider> hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate allowedTreePosition) Creates an instance of aRootSystemFeaturerecord class.SingleBlockPillarFeature(Holder<BlockStateProvider> block, BlockPredicate mayReplace, Direction direction, float chanceToContinue) SingleBlockPillarFeature(Holder<BlockStateProvider> block, BlockPredicate canReplace, Direction direction, float chanceToContinue, Optional<Holder<PlacedFeature>> capFeature) Creates an instance of aSingleBlockPillarFeaturerecord class.SpikeFeature(BlockState state, BlockPredicate canPlaceOn, BlockPredicate canReplace) Creates an instance of aSpikeFeaturerecord class.SteppedColumnClusterFeature(Holder<BlockStateProvider> block, BlockPredicate continueThrough, BlockPredicate canReplace, HolderSet<Block> cannotPlaceOn, IntProvider clusterReach, IntProvider columnCount, IntProvider columnReach, IntProvider height) Creates an instance of aSteppedColumnClusterFeaturerecord class. -
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 BlockPredicateRuleBasedStateProvider.Rule.ifTrueThe field for theifTruerecord component.Methods in net.minecraft.world.level.levelgen.feature.stateproviders that return BlockPredicateModifier and TypeMethodDescriptionRuleBasedStateProvider.Rule.ifTrue()Returns the value of theifTruerecord component.Methods in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockPredicateModifier and TypeMethodDescriptionRuleBasedStateProvider.Builder.ifTrueThenProvide(BlockPredicate ifTrue, Block thenProvide) RuleBasedStateProvider.Builder.ifTrueThenProvide(BlockPredicate ifTrue, BlockState thenProvide) RuleBasedStateProvider.Builder.ifTrueThenProvide(BlockPredicate ifTrue, BlockStateProvider thenProvide) static RuleBasedStateProviderRuleBasedStateProvider.ifTrueThenProvide(BlockPredicate ifTrue, Block thenProvide) static RuleBasedStateProviderRuleBasedStateProvider.ifTrueThenProvide(BlockPredicate ifTrue, BlockStateProvider thenProvide) Constructors in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type BlockPredicateModifierConstructorDescriptionRule(BlockPredicate ifTrue, Holder<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.allowedSearchConditionThe field for theallowedSearchConditionrecord component.private final BlockPredicateBlockPredicateFilter.predicateThe field for thepredicaterecord component.private final BlockPredicateEnvironmentScanPlacement.targetConditionThe field for thetargetConditionrecord component.Methods in net.minecraft.world.level.levelgen.placement that return BlockPredicateModifier and TypeMethodDescriptionEnvironmentScanPlacement.allowedSearchCondition()Returns the value of theallowedSearchConditionrecord component.BlockPredicateFilter.predicate()Returns the value of thepredicaterecord component.EnvironmentScanPlacement.targetCondition()Returns the value of thetargetConditionrecord component.Methods in net.minecraft.world.level.levelgen.placement with parameters of type BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicateFilterBlockPredicateFilter.forPredicate(BlockPredicate predicate) static EnvironmentScanPlacementEnvironmentScanPlacement.scanningFor(Direction directionOfSearch, BlockPredicate targetCondition, int maxSteps) static EnvironmentScanPlacementEnvironmentScanPlacement.scanningFor(Direction directionOfSearch, BlockPredicate targetCondition, BlockPredicate allowedSearchCondition, int maxSteps) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type BlockPredicateModifierConstructorDescriptionBlockPredicateFilter(BlockPredicate predicate) Creates an instance of aBlockPredicateFilterrecord class.EnvironmentScanPlacement(Direction directionOfSearch, BlockPredicate targetCondition, BlockPredicate allowedSearchCondition, int maxSteps) Creates an instance of aEnvironmentScanPlacementrecord class.