Uses of Class
net.minecraft.util.valueproviders.IntProvider
Packages that use IntProvider
Package
Description
-
Uses of IntProvider in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type IntProviderModifier and TypeMethodDescriptionprivate static int
WeatherCommand.getDuration
(CommandSourceStack source, int time, IntProvider timeProvider) -
Uses of IntProvider in net.minecraft.server.level
Fields in net.minecraft.server.level declared as IntProviderModifier and TypeFieldDescriptionstatic final IntProvider
ServerLevel.RAIN_DELAY
static final IntProvider
ServerLevel.RAIN_DURATION
private static final IntProvider
ServerLevel.THUNDER_DELAY
static final IntProvider
ServerLevel.THUNDER_DURATION
-
Uses of IntProvider in net.minecraft.util
Methods in net.minecraft.util with parameters of type IntProviderModifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticlesOnBlockFace
(Level level, BlockPos pos, ParticleOptions particle, IntProvider count, Direction direction, Supplier<Vec3> speedSupplier, double spread) static void
ParticleUtils.spawnParticlesOnBlockFaces
(Level level, BlockPos pos, ParticleOptions particle, IntProvider count) -
Uses of IntProvider in net.minecraft.util.valueproviders
Classes in net.minecraft.util.valueproviders with type parameters of type IntProviderSubclasses of IntProvider in net.minecraft.util.valueprovidersModifier and TypeClassDescriptionclass
class
class
class
class
class
Fields in net.minecraft.util.valueproviders declared as IntProviderFields in net.minecraft.util.valueproviders with type parameters of type IntProviderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<IntProvider> IntProvider.CODEC
private static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<Integer, IntProvider>> IntProvider.CONSTANT_OR_DISPATCH_CODEC
private final SimpleWeightedRandomList
<IntProvider> WeightedListInt.distribution
static final com.mojang.serialization.Codec
<IntProvider> IntProvider.NON_NEGATIVE_CODEC
static final com.mojang.serialization.Codec
<IntProvider> IntProvider.POSITIVE_CODEC
Methods in net.minecraft.util.valueproviders with type parameters of type IntProviderModifier and TypeMethodDescriptionstatic <P extends IntProvider>
IntProviderType<P> private static <T extends IntProvider>
com.mojang.serialization.DataResult<T> IntProvider.validate
(int min, int max, T provider) static <T extends IntProvider>
com.mojang.serialization.Codec<T> IntProvider.validateCodec
(int min, int max, com.mojang.serialization.Codec<T> codec) Methods in net.minecraft.util.valueproviders that return types with arguments of type IntProviderModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec
<IntProvider> IntProvider.codec
(int minInclusive, int maxInclusive) Creates a codec for an IntProvider that only accepts numbers in the given range.Methods in net.minecraft.util.valueproviders with parameters of type IntProviderModifier and TypeMethodDescriptionstatic ClampedInt
ClampedInt.of
(IntProvider source, int minInclusive, int maxInclusive) Constructors in net.minecraft.util.valueproviders with parameters of type IntProviderConstructor parameters in net.minecraft.util.valueproviders with type arguments of type IntProviderModifierConstructorDescriptionWeightedListInt
(SimpleWeightedRandomList<IntProvider> distribution) -
Uses of IntProvider in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as IntProviderConstructors in net.minecraft.world.entity.ai.behavior with parameters of type IntProviderModifierConstructorDescriptionRandomLookAround
(IntProvider interval, float maxYaw, float minPitch, float maxPitch) -
Uses of IntProvider in net.minecraft.world.entity.ai.behavior.warden
Fields in net.minecraft.world.entity.ai.behavior.warden declared as IntProvider -
Uses of IntProvider in net.minecraft.world.item.enchantment.providers
Fields in net.minecraft.world.item.enchantment.providers declared as IntProviderModifier and TypeFieldDescriptionprivate final IntProvider
EnchantmentsByCost.cost
The field for thecost
record component.private final IntProvider
SingleEnchantment.level
The field for thelevel
record component.Methods in net.minecraft.world.item.enchantment.providers that return IntProviderModifier and TypeMethodDescriptionEnchantmentsByCost.cost()
Returns the value of thecost
record component.SingleEnchantment.level()
Returns the value of thelevel
record component.Constructors in net.minecraft.world.item.enchantment.providers with parameters of type IntProviderModifierConstructorDescriptionEnchantmentsByCost
(HolderSet<Enchantment> enchantments, IntProvider cost) Creates an instance of aEnchantmentsByCost
record class.SingleEnchantment
(Holder<Enchantment> enchantment, IntProvider level) Creates an instance of aSingleEnchantment
record class. -
Uses of IntProvider in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as IntProviderModifier and TypeFieldDescriptionprivate final IntProvider
DropExperienceBlock.xpRange
private final IntProvider
SculkCatalystBlock.xpRange
Methods in net.minecraft.world.level.block with parameters of type IntProviderModifier and TypeMethodDescriptionprotected void
Block.tryDropExperience
(ServerLevel level, BlockPos pos, ItemStack heldItem, IntProvider amount) Constructors in net.minecraft.world.level.block with parameters of type IntProviderModifierConstructorDescriptionDropExperienceBlock
(IntProvider xpRange, BlockBehaviour.Properties properties) -
Uses of IntProvider in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as IntProviderModifier and TypeFieldDescriptionprivate final IntProvider
DimensionType.MonsterSettings.monsterSpawnLightTest
The field for themonsterSpawnLightTest
record component.Methods in net.minecraft.world.level.dimension that return IntProviderModifier and TypeMethodDescriptionDimensionType.MonsterSettings.monsterSpawnLightTest()
Returns the value of themonsterSpawnLightTest
record component.DimensionType.monsterSpawnLightTest()
Constructors in net.minecraft.world.level.dimension with parameters of type IntProviderModifierConstructorDescriptionMonsterSettings
(boolean piglinSafe, boolean hasRaids, IntProvider monsterSpawnLightTest, int monsterSpawnBlockLightLimit) Creates an instance of aMonsterSettings
record class. -
Uses of IntProvider in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as IntProviderModifier and TypeFieldDescriptionfinal IntProvider
LargeDripstoneConfiguration.columnRadius
private final IntProvider
CountConfiguration.count
final IntProvider
VegetationPatchConfiguration.depth
final IntProvider
GeodeConfiguration.distributionPoints
final IntProvider
DripstoneClusterConfiguration.dripstoneBlockLayerThickness
private final IntProvider
SculkPatchConfiguration.extraRareGrowths
The field for theextraRareGrowths
record component.private final IntProvider
BlockColumnConfiguration.Layer.height
The field for theheight
record component.private final IntProvider
ColumnFeatureConfiguration.height
final IntProvider
DripstoneClusterConfiguration.height
final IntProvider
GeodeConfiguration.outerWallDistance
final IntProvider
GeodeConfiguration.pointOffset
private final IntProvider
DiskConfiguration.radius
The field for theradius
record component.final IntProvider
DripstoneClusterConfiguration.radius
private final IntProvider
ReplaceSphereConfiguration.radius
private final IntProvider
ColumnFeatureConfiguration.reach
private final IntProvider
DeltaFeatureConfiguration.rimSize
private final IntProvider
DeltaFeatureConfiguration.size
final IntProvider
VegetationPatchConfiguration.xzRadius
Methods in net.minecraft.world.level.levelgen.feature.configurations that return IntProviderModifier and TypeMethodDescriptionCountConfiguration.count()
SculkPatchConfiguration.extraRareGrowths()
Returns the value of theextraRareGrowths
record component.BlockColumnConfiguration.Layer.height()
Returns the value of theheight
record component.ColumnFeatureConfiguration.height()
DiskConfiguration.radius()
Returns the value of theradius
record component.ReplaceSphereConfiguration.radius()
ColumnFeatureConfiguration.reach()
DeltaFeatureConfiguration.rimSize()
DeltaFeatureConfiguration.size()
Methods in net.minecraft.world.level.levelgen.feature.configurations with parameters of type IntProviderModifier and TypeMethodDescriptionBlockColumnConfiguration.layer
(IntProvider height, BlockStateProvider state) static BlockColumnConfiguration
BlockColumnConfiguration.simple
(IntProvider height, BlockStateProvider state) Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type IntProviderModifierConstructorDescriptionColumnFeatureConfiguration
(IntProvider reach, IntProvider height) CountConfiguration
(IntProvider count) DeltaFeatureConfiguration
(BlockState contents, BlockState rim, IntProvider size, IntProvider rimSize) DiskConfiguration
(RuleBasedBlockStateProvider stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates an instance of aDiskConfiguration
record class.DripstoneClusterConfiguration
(int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider dripstoneBlockLayerThickness, FloatProvider density, FloatProvider wetness, float chanceOfDripstoneColumnAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias) GeodeConfiguration
(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) LargeDripstoneConfiguration
(int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind) Layer
(IntProvider height, BlockStateProvider state) Creates an instance of aLayer
record class.ReplaceSphereConfiguration
(BlockState targetState, BlockState replaceState, IntProvider radius) SculkPatchConfiguration
(int chargeCount, int amountPerCharge, int spreadAttempts, int growthRounds, int spreadRounds, IntProvider extraRareGrowths, float catalystChance) Creates an instance of aSculkPatchConfiguration
record class.VegetationPatchConfiguration
(TagKey<Block> replaceable, BlockStateProvider groundState, Holder<PlacedFeature> vegetationFeature, CaveSurface surface, IntProvider depth, float extraBottomBlockChance, int verticalRange, float vegetationChance, IntProvider xzRadius, float extraEdgeColumnChance) -
Uses of IntProvider in net.minecraft.world.level.levelgen.feature.foliageplacers
Fields in net.minecraft.world.level.levelgen.feature.foliageplacers declared as IntProviderModifier and TypeFieldDescriptionprivate final IntProvider
MegaPineFoliagePlacer.crownHeight
private final IntProvider
RandomSpreadFoliagePlacer.foliageHeight
private final IntProvider
CherryFoliagePlacer.height
private final IntProvider
PineFoliagePlacer.height
protected final IntProvider
FoliagePlacer.offset
protected final IntProvider
FoliagePlacer.radius
private final IntProvider
SpruceFoliagePlacer.trunkHeight
Methods in net.minecraft.world.level.levelgen.feature.foliageplacers that return types with arguments of type IntProviderModifier and TypeMethodDescriptionprotected static <P extends BlobFoliagePlacer>
com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, IntProvider, Integer> BlobFoliagePlacer.blobParts
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) protected static <P extends BlobFoliagePlacer>
com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, IntProvider, Integer> BlobFoliagePlacer.blobParts
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) protected static <P extends FoliagePlacer>
com.mojang.datafixers.Products.P2<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, IntProvider> FoliagePlacer.foliagePlacerParts
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) protected static <P extends FoliagePlacer>
com.mojang.datafixers.Products.P2<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, IntProvider> FoliagePlacer.foliagePlacerParts
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) Constructors in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type IntProviderModifierConstructorDescriptionAcaciaFoliagePlacer
(IntProvider p_161343_, IntProvider p_161344_) BlobFoliagePlacer
(IntProvider radius, IntProvider offset, int height) BushFoliagePlacer
(IntProvider p_161370_, IntProvider p_161371_, int p_161372_) CherryFoliagePlacer
(IntProvider radius, IntProvider offset, IntProvider height, float wideBottomLayerHoleChance, float cornerHoleChance, float hangingLeavesChance, float hangingLeavesExtensionChance) DarkOakFoliagePlacer
(IntProvider p_161384_, IntProvider p_161385_) FancyFoliagePlacer
(IntProvider p_161397_, IntProvider p_161398_, int p_161399_) FoliagePlacer
(IntProvider radius, IntProvider offset) MegaJungleFoliagePlacer
(IntProvider radius, IntProvider offset, int height) MegaPineFoliagePlacer
(IntProvider radius, IntProvider offset, IntProvider crownHeight) PineFoliagePlacer
(IntProvider radius, IntProvider offset, IntProvider height) RandomSpreadFoliagePlacer
(IntProvider radius, IntProvider offset, IntProvider foliageHeight, int leafPlacementAttempts) SpruceFoliagePlacer
(IntProvider radius, IntProvider offset, IntProvider trunkHeight) -
Uses of IntProvider in net.minecraft.world.level.levelgen.feature.rootplacers
Fields in net.minecraft.world.level.levelgen.feature.rootplacers declared as IntProviderMethods in net.minecraft.world.level.levelgen.feature.rootplacers that return types with arguments of type IntProviderModifier and TypeMethodDescriptionprotected static <P extends RootPlacer>
com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, BlockStateProvider, Optional<AboveRootPlacement>> RootPlacer.rootPlacerParts
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) Constructors in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type IntProviderModifierConstructorDescriptionMangroveRootPlacer
(IntProvider trunkOffset, BlockStateProvider rootProvider, Optional<AboveRootPlacement> aboveRootPlacement, MangroveRootPlacement mangroveRootPlacement) RootPlacer
(IntProvider trunkOffset, BlockStateProvider rootProvider, Optional<AboveRootPlacement> aboveRootPlacement) -
Uses of IntProvider in net.minecraft.world.level.levelgen.feature.stateproviders
Fields in net.minecraft.world.level.levelgen.feature.stateproviders declared as IntProviderConstructors in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type IntProviderModifierConstructorDescriptionRandomizedIntStateProvider
(BlockStateProvider source, String propertyName, IntProvider values) RandomizedIntStateProvider
(BlockStateProvider source, IntegerProperty property, IntProvider values) -
Uses of IntProvider in net.minecraft.world.level.levelgen.feature.trunkplacers
Fields in net.minecraft.world.level.levelgen.feature.trunkplacers declared as IntProviderModifier and TypeFieldDescriptionprivate final IntProvider
BendingTrunkPlacer.bendLength
private final IntProvider
CherryTrunkPlacer.branchCount
private final IntProvider
CherryTrunkPlacer.branchEndOffsetFromTop
private final IntProvider
CherryTrunkPlacer.branchHorizontalLength
private final IntProvider
UpwardsBranchingTrunkPlacer.extraBranchLength
private final IntProvider
UpwardsBranchingTrunkPlacer.extraBranchSteps
Constructors in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type IntProviderModifierConstructorDescriptionBendingTrunkPlacer
(int baseHeight, int heightRandA, int heightRandB, int minHeightForLeaves, IntProvider bendLength) CherryTrunkPlacer
(int baseHeight, int heightRandA, int heightRandB, IntProvider branchCount, IntProvider branchHorizontalLength, UniformInt branchStartOffsetFromTop, IntProvider branchEndOffsetFromTop) UpwardsBranchingTrunkPlacer
(int baseHeight, int heightRandA, int heightRandB, IntProvider extraBranchSteps, float placeBranchPerLogProbability, IntProvider extraBranchLength, HolderSet<Block> canGrowThrough) -
Uses of IntProvider in net.minecraft.world.level.levelgen.placement
Fields in net.minecraft.world.level.levelgen.placement declared as IntProviderModifier and TypeFieldDescriptionprivate final IntProvider
CountOnEveryLayerPlacement.count
Deprecated.private final IntProvider
CountPlacement.count
private final IntProvider
RandomOffsetPlacement.xzSpread
private final IntProvider
RandomOffsetPlacement.ySpread
Methods in net.minecraft.world.level.levelgen.placement with parameters of type IntProviderModifier and TypeMethodDescriptionstatic RandomOffsetPlacement
RandomOffsetPlacement.horizontal
(IntProvider xzSpread) static CountOnEveryLayerPlacement
CountOnEveryLayerPlacement.of
(IntProvider count) Deprecated.static CountPlacement
CountPlacement.of
(IntProvider count) static RandomOffsetPlacement
RandomOffsetPlacement.of
(IntProvider xzSpread, IntProvider ySpread) static RandomOffsetPlacement
RandomOffsetPlacement.vertical
(IntProvider ySpread) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type IntProviderModifierConstructorDescriptionprivate
Deprecated.private
CountPlacement
(IntProvider count) private
RandomOffsetPlacement
(IntProvider xzSpread, IntProvider ySpread) -
Uses of IntProvider in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as IntProviderConstructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type IntProvider