Uses of Interface
dev.wyck.worldgen.blockpredicates.BlockPredicate
Packages that use BlockPredicate
Package
Description
-
Uses of BlockPredicate in dev.wyck.worldgen.blockpredicates
Subinterfaces of BlockPredicate in dev.wyck.worldgen.blockpredicatesModifier and TypeInterfaceDescriptioninterfaceCombined multiple block predicates.interfaceCombined multiple block predicates.interfaceA predicate that combines multiple other predicates.interfaceChecks if the block at the specified offset has a full block supporting surface in the specified direction.interfaceChecks if the position's y-level (with the specified offset) is within the height limits of the world.interfaceChecks if the biome at the block's position is one of the specified biomes.interfaceChecks if the block at the specified offset is one of the specified blocks.interfaceChecks if the block at the specified offset is in the given block tag.interfaceChecks if the fluid at the specified offset is one of the specified fluids.interfaceInverts a given block predicate.interfaceChecks if the block at the specified offset can be replaced by placing blocks.interfaceChecks if the block at the specified offset is solid.interfaceAlways matches, independent of the block.interfaceChecks if the specified block state would be a valid placement at the given offset.Fields in dev.wyck.worldgen.blockpredicates with type parameters of type BlockPredicateModifier and TypeFieldDescriptionprotected List<BlockPredicate> CombiningPredicate.CombiningPredicateBuilder.predicatesMethods in dev.wyck.worldgen.blockpredicates that return BlockPredicateModifier and TypeMethodDescriptionstatic BlockPredicateReads a Minecraft block predicate into a wrapper.NotPredicate.predicate()The predicate to invert.Methods in dev.wyck.worldgen.blockpredicates that return types with arguments of type BlockPredicateMethods in dev.wyck.worldgen.blockpredicates with parameters of type BlockPredicateModifier and TypeMethodDescriptionstatic NotPredicateBlockPredicate.not(BlockPredicate predicate) Creates aNotPredicatethat inverts the given predicate.static NotPredicateNotPredicate.of(BlockPredicate predicate) Creates a newNotPredicatewith the given predicate.CombiningPredicate.CombiningPredicateBuilder.predicate(BlockPredicate predicate) Adds a predicate to the list.CombiningPredicate.CombiningPredicateBuilder.predicate(BlockPredicate... predicates) Adds multiple predicates to the list.CombiningPredicate.CombiningPredicateBuilder.predicates(BlockPredicate... predicates) Sets the predicates.Method parameters in dev.wyck.worldgen.blockpredicates with type arguments of type BlockPredicateModifier and TypeMethodDescriptionstatic AllOfPredicateAllOfPredicate.of(List<BlockPredicate> predicates) Creates a new AllOfPredicate with the specified predicates.static AnyOfPredicateAnyOfPredicate.of(List<BlockPredicate> predicates) Creates a new AnyOfPredicate with the specified predicates.CombiningPredicate.CombiningPredicateBuilder.predicates(List<BlockPredicate> predicates) Sets the predicates. -
Uses of BlockPredicate in dev.wyck.worldgen.feature.configurations
Fields in dev.wyck.worldgen.feature.configurations declared as BlockPredicateModifier and TypeFieldDescriptionstatic final BlockPredicateBlockColumnConfiguration.ONLY_IN_AIR_PREDICATEMethods in dev.wyck.worldgen.feature.configurations that return BlockPredicateModifier and TypeMethodDescriptionBlockColumnConfiguration.allowedPlacement()The block predicate that must be passed for each position of the column.RootSystemConfiguration.allowedTreePosition()The block predicate used to check if the tree position is valid.LakeFeatureConfiguration.canPlaceFeature()Describes the block that the feature can be placed on.BlockBlobConfiguration.canPlaceOn()The block predicate that must be passed for the blob to be placed on a block.HugeMushroomFeatureConfiguration.canPlaceOn()The predicate that defines which blocks the huge mushroom can be placed on.SpikeConfiguration.canPlaceOn()The predicate that defines which blocks the spike can be placed on.SpikeConfiguration.canReplace()The predicate that defines which blocks the spike can replace.LakeFeatureConfiguration.canReplaceWithAirOrFluid()Describes the block that the feature can replace with air or the providedfluidblock.LakeFeatureConfiguration.canReplaceWithBarrier()Describes the block that the feature can replace with the providedbarrierblock.HugeFungusConfiguration.replaceableBlocks()Gets the replaceable blocks for the huge fungus configuration.DiskConfiguration.target()The block predicate that must be passed for a block to be replaced when generating this feature.Methods in dev.wyck.worldgen.feature.configurations with parameters of type BlockPredicateModifier and TypeMethodDescriptionBlockColumnConfiguration.Builder.allowedPlacement(BlockPredicate allowedPlacement) Sets the block predicate that must be passed for each position of the column.RootSystemConfiguration.Builder.allowedTreePosition(BlockPredicate allowedTreePosition) Sets the block predicate used to check if the tree position is valid.BlockBlobConfiguration.Builder.canPlaceOn(BlockPredicate canPlaceOn) Sets the block predicate that must be passed for the blob to be placed on a block.HugeMushroomFeatureConfiguration.Builder.canPlaceOn(BlockPredicate canPlaceOn) Sets the predicate that defines which blocks the mushroom can be placed on.LakeFeatureConfiguration.Builder.canPlaceOn(BlockPredicate canPlaceOn) Sets the predicate describing the block that the feature can be placed on.SpikeConfiguration.Builder.canPlaceOn(BlockPredicate canPlaceOn) Sets the can place on predicate.SpikeConfiguration.Builder.canReplace(BlockPredicate canReplace) Sets the can replace predicate.LakeFeatureConfiguration.Builder.canReplaceWithAirOrFluid(BlockPredicate canReplaceWithAirOrFluid) Sets the predicate describing the block that the feature can replace with air or the providedfluidblock.LakeFeatureConfiguration.Builder.canReplaceWithBarrier(BlockPredicate canReplaceWithBarrier) Sets the predicate describing the block that the feature can replace with the providedbarrierblock.static LakeFeatureConfigurationLakeFeatureConfiguration.create(BlockStateProvider fluid, BlockStateProvider barrier, BlockPredicate canPlaceOn, BlockPredicate canReplaceWithAirOrFluid, BlockPredicate canReplaceWithBarrier) Creates a new lake feature configuration.static BlockBlobConfigurationBlockBlobConfiguration.of(BlockData state, BlockPredicate canPlaceOn) Creates a new block blob configuration.static BlockColumnConfigurationBlockColumnConfiguration.of(List<BlockColumnConfiguration.Layer> layers, BlockFace direction, BlockPredicate allowedPlacement, boolean prioritizeTip) Creates a new block column configuration.static DiskConfigurationDiskConfiguration.of(BlockStateProvider stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates a new disk configuration.static HugeFungusConfigurationHugeFungusConfiguration.of(BlockData validBaseState, BlockData stemState, BlockData hatState, BlockData decorState, BlockPredicate replaceableBlocks, boolean planted) Creates a new instance of HugeFungusConfiguration with the specified parameters.HugeMushroomFeatureConfiguration.of(BlockStateProvider capProvider, BlockStateProvider stemProvider, int foliageRadius, BlockPredicate canPlaceOn) Creates a new huge mushroom feature configuration.static RootSystemConfigurationRootSystemConfiguration.of(PlacedFeature treeFeature, int requiredVerticalSpaceForTree, int levelTestDistance, int maxLevelDeviation, int rootRadius, TagSet<Material> rootReplaceable, BlockStateProvider rootStateProvider, int rootPlacementAttempts, int rootColumnMaxHeight, int hangingRootRadius, int hangingRootsVerticalSpan, BlockStateProvider hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate allowedTreePosition) Creates a new root system configuration.static SpikeConfigurationSpikeConfiguration.of(BlockData state, BlockPredicate canPlaceOn, BlockPredicate canReplace) Creates a new spike configuration.HugeFungusConfiguration.Builder.replaceableBlocks(BlockPredicate replaceableBlocks) Sets the replaceable blocks for the huge fungus configuration.DiskConfiguration.Builder.target(BlockPredicate target) Sets the block predicate that must be passed for a block to be replaced. -
Uses of BlockPredicate in dev.wyck.worldgen.placement
Methods in dev.wyck.worldgen.placement that return BlockPredicateModifier and TypeMethodDescriptionEnvironmentScanPlacement.allowedSearchCondition()Each step must match this block predicate to continue the scan.BlockPredicateFilter.predicate()The block predicate to test.EnvironmentScanPlacement.targetCondition()The block predicate that is searched for.Methods in dev.wyck.worldgen.placement with parameters of type BlockPredicateModifier and TypeMethodDescriptionEnvironmentScanPlacement.Builder.allowedSearchCondition(BlockPredicate allowedSearchCondition) Sets the allowed search condition.static BlockPredicateFilterPlacementFilter.blockPredicate(BlockPredicate predicate) A new instance of a block predicate filter.static BlockPredicateFilterPlacementModifier.blockPredicateFilter(BlockPredicate predicate) Creates a block predicate filter.static BlockPredicateFilterBlockPredicateFilter.of(BlockPredicate predicate) Creates a new block predicate filter.static EnvironmentScanPlacementEnvironmentScanPlacement.of(BlockFace directionOfSearch, BlockPredicate targetCondition, BlockPredicate allowedSearchCondition, int maxSteps) Creates a new environment scan placement.EnvironmentScanPlacement.Builder.targetCondition(BlockPredicate targetCondition) Sets the target condition. -
Uses of BlockPredicate in dev.wyck.worldgen.stateproviders
Methods in dev.wyck.worldgen.stateproviders that return BlockPredicateModifier and TypeMethodDescriptionRuleBasedStateProvider.Rule.ifTrue()Returns the value of theifTruerecord component.Methods in dev.wyck.worldgen.stateproviders with parameters of type BlockPredicateModifier and TypeMethodDescriptionRuleBasedStateProvider.Builder.rule(BlockPredicate ifTrue, BlockStateProvider then) Adds a rule to the block state provider.static RuleBasedStateProvider.RuleRuleBasedStateProvider.rule(BlockPredicate ifTrue, BlockStateProvider then) Creates a new builder.Constructors in dev.wyck.worldgen.stateproviders with parameters of type BlockPredicateModifierConstructorDescriptionRule(BlockPredicate ifTrue, BlockStateProvider then) Creates an instance of aRulerecord class.