Uses of Interface
net.minecraft.world.gen.blockpredicate.BlockPredicate
Package
Description
-
Uses of BlockPredicate in net.minecraft.enchantment.effect.entity
Modifier and TypeFieldDescriptionprivate final Optional
<BlockPredicate> ReplaceBlockEnchantmentEffect.predicate
The field for thepredicate
record component.private final Optional
<BlockPredicate> ReplaceDiskEnchantmentEffect.predicate
The field for thepredicate
record component.Modifier and TypeMethodDescriptionReplaceBlockEnchantmentEffect.predicate()
Returns the value of thepredicate
record component.ReplaceDiskEnchantmentEffect.predicate()
Returns the value of thepredicate
record component.ModifierConstructorDescriptionReplaceBlockEnchantmentEffect
(Vec3i vec3i, Optional<BlockPredicate> optional, BlockStateProvider blockStateProvider, Optional<RegistryEntry<GameEvent>> optional2) ReplaceDiskEnchantmentEffect
(EnchantmentLevelBasedValue enchantmentLevelBasedValue, EnchantmentLevelBasedValue enchantmentLevelBasedValue2, Vec3i vec3i, Optional<BlockPredicate> optional, BlockStateProvider blockStateProvider, Optional<RegistryEntry<GameEvent>> optional2) -
Uses of BlockPredicate in net.minecraft.world.gen.blockpredicate
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
class
class
(package private) class
class
(package private) class
(package private) class
class
(package private) class
class
Deprecated.(package private) final record
class
Modifier and TypeFieldDescriptionstatic final BlockPredicate
BlockPredicate.IS_AIR
static final BlockPredicate
BlockPredicate.IS_AIR_OR_WATER
private final BlockPredicate
NotBlockPredicate.predicate
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockPredicate> BlockPredicate.BASE_CODEC
protected final List
<BlockPredicate> CombinedBlockPredicate.predicates
Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(List<BlockPredicate> predicates) static BlockPredicate
BlockPredicate.allOf
(BlockPredicate[] predicates) static BlockPredicate
BlockPredicate.alwaysTrue()
static BlockPredicate
BlockPredicate.anyOf
(List<BlockPredicate> predicates) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate[] predicates) static BlockPredicate
BlockPredicate.bothOf
(BlockPredicate first, BlockPredicate second) static BlockPredicate
BlockPredicate.eitherOf
(BlockPredicate first, BlockPredicate second) static BlockPredicate
BlockPredicate.hasSturdyFace
(Direction face) static BlockPredicate
BlockPredicate.hasSturdyFace
(Vec3i offset, Direction face) static BlockPredicate
BlockPredicate.insideWorldBounds
(Vec3i offset) static BlockPredicate
BlockPredicate.matchingBlocks
(List<Block> blocks) static BlockPredicate
BlockPredicate.matchingBlocks
(Block[] blocks) static BlockPredicate
BlockPredicate.matchingBlocks
(Vec3i offset, List<Block> blocks) static BlockPredicate
BlockPredicate.matchingBlocks
(Vec3i offset, Block[] blocks) static BlockPredicate
BlockPredicate.matchingBlockTag
(TagKey<Block> offset) static BlockPredicate
BlockPredicate.matchingBlockTag
(Vec3i offset, TagKey<Block> tag) static BlockPredicate
BlockPredicate.matchingFluids
(Fluid[] fluids) static BlockPredicate
BlockPredicate.matchingFluids
(Vec3i offset, List<Fluid> fluids) static BlockPredicate
BlockPredicate.matchingFluids
(Vec3i offset, Fluid[] fluids) static BlockPredicate
BlockPredicate.noFluid()
static BlockPredicate
static BlockPredicate
BlockPredicate.not
(BlockPredicate predicate) static BlockPredicate
BlockPredicate.replaceable()
static BlockPredicate
BlockPredicate.replaceable
(Vec3i offset) static BlockPredicate
BlockPredicate.solid()
static BlockPredicate
static BlockPredicate
BlockPredicate.unobstructed()
static BlockPredicate
BlockPredicate.unobstructed
(Vec3i offset) static BlockPredicate
BlockPredicate.wouldSurvive
(BlockState state, Vec3i offset) Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(BlockPredicate[] predicates) static BlockPredicate
BlockPredicate.anyOf
(BlockPredicate[] predicates) static BlockPredicate
BlockPredicate.bothOf
(BlockPredicate first, BlockPredicate second) static BlockPredicate
BlockPredicate.eitherOf
(BlockPredicate first, BlockPredicate second) static BlockPredicate
BlockPredicate.not
(BlockPredicate predicate) Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.allOf
(List<BlockPredicate> predicates) static BlockPredicate
BlockPredicate.anyOf
(List<BlockPredicate> predicates) static <T extends CombinedBlockPredicate>
com.mojang.serialization.MapCodec<T> CombinedBlockPredicate.buildCodec
(Function<List<BlockPredicate>, T> combiner) ModifierConstructorDescriptionAllOfBlockPredicate
(List<BlockPredicate> predicates) AnyOfBlockPredicate
(List<BlockPredicate> predicates) protected
CombinedBlockPredicate
(List<BlockPredicate> predicates) -
Uses of BlockPredicate in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionprivate final BlockPredicate
BlockColumnFeatureConfig.allowedPlacement
The field for theallowedPlacement
record component.final BlockPredicate
RootSystemFeatureConfig.predicate
final BlockPredicate
HugeFungusFeatureConfig.replaceableBlocks
private final BlockPredicate
DiskFeatureConfig.target
The field for thetarget
record component.Modifier and TypeMethodDescriptionBlockColumnFeatureConfig.allowedPlacement()
Returns the value of theallowedPlacement
record component.private static BlockPredicate
ConfiguredFeatures.createBlockPredicate
(List<Block> validGround) DiskFeatureConfig.target()
Returns the value of thetarget
record component.Modifier and TypeMethodDescriptionstatic <FC extends FeatureConfig,
F extends Feature<FC>>
RegistryEntry<PlacedFeature> PlacedFeatures.createEntry
(F feature, FC featureConfig, BlockPredicate predicate) ModifierConstructorDescriptionBlockColumnFeatureConfig
(List<BlockColumnFeatureConfig.Layer> list, Direction direction, BlockPredicate blockPredicate, boolean bool) DiskFeatureConfig
(PredicatedStateProvider predicatedStateProvider, BlockPredicate blockPredicate, IntProvider intProvider, int int2) HugeFungusFeatureConfig
(BlockState validBaseBlock, BlockState stemState, BlockState hatState, BlockState decorationState, BlockPredicate replaceableBlocks, boolean planted) RootSystemFeatureConfig
(RegistryEntry<PlacedFeature> feature, int requiredVerticalSpaceForTree, int rootRadius, TagKey<Block> rootReplaceable, BlockStateProvider rootStateProvider, int rootPlacementAttempts, int maxRootColumnHeight, int hangingRootRadius, int hangingRootVerticalSpan, BlockStateProvider hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate predicate) -
Uses of BlockPredicate in net.minecraft.world.gen.placementmodifier
Modifier and TypeFieldDescriptionprivate final BlockPredicate
EnvironmentScanPlacementModifier.allowedSearchPredicate
private final BlockPredicate
BlockFilterPlacementModifier.predicate
private final BlockPredicate
EnvironmentScanPlacementModifier.targetPredicate
Modifier and TypeMethodDescriptionstatic BlockFilterPlacementModifier
BlockFilterPlacementModifier.of
(BlockPredicate predicate) EnvironmentScanPlacementModifier.of
(Direction direction, BlockPredicate targetPredicate, int maxSteps) EnvironmentScanPlacementModifier.of
(Direction direction, BlockPredicate targetPredicate, BlockPredicate allowedSearchPredicate, int maxSteps) ModifierConstructorDescriptionprivate
BlockFilterPlacementModifier
(BlockPredicate predicate) private
EnvironmentScanPlacementModifier
(Direction direction, BlockPredicate targetPredicate, BlockPredicate allowedSearchPredicate, int maxSteps) -
Uses of BlockPredicate in net.minecraft.world.gen.stateprovider
Modifier and TypeFieldDescriptionprivate final BlockPredicate
PredicatedStateProvider.Rule.ifTrue
The field for theifTrue
record component.Modifier and TypeMethodDescriptionPredicatedStateProvider.Rule.ifTrue()
Returns the value of theifTrue
record component.ModifierConstructorDescriptionRule
(BlockPredicate blockPredicate, BlockStateProvider blockStateProvider)