Uses of Interface
net.minecraft.world.gen.blockpredicate.BlockPredicate
Package
Description
-
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
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.matchingBlock
(Block block, Vec3i offset) static BlockPredicate
BlockPredicate.matchingBlocks
(List<Block> blocks) static BlockPredicate
BlockPredicate.matchingBlocks
(List<Block> blocks, Vec3i offset) static BlockPredicate
BlockPredicate.matchingBlockTag
(TagKey<Block> offset) static BlockPredicate
BlockPredicate.matchingBlockTag
(TagKey<Block> tag, Vec3i offset) static BlockPredicate
BlockPredicate.matchingFluid
(Fluid fluid, Vec3i offset) static BlockPredicate
BlockPredicate.matchingFluids
(List<Fluid> fluids, Vec3i offset) 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.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.Codec<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.static final BlockPredicate
TreePlacedFeatures.ON_SNOW_PREDICATE
final BlockPredicate
RootSystemFeatureConfig.predicate
Modifier and TypeMethodDescriptionBlockColumnFeatureConfig.allowedPlacement()
Returns the value of theallowedPlacement
record component.private static BlockPredicate
ConfiguredFeatures.createBlockPredicate
(List<Block> validGround) 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) 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)