Uses of Interface
dev.wyck.worldgen.stateproviders.BlockStateProvider
Packages that use BlockStateProvider
Package
Description
-
Uses of BlockStateProvider in dev.wyck.worldgen.feature.configurations
Methods in dev.wyck.worldgen.feature.configurations that return BlockStateProviderModifier and TypeMethodDescriptionLakeFeatureConfiguration.barrier()The block to use for the barrier of the lake.TreeConfiguration.belowTrunkProvider()A rule-based block state provider defining how to replace the block below the trunk.HugeMushroomFeatureConfiguration.capProvider()The block to use for the cap.LakeFeatureConfiguration.fluid()The block to use for the fluid of the lake.TreeConfiguration.foliageProvider()The block to use for the foliage.VegetationPatchConfiguration.groundState()The block used to build the patch (the "ground").RootSystemConfiguration.hangingRootStateProvider()The block to use for the hanging roots.RootSystemConfiguration.rootStateProvider()The block to use for the root column.BlockColumnConfiguration.Layer.state()Returns the value of thestaterecord component.BlockPileConfiguration.stateProvider()The block state provider used for the blocks in the pile.DiskConfiguration.stateProvider()The block state provider used for the blocks that make up the disk.NetherForestVegetationConfig.stateProvider()The block to use.HugeMushroomFeatureConfiguration.stemProvider()The block to use for the stem.SimpleBlockConfiguration.toPlace()The block to use.FallenTreeConfiguration.trunkProvider()The block state provider used for the fallen tree's trunk.TreeConfiguration.trunkProvider()The block to use for the trunk.Methods in dev.wyck.worldgen.feature.configurations with parameters of type BlockStateProviderModifier and TypeMethodDescriptionLakeFeatureConfiguration.Builder.barrier(BlockStateProvider barrier) Sets the barrier provider.TreeConfiguration.Builder.belowTrunkProvider(BlockStateProvider belowTrunkProvider) Sets the below trunk provider.static BlockPileConfigurationFeatureConfiguration.blockPile(BlockStateProvider stateProvider) Creates aBlockPileConfiguration.HugeMushroomFeatureConfiguration.Builder.capProvider(BlockStateProvider capProvider) Sets the block state provider for the cap.static LakeFeatureConfigurationLakeFeatureConfiguration.create(BlockStateProvider fluid, BlockStateProvider barrier, BlockPredicate canPlaceOn, BlockPredicate canReplaceWithAirOrFluid, BlockPredicate canReplaceWithBarrier) Creates a new lake feature configuration.LakeFeatureConfiguration.Builder.fluid(BlockStateProvider fluid) Sets the fluid provider.TreeConfiguration.Builder.foliageProvider(BlockStateProvider foliageProvider) Sets the foliage provider.VegetationPatchConfiguration.Builder.groundState(BlockStateProvider groundState) Sets the block used to build the patch.RootSystemConfiguration.Builder.hangingRootStateProvider(BlockStateProvider hangingRootStateProvider) Sets the block to use for the hanging roots.BlockColumnConfiguration.Builder.layer(IntProvider height, BlockStateProvider state) Adds a single layer to the column.BlockColumnConfiguration.layer(IntProvider height, BlockStateProvider state) Creates a new layer for a block column.static BlockPileConfigurationBlockPileConfiguration.of(BlockStateProvider stateProvider) Creates a new block pile configuration.static DiskConfigurationDiskConfiguration.of(BlockStateProvider stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates a new disk configuration.static FallenTreeConfigurationFallenTreeConfiguration.of(BlockStateProvider trunkProvider, IntProvider logLength, List<TreeDecorator> stumpDecorators, List<TreeDecorator> logDecorators) Creates a new fallen tree configuration.HugeMushroomFeatureConfiguration.of(BlockStateProvider capProvider, BlockStateProvider stemProvider, int foliageRadius, BlockPredicate canPlaceOn) Creates a new huge mushroom feature configuration.static NetherForestVegetationConfigNetherForestVegetationConfig.of(BlockStateProvider stateProvider, int spreadWidth, int spreadHeight) Creates a new nether forest vegetation 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 SimpleBlockConfigurationSimpleBlockConfiguration.of(BlockStateProvider toPlace) Creates a new simple block configuration.static SimpleBlockConfigurationSimpleBlockConfiguration.of(BlockStateProvider toPlace, boolean scheduleTick) Creates a new simple block configuration.static TreeConfigurationTreeConfiguration.of(BlockStateProvider trunkProvider, TrunkPlacer trunkPlacer, BlockStateProvider foliageProvider, FoliagePlacer foliagePlacer, @Nullable RootPlacer rootPlacer, FeatureSize minimumSize, List<TreeDecorator> decorators, boolean ignoreVines, BlockStateProvider belowTrunkProvider) Creates a new tree configuration.static VegetationPatchConfigurationVegetationPatchConfiguration.of(TagSet<Material> replaceable, BlockStateProvider groundState, PlacedFeature vegetationFeature, CaveSurface surface, IntProvider depth, float extraBottomBlockChance, int verticalRange, float vegetationChance, IntProvider xzRadius, float extraEdgeColumnChance) Creates a new vegetation patch configuration.RootSystemConfiguration.Builder.rootStateProvider(BlockStateProvider rootStateProvider) Sets the block to use for the root column.static BlockColumnConfigurationBlockColumnConfiguration.simple(IntProvider height, BlockStateProvider state) Creates a block column configuration consisting of a single layer.DiskConfiguration.Builder.stateProvider(BlockStateProvider stateProvider) Sets the block state provider used for the blocks that make up the disk.NetherForestVegetationConfig.Builder.stateProvider(BlockStateProvider stateProvider) Sets the block state provider.HugeMushroomFeatureConfiguration.Builder.stemProvider(BlockStateProvider stemProvider) Sets the block state provider for the stem.SimpleBlockConfiguration.Builder.toPlace(BlockStateProvider toPlace) Sets the block state provider.FallenTreeConfiguration.Builder.trunkProvider(BlockStateProvider trunkProvider) Sets the block state provider used for the trunk.TreeConfiguration.Builder.trunkProvider(BlockStateProvider trunkProvider) Sets the trunk provider.Constructors in dev.wyck.worldgen.feature.configurations with parameters of type BlockStateProviderModifierConstructorDescriptionLayer(IntProvider height, BlockStateProvider state) Creates an instance of aLayerrecord class. -
Uses of BlockStateProvider in dev.wyck.worldgen.feature.configurations.geode
Methods in dev.wyck.worldgen.feature.configurations.geode that return BlockStateProviderModifier and TypeMethodDescriptionGeodeBlockSettings.alternateInnerLayerProvider()The block state provider used for the inner layer's alternate block.GeodeBlockSettings.fillingProvider()The block state provider used for the filling layer.GeodeBlockSettings.innerLayerProvider()The block state provider used for the inner layer.GeodeBlockSettings.middleLayerProvider()The block state provider used for the middle layer.GeodeBlockSettings.outerLayerProvider()The block state provider used for the outer layer.Methods in dev.wyck.worldgen.feature.configurations.geode with parameters of type BlockStateProviderModifier and TypeMethodDescriptionGeodeBlockSettings.Builder.alternateInnerLayerProvider(BlockStateProvider alternateInnerLayerProvider) Sets the block state provider used for the inner layer's alternate block.GeodeBlockSettings.Builder.fillingProvider(BlockStateProvider fillingProvider) Sets the block state provider used for the filling layer.GeodeBlockSettings.Builder.innerLayerProvider(BlockStateProvider innerLayerProvider) Sets the block state provider used for the inner layer.GeodeBlockSettings.Builder.middleLayerProvider(BlockStateProvider middleLayerProvider) Sets the block state provider used for the middle layer.static GeodeBlockSettingsGeodeBlockSettings.of(BlockStateProvider fillingProvider, BlockStateProvider innerLayerProvider, BlockStateProvider alternateInnerLayerProvider, BlockStateProvider middleLayerProvider, BlockStateProvider outerLayerProvider, List<BlockData> innerPlacements, TagSet<Material> cannotReplace, TagSet<Material> invalidBlocks) Creates a new geode block settings.GeodeBlockSettings.Builder.outerLayerProvider(BlockStateProvider outerLayerProvider) Sets the block state provider used for the outer layer. -
Uses of BlockStateProvider in dev.wyck.worldgen.feature.rootplacers
Fields in dev.wyck.worldgen.feature.rootplacers declared as BlockStateProviderModifier and TypeFieldDescriptionprotected @Nullable BlockStateProviderRootPlacer.RootPlacerBuilder.rootProviderMethods in dev.wyck.worldgen.feature.rootplacers that return BlockStateProviderModifier and TypeMethodDescriptionAboveRootPlacement.aboveRootProvider()The block above the root.MangroveRootPlacement.muddyRootsProvider()The blocks used as muddy roots.RootPlacer.rootProvider()The block used as the root of the tree.Methods in dev.wyck.worldgen.feature.rootplacers with parameters of type BlockStateProviderModifier and TypeMethodDescriptionAboveRootPlacement.Builder.aboveRootProvider(BlockStateProvider aboveRootProvider) Sets the block above the root.MangroveRootPlacement.Builder.muddyRootsProvider(BlockStateProvider muddyRootsProvider) Sets the blocks used as muddy roots.static AboveRootPlacementAboveRootPlacement.of(BlockStateProvider aboveRootProvider, float aboveRootPlacementChance) Creates a new above root placement.static MangroveRootPlacementMangroveRootPlacement.of(Set<Material> canGrowThrough, Set<Material> muddyRootsIn, BlockStateProvider muddyRootsProvider, int maxRootWidth, int maxRootLength) Creates a new mangrove root placement.static MangroveRootPlacementMangroveRootPlacement.of(Set<Material> canGrowThrough, Set<Material> muddyRootsIn, BlockStateProvider muddyRootsProvider, int maxRootWidth, int maxRootLength, float randomSkewChance) static MangroveRootPlacerMangroveRootPlacer.of(IntProvider trunkOffsetY, BlockStateProvider rootProvider, @Nullable AboveRootPlacement aboveRootPlacement, MangroveRootPlacement mangroveRootPlacement) Creates a new mangrove root placer.RootPlacer.RootPlacerBuilder.rootProvider(BlockStateProvider rootProvider) Sets the block used as the root of the tree. -
Uses of BlockStateProvider in dev.wyck.worldgen.feature.treedecorators
Methods in dev.wyck.worldgen.feature.treedecorators that return BlockStateProviderModifier and TypeMethodDescriptionAttachedToLeavesDecorator.blockProvider()The block of the decoration.AttachedToLogsDecorator.blockProvider()The block of the decoration.PlaceOnGroundDecorator.blockStateProvider()The block of the decoration.AlterGroundDecorator.provider()A rule-based block state provider defining how to replace the ground.Methods in dev.wyck.worldgen.feature.treedecorators with parameters of type BlockStateProviderModifier and TypeMethodDescriptionstatic AlterGroundDecoratorTreeDecorator.alterGround(BlockStateProvider provider) Replaces blocks in the#minecraft:dirttag around the tree with different blocks.AttachedToLeavesDecorator.Builder.blockProvider(BlockStateProvider blockProvider) Sets the block of the decoration.AttachedToLogsDecorator.Builder.blockProvider(BlockStateProvider blockProvider) Sets the block of the decoration.PlaceOnGroundDecorator.Builder.blockStateProvider(BlockStateProvider blockStateProvider) Sets the block of the decoration.static AlterGroundDecoratorAlterGroundDecorator.of(BlockStateProvider provider) Creates a new alter ground decorator.static AttachedToLeavesDecoratorAttachedToLeavesDecorator.of(float probability, int exclusionRadiusXZ, int exclusionRadiusY, BlockStateProvider blockProvider, int requiredEmptyBlocks, List<BlockFace> directions) Creates a new attached to leaves decorator.static AttachedToLogsDecoratorAttachedToLogsDecorator.of(float probability, BlockStateProvider blockProvider, List<BlockFace> directions) Creates a new attached to logs decorator.static PlaceOnGroundDecoratorPlaceOnGroundDecorator.of(int tries, int radius, int height, BlockStateProvider blockStateProvider) Creates a new place on ground decorator. -
Uses of BlockStateProvider in dev.wyck.worldgen.stateproviders
Subinterfaces of BlockStateProvider in dev.wyck.worldgen.stateprovidersModifier and TypeInterfaceDescriptioninterfaceRandomly chooses a block state according to two noise values.interfaceA noise-based provider.interfaceRandomly chooses a block state according to a noise value.interfaceUses different block states when a noise value above or below the threshold.interfaceAssigns a random value to an integer block property.interfaceRandomly rotates axially rotatable blocks, such as logs, chain.interfaceA provider that provides a block and block state depending on the block that currently exists in the world using a series of rules.interfaceA block state provider that always returns the same block state.interfaceA block state provider of weighted entries.Methods in dev.wyck.worldgen.stateproviders that return BlockStateProviderModifier and TypeMethodDescriptionstatic BlockStateProviderReads a Minecraft block state provider into a wrapper.RandomizedIntStateProvider.source()Another block state provider that specifies the source of the block state.RuleBasedStateProvider.Rule.then()Returns the value of thethenrecord component.Methods in dev.wyck.worldgen.stateproviders that return types with arguments of type BlockStateProviderModifier and TypeMethodDescriptionRuleBasedStateProvider.fallback()The block to use when no rules' predicates match.Methods in dev.wyck.worldgen.stateproviders with parameters of type BlockStateProviderModifier and TypeMethodDescriptionRuleBasedStateProvider.Builder.fallback(@Nullable BlockStateProvider fallback) Sets the fallback block state provider.static RandomizedIntStateProviderRandomizedIntStateProvider.of(BlockStateProvider source, String property, IntProvider values) Creates a new randomized int block state provider.static RuleBasedStateProviderRuleBasedStateProvider.of(@Nullable BlockStateProvider fallback, List<RuleBasedStateProvider.Rule> rules) Creates a new rule-based block state provider.RuleBasedStateProvider.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.RandomizedIntStateProvider.Builder.source(BlockStateProvider source) Sets the source block state provider.Constructors in dev.wyck.worldgen.stateproviders with parameters of type BlockStateProviderModifierConstructorDescriptionRule(BlockPredicate ifTrue, BlockStateProvider then) Creates an instance of aRulerecord class.