Uses of Interface
dev.wyck.worldgen.valueproviders.IntProvider
Packages that use IntProvider
Package
Description
-
Uses of IntProvider in dev.wyck.biome.entity.data
Methods in dev.wyck.biome.entity.data that return IntProviderModifier and TypeMethodDescriptionMonsterSettings.monsterSpawnLightTest()Returns the value of themonsterSpawnLightTestrecord component.Constructors in dev.wyck.biome.entity.data with parameters of type IntProviderModifierConstructorDescriptionMonsterSettings(IntProvider monsterSpawnLightTest, int monsterSpawnBlockLightLimit) Creates an instance of aMonsterSettingsrecord class. -
Uses of IntProvider in dev.wyck.worldgen.feature.configurations
Methods in dev.wyck.worldgen.feature.configurations that return IntProviderModifier and TypeMethodDescriptionLargeDripstoneConfiguration.columnRadius()Used to provide a min and max value for radius between 1 and 16.CountConfiguration.count()The count provider.VegetationPatchConfiguration.depth()The number of blocks the patch replaces per column, between 1 and 128.GeodeConfiguration.distributionPoints()The number of distribution points used to shape the geode.DripstoneClusterConfiguration.dripstoneBlockLayerThickness()The dripstone block layer's thickness.SculkPatchConfiguration.extraRareGrowths()The number of extra shriekers generated.BlockColumnConfiguration.Layer.height()Returns the value of theheightrecord component.ColumnFeatureConfiguration.height()The height of the column feature.DripstoneClusterConfiguration.height()The height of the cluster.SpeleothemClusterConfiguration.height()The height of the cluster, between 1 and 128 (inclusive).FallenTreeConfiguration.logLength()The length of the fallen log.GeodeConfiguration.outerWallDistance()The offset on each coordinate of the center from the feature start.GeodeConfiguration.pointOffset()The offset applied to each distribution point.DiskConfiguration.radius()The radius of this disk.DripstoneClusterConfiguration.radius()The radius of the cluster.ReplaceSphereConfiguration.radius()The radius of the sphere.SpeleothemClusterConfiguration.radius()The radius of the cluster, between 1 and 128 (inclusive).ColumnFeatureConfiguration.reach()The reach of the column feature.DeltaFeatureConfiguration.rimSize()The size of the rim of the delta.DeltaFeatureConfiguration.size()The size of the inside of the delta.SpeleothemClusterConfiguration.speleothemBlockLayerThickness()The thickness of the speleothem block layer, between 0 and 128 (inclusive).VegetationPatchConfiguration.xzRadius()The XZ radius searched for available positions.Methods in dev.wyck.worldgen.feature.configurations with parameters of type IntProviderModifier and TypeMethodDescriptionLargeDripstoneConfiguration.Builder.columnRadius(IntProvider columnRadius) Sets the column radius.CountConfiguration.Builder.count(IntProvider count) Sets the count provider.VegetationPatchConfiguration.Builder.depth(IntProvider depth) Sets the number of blocks the patch replaces per column.GeodeConfiguration.Builder.distributionPoints(IntProvider distributionPoints) Sets the number of distribution points used to shape the geode.DripstoneClusterConfiguration.Builder.dripstoneBlockLayerThickness(IntProvider dripstoneBlockLayerThickness) Sets the dripstone block layer's thickness.SculkPatchConfiguration.Builder.extraRareGrowths(IntProvider extraRareGrowths) Sets the extra rare growths.ColumnFeatureConfiguration.Builder.height(IntProvider height) Sets the height of the column feature.DripstoneClusterConfiguration.Builder.height(IntProvider height) Sets the height of the cluster.SpeleothemClusterConfiguration.Builder.height(IntProvider height) Sets the height provider.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.FallenTreeConfiguration.Builder.logLength(IntProvider logLength) Sets the length of the fallen log.static ColumnFeatureConfigurationColumnFeatureConfiguration.of(IntProvider reach, IntProvider height) Creates a new column feature configuration.static CountConfigurationCountConfiguration.of(IntProvider count) Creates a new count configuration.static DeltaFeatureConfigurationDeltaFeatureConfiguration.of(BlockData contents, BlockData rim, IntProvider size, IntProvider rimSize) Creates a new delta feature configuration.static DiskConfigurationDiskConfiguration.of(BlockStateProvider stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates a new disk configuration.DripstoneClusterConfiguration.of(int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider dripstoneBlockLayerThickness, FloatProvider density, FloatProvider wetness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias) Creates a new dripstone cluster configuration.static FallenTreeConfigurationFallenTreeConfiguration.of(BlockStateProvider trunkProvider, IntProvider logLength, List<TreeDecorator> stumpDecorators, List<TreeDecorator> logDecorators) Creates a new fallen tree configuration.static GeodeConfigurationGeodeConfiguration.of(GeodeBlockSettings geodeBlockSettings, GeodeLayerSettings geodeLayerSettings, GeodeCrackSettings geodeCrackSettings, double usePotentialPlacementsChance, double useAlternateLayer0Chance, boolean placementsRequireLayer0Alternate, IntProvider outerWallDistance, IntProvider distributionPoints, IntProvider pointOffset, int minGenOffset, int maxGenOffset, double noiseMultiplier, int invalidBlocksThreshold) Creates a new geode configuration.static LargeDripstoneConfigurationLargeDripstoneConfiguration.of(Set<Material> replaceableBlocks, int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind) Creates a new large dripstone configuration.static ReplaceSphereConfigurationReplaceSphereConfiguration.of(BlockData targetState, BlockData replaceState, IntProvider radius) Creates a new replace sphere configuration.static SculkPatchConfigurationSculkPatchConfiguration.of(int chargeCount, int amountPerCharge, int spreadAttempts, int growthRounds, int spreadRounds, IntProvider extraRareGrowths, float catalystChance) Creates a new sculk patch 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.GeodeConfiguration.Builder.outerWallDistance(IntProvider outerWallDistance) Sets the offset on each coordinate of the center from the feature start.GeodeConfiguration.Builder.pointOffset(IntProvider pointOffset) Sets the offset applied to each distribution point.DiskConfiguration.Builder.radius(IntProvider radius) Sets the radius of this disk.DripstoneClusterConfiguration.Builder.radius(IntProvider radius) Sets the radius of the cluster.ReplaceSphereConfiguration.Builder.radius(IntProvider radius) Sets the radius of the sphere.SpeleothemClusterConfiguration.Builder.radius(IntProvider radius) Sets the radius provider.ColumnFeatureConfiguration.Builder.reach(IntProvider reach) Sets the reach of the column feature.DeltaFeatureConfiguration.Builder.rimSize(IntProvider rimSize) Sets the size of the rim of the delta.static BlockColumnConfigurationBlockColumnConfiguration.simple(IntProvider height, BlockStateProvider state) Creates a block column configuration consisting of a single layer.DeltaFeatureConfiguration.Builder.size(IntProvider size) Sets the size of the inside of the delta.SpeleothemClusterConfiguration.Builder.speleothemBlockLayerThickness(IntProvider speleothemBlockLayerThickness) Sets the speleothem block layer thickness provider.VegetationPatchConfiguration.Builder.xzRadius(IntProvider xzRadius) Sets the XZ radius searched for available positions.Constructors in dev.wyck.worldgen.feature.configurations with parameters of type IntProviderModifierConstructorDescriptionLayer(IntProvider height, BlockStateProvider state) Creates an instance of aLayerrecord class. -
Uses of IntProvider in dev.wyck.worldgen.feature.foliageplacers
Fields in dev.wyck.worldgen.feature.foliageplacers declared as IntProviderModifier and TypeFieldDescriptionprotected IntProviderFoliagePlacer.FoliagePlacerBuilder.offsetprotected IntProviderFoliagePlacer.FoliagePlacerBuilder.radiusMethods in dev.wyck.worldgen.feature.foliageplacers that return IntProviderModifier and TypeMethodDescriptionMegaPineFoliagePlacer.crownHeight()The height of the crown, between 0 and 24 (inclusive).RandomSpreadFoliagePlacer.foliageHeight()The foliage's height, between 1 and 512 (inclusive).CherryFoliagePlacer.height()The foliage's height, between 4 and 16 (inclusive).PineFoliagePlacer.height()The foliage's height, between 0 and 24 (inclusive).FoliagePlacer.offset()The vertical offset from the top of the trunk to the top of the foliage.FoliagePlacer.radius()The radius of the foliage.SpruceFoliagePlacer.trunkHeight()The trunk height, between 0 and 24 (inclusive).Methods in dev.wyck.worldgen.feature.foliageplacers with parameters of type IntProviderModifier and TypeMethodDescriptionMegaPineFoliagePlacer.Builder.crownHeight(IntProvider crownHeight) Sets the height of the crown, between 0 and 24 (inclusive).RandomSpreadFoliagePlacer.Builder.foliageHeight(IntProvider foliageHeight) Sets the foliage's height, between 1 and 512 (inclusive).CherryFoliagePlacer.Builder.height(IntProvider height) Sets the foliage's height, between 4 and 16 (inclusive).PineFoliagePlacer.Builder.height(IntProvider height) Sets the foliage's height, between 0 and 24 (inclusive).static AcaciaFoliagePlacerAcaciaFoliagePlacer.of(IntProvider radius, IntProvider offset) Creates a new acacia foliage placer.static BlobFoliagePlacerBlobFoliagePlacer.of(IntProvider radius, IntProvider offset, int height) Creates a new blob foliage placer.static BushFoliagePlacerBushFoliagePlacer.of(IntProvider radius, IntProvider offset, int height) Creates a new bush foliage placer.static CherryFoliagePlacerCherryFoliagePlacer.of(IntProvider radius, IntProvider offset, IntProvider height, float wideBottomLayerHoleChance, float cornerHoleChance, float hangingLeavesChance, float hangingLeavesExtensionChance) Creates a new cherry foliage placer.static DarkOakFoliagePlacerDarkOakFoliagePlacer.of(IntProvider radius, IntProvider offset) Creates a new dark oak foliage placer.static FancyFoliagePlacerFancyFoliagePlacer.of(IntProvider radius, IntProvider offset, int height) Creates a new fancy foliage placer.static MegaJungleFoliagePlacerMegaJungleFoliagePlacer.of(IntProvider radius, IntProvider offset, int height) Creates a new mega jungle foliage placer.static MegaPineFoliagePlacerMegaPineFoliagePlacer.of(IntProvider radius, IntProvider offset, IntProvider crownHeight) Creates a new mega pine foliage placer.static PineFoliagePlacerPineFoliagePlacer.of(IntProvider radius, IntProvider offset, IntProvider height) Creates a new pine foliage placer.static RandomSpreadFoliagePlacerRandomSpreadFoliagePlacer.of(IntProvider radius, IntProvider offset, IntProvider foliageHeight, int leafPlacementAttempts) Creates a new random spread foliage placer.static SpruceFoliagePlacerSpruceFoliagePlacer.of(IntProvider radius, IntProvider offset, IntProvider trunkHeight) Creates a new spruce foliage placer.FoliagePlacer.FoliagePlacerBuilder.offset(IntProvider offset) Sets the vertical offset from the top of the trunk to the top of the foliage.FoliagePlacer.FoliagePlacerBuilder.radius(IntProvider radius) Sets the radius of the foliage.SpruceFoliagePlacer.Builder.trunkHeight(IntProvider trunkHeight) Sets the trunk height, between 0 and 24 (inclusive). -
Uses of IntProvider in dev.wyck.worldgen.feature.rootplacers
Fields in dev.wyck.worldgen.feature.rootplacers declared as IntProviderMethods in dev.wyck.worldgen.feature.rootplacers that return IntProviderModifier and TypeMethodDescriptionRootPlacer.trunkOffsetY()The offset perpendicular to the trunk.Methods in dev.wyck.worldgen.feature.rootplacers with parameters of type IntProviderModifier and TypeMethodDescriptionstatic MangroveRootPlacerMangroveRootPlacer.of(IntProvider trunkOffsetY, BlockStateProvider rootProvider, @Nullable AboveRootPlacement aboveRootPlacement, MangroveRootPlacement mangroveRootPlacement) Creates a new mangrove root placer.RootPlacer.RootPlacerBuilder.trunkOffsetY(IntProvider trunkOffsetY) Sets the offset perpendicular to the trunk. -
Uses of IntProvider in dev.wyck.worldgen.feature.trunkplacers
Methods in dev.wyck.worldgen.feature.trunkplacers that return IntProviderModifier and TypeMethodDescriptionBendingTrunkPlacer.bendLength()The length of the bend between 1 and 64.CherryTrunkPlacer.branchCount()The number of branches between 1 and 3.CherryTrunkPlacer.branchEndOffsetFromTop()The offset of the branches from the top between -16 and 16.CherryTrunkPlacer.branchHorizontalLength()The horizontal length of the branches between 2 and 16.UpwardsBranchingTrunkPlacer.extraBranchLength()Generates extra branch length.UpwardsBranchingTrunkPlacer.extraBranchSteps()The number of steps to generate extra branches.Methods in dev.wyck.worldgen.feature.trunkplacers with parameters of type IntProviderModifier and TypeMethodDescriptionBendingTrunkPlacer.Builder.bendLength(IntProvider bendLength) CherryTrunkPlacer.Builder.branchCount(IntProvider branchCount) Sets the number of branches.CherryTrunkPlacer.Builder.branchEndOffsetFromTop(IntProvider branchEndOffsetFromTop) Sets the offset of the branches from the top.CherryTrunkPlacer.Builder.branchHorizontalLength(IntProvider branchHorizontalLength) Sets the horizontal length of the branches.UpwardsBranchingTrunkPlacer.Builder.extraBranchLength(IntProvider extraBranchLength) Sets the extra branch length.UpwardsBranchingTrunkPlacer.Builder.extraBranchSteps(IntProvider extraBranchSteps) Sets the number of steps to generate extra branches.static BendingTrunkPlacerBendingTrunkPlacer.of(int minHeight, int maxHeight, int bendLength, int minHeightForLeaves, IntProvider bendLengthProvider) Creates a new bending trunk placer.static CherryTrunkPlacerCherryTrunkPlacer.of(int baseHeight, int heightRandA, int heightRandB, IntProvider branchCount, IntProvider branchHorizontalLength, IntProvider branchStartOffsetFromTop, IntProvider branchEndOffsetFromTop) Creates a new cherry trunk placer.static UpwardsBranchingTrunkPlacerUpwardsBranchingTrunkPlacer.of(int baseHeight, int heightRandA, int heightRandB, IntProvider extraBranchSteps, float placeBranchPerLogProbability, IntProvider extraBranchLength, Set<Material> canGrowThrough) Creates a new upwards branching trunk placer. -
Uses of IntProvider in dev.wyck.worldgen.placement
Methods in dev.wyck.worldgen.placement that return IntProviderModifier and TypeMethodDescriptionCountOnEveryLayerPlacement.count()Count on each layer between 0 and 256.CountPlacement.count()The number of placements to attempt, between 0 and 4096 (inclusive).RandomOffsetPlacement.xzSpread()The offset applied to both the X and Z axes, sampled individually per axis.RandomOffsetPlacement.ySpread()The offset applied to the Y axis.Methods in dev.wyck.worldgen.placement with parameters of type IntProviderModifier and TypeMethodDescriptionstatic CountPlacementPlacementModifier.count(IntProvider count) Creates a count placement modifier.static CountOnEveryLayerPlacementPlacementModifier.countOnEveryLayer(IntProvider count) Deprecated.Deprecated in Minecraft.static CountOnEveryLayerPlacementCountOnEveryLayerPlacement.of(IntProvider count) Deprecated.deprecated in Minecraft.static CountPlacementCountPlacement.of(IntProvider count) Creates a new count placement.static RandomOffsetPlacementRandomOffsetPlacement.of(IntProvider xzSpread, IntProvider ySpread) Creates a new random offset placement.RandomOffsetPlacement.Builder.xzSpread(IntProvider xzSpread) Sets the horizontal spread provider.RandomOffsetPlacement.Builder.ySpread(IntProvider ySpread) Sets the vertical spread provider. -
Uses of IntProvider in dev.wyck.worldgen.stateproviders
Methods in dev.wyck.worldgen.stateproviders that return IntProviderModifier and TypeMethodDescriptionRandomizedIntStateProvider.values()The value of the block property.Methods in dev.wyck.worldgen.stateproviders with parameters of type IntProviderModifier and TypeMethodDescriptionstatic RandomizedIntStateProviderRandomizedIntStateProvider.of(BlockStateProvider source, String property, IntProvider values) Creates a new randomized int block state provider.RandomizedIntStateProvider.Builder.values(IntProvider values) Sets the value of the block property. -
Uses of IntProvider in dev.wyck.worldgen.valueproviders
Classes in dev.wyck.worldgen.valueproviders with type parameters of type IntProviderModifier and TypeClassDescriptionstatic classIntProvider.IntProviderBuilder<T extends IntProvider, S extends IntProvider.IntProviderBuilder<T,S>> Common abstract builder for most int providers.Subinterfaces of IntProvider in dev.wyck.worldgen.valueprovidersModifier and TypeInterfaceDescriptioninterfaceA provider that is similar to aUniformInt, but has a bias towardIntProvider.minInclusive().interfaceSamples aClampedInt.source()provider and hard-clamps the result into [IntProvider.minInclusive(),IntProvider.maxInclusive()].interfaceClamped normal samples a bell curve centered at mean with spread deviation, then forces the result into [IntProvider.minInclusive(),IntProvider.maxInclusive()].interfaceA constant int provider which always returns the same value.interfaceA trapezoid int provider.interfaceUniform int providers sample a range between the inclusive values and return a single, random integer from the range.interfaceA two-stage provider: an entry is picked from theWeightedListInt.distribution()proportionally to its weight, then that entry's provider is sampled.Methods in dev.wyck.worldgen.valueproviders that return IntProviderModifier and TypeMethodDescriptionstatic IntProviderReads a Minecraft int provider into a wrapper.ClampedInt.source()The source provider whose sampled value is clamped.Methods in dev.wyck.worldgen.valueproviders that return types with arguments of type IntProviderModifier and TypeMethodDescriptionWeightedListInt.distribution()The weighted pool of providers to sample from.Methods in dev.wyck.worldgen.valueproviders with parameters of type IntProviderModifier and TypeMethodDescriptionWeightedListInt.Builder.add(IntProvider provider) Adds a provider with a weight of one.WeightedListInt.Builder.add(IntProvider provider, int weight) Adds a provider with the given weight.static ClampedIntIntProvider.clamped(IntProvider source, int min, int max) Creates a clamped int provider.static ClampedIntClampedInt.of(IntProvider source, int min, int max) Creates a new clamped int provider.ClampedInt.Builder.source(IntProvider source) Sets the source provider to clamp.Method parameters in dev.wyck.worldgen.valueproviders with type arguments of type IntProviderModifier and TypeMethodDescriptionstatic WeightedListIntWeightedListInt.of(WeightedList<IntProvider> distribution) Creates a new weighted list int provider.static WeightedListIntIntProvider.weightedList(WeightedList<IntProvider> distribution) Creates a weighted list int provider.Constructors in dev.wyck.worldgen.valueproviders with parameters of type IntProvider