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 pSource, int pTime, IntProvider pTimeProvider) -
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 pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount, Direction pDirection, Supplier<Vec3> pSpeedSupplier, double pSpread) static void
ParticleUtils.spawnParticlesOnBlockFaces
(Level pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount) -
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 WeightedList
<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 pMin, int pMax, T pProvider) static <T extends IntProvider>
com.mojang.serialization.Codec<T> IntProvider.validateCodec
(int pMin, int pMax, com.mojang.serialization.Codec<T> pCodec) Methods in net.minecraft.util.valueproviders that return types with arguments of type IntProviderModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec
<IntProvider> IntProvider.codec
(int pMinInclusive, int pMaxInclusive) 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 pSource, int pMinInclusive, int pMaxInclusive) Constructors in net.minecraft.util.valueproviders with parameters of type IntProviderModifierConstructorDescriptionClampedInt
(IntProvider pSource, int pMinInclusive, int pMaxInclusive) Constructor parameters in net.minecraft.util.valueproviders with type arguments of type IntProvider -
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 pInterval, float pMaxYaw, float pMinPitch, float pMaxPitch) -
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 pLevel, BlockPos pPos, ItemStack pHeldItem, IntProvider pAmount) Constructors in net.minecraft.world.level.block with parameters of type IntProviderModifierConstructorDescriptionDropExperienceBlock
(IntProvider pXpRange, BlockBehaviour.Properties pProperties) -
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
private final IntProvider
FallenTreeConfiguration.FallenTreeConfigurationBuilder.logLength
final IntProvider
FallenTreeConfiguration.logLength
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 pHeight, BlockStateProvider pState) static BlockColumnConfiguration
BlockColumnConfiguration.simple
(IntProvider pHeight, BlockStateProvider pState) Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type IntProviderModifierConstructorDescriptionColumnFeatureConfiguration
(IntProvider pReach, IntProvider pHeight) CountConfiguration
(IntProvider pCount) DeltaFeatureConfiguration
(BlockState pContents, BlockState pRim, IntProvider pSize, IntProvider pRimSize) DiskConfiguration
(RuleBasedBlockStateProvider stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates an instance of aDiskConfiguration
record class.DripstoneClusterConfiguration
(int pFloorToCeilingSearchRange, IntProvider pHeight, IntProvider pRadius, int pMaxStalagmiteStalactiteHeightDiff, int pHeightDeviation, IntProvider pDripstoneBlockLayerThickness, FloatProvider pDensity, FloatProvider pWetness, float pChanceOfDripstoneColumnAtMaxDistanceFromCenter, int pMaxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int pMaxDistanceFromCenterAffectingHeightBias) protected
FallenTreeConfiguration
(BlockStateProvider pTrunkProvider, IntProvider pLogLength, List<TreeDecorator> pStumpDecorators, List<TreeDecorator> pLogDecorators) FallenTreeConfigurationBuilder
(BlockStateProvider pTrunkProvider, IntProvider pLogLength) GeodeConfiguration
(GeodeBlockSettings pGeodeBlockSettings, GeodeLayerSettings pGeodeLayerSettings, GeodeCrackSettings pGeodeCrackSettings, double pUsePotentialPlacementsChance, double pUseAlternateLayer0Chance, boolean pPlacementsRequireLayer0Alternate, IntProvider pOuterWallDistance, IntProvider pDistributionPoints, IntProvider pPointOffset, int pMinGenOffset, int pMaxGenOffset, double pNoiseMultiplier, int pInvalidBlocksThreshold) LargeDripstoneConfiguration
(int pFloorToCeilingSearchRange, IntProvider pColumnRadius, FloatProvider pHeightScale, float pMaxColumnRadiusToCaveHeightRatio, FloatProvider pStalactiteBluntness, FloatProvider pStalagmiteBluntness, FloatProvider pWindSpeed, int pMinRadiusForWind, float pMinBluntnessForWind) Layer
(IntProvider height, BlockStateProvider state) Creates an instance of aLayer
record class.ReplaceSphereConfiguration
(BlockState pTargetState, BlockState pReplaceState, IntProvider pRadius) 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> pReplaceable, BlockStateProvider pGroundState, Holder<PlacedFeature> pVegetationFeature, CaveSurface pSurface, IntProvider pDepth, float pExtraBottomBlockChance, int pVerticalRange, float pVegetationChance, IntProvider pXzRadius, float pExtraEdgeColumnChance) -
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> pInstance) 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> pInstance) 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> pInstance) 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> pInstance) Constructors in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type IntProviderModifierConstructorDescriptionAcaciaFoliagePlacer
(IntProvider p_161343_, IntProvider p_161344_) BlobFoliagePlacer
(IntProvider pRadius, IntProvider pOffset, int pHeight) BushFoliagePlacer
(IntProvider p_161370_, IntProvider p_161371_, int p_161372_) CherryFoliagePlacer
(IntProvider pRadius, IntProvider pOffset, IntProvider pHeight, float pWideBottomLayerHoleChance, float pCornerHoleChance, float pHangingLeavesChance, float pHangingLeavesExtensionChance) DarkOakFoliagePlacer
(IntProvider p_161384_, IntProvider p_161385_) FancyFoliagePlacer
(IntProvider p_161397_, IntProvider p_161398_, int p_161399_) FoliagePlacer
(IntProvider pRadius, IntProvider pOffset) MegaJungleFoliagePlacer
(IntProvider pRadius, IntProvider pOffset, int pHeight) MegaPineFoliagePlacer
(IntProvider pRadius, IntProvider pOffset, IntProvider pCrownHeight) PineFoliagePlacer
(IntProvider pRadius, IntProvider pOffset, IntProvider pHeight) RandomSpreadFoliagePlacer
(IntProvider pRadius, IntProvider pOffset, IntProvider pFoliageHeight, int pLeafPlacementAttempts) SpruceFoliagePlacer
(IntProvider pRadius, IntProvider pOffset, IntProvider pTrunkHeight) -
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> pInstance) Constructors in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type IntProviderModifierConstructorDescriptionMangroveRootPlacer
(IntProvider pTrunkOffset, BlockStateProvider pRootProvider, Optional<AboveRootPlacement> pAboveRootPlacement, MangroveRootPlacement pMangroveRootPlacement) RootPlacer
(IntProvider pTrunkOffset, BlockStateProvider pRootProvider, Optional<AboveRootPlacement> pAboveRootPlacement) -
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 pSource, String pPropertyName, IntProvider pValues) RandomizedIntStateProvider
(BlockStateProvider pSource, IntegerProperty pProperty, IntProvider pValues) -
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 pBaseHeight, int pHeightRandA, int pHeightRandB, int pMinHeightForLeaves, IntProvider pBendLength) CherryTrunkPlacer
(int pBaseHeight, int pHeightRandA, int pHeightRandB, IntProvider pBranchCount, IntProvider pBranchHorizontalLength, UniformInt pBranchStartOffsetFromTop, IntProvider pBranchEndOffsetFromTop) UpwardsBranchingTrunkPlacer
(int pBaseHeight, int pHeightRandA, int pHeightRandB, IntProvider pExtraBranchSteps, float pPlaceBranchPerLogProbability, IntProvider pExtraBranchLength, HolderSet<Block> pCanGrowThrough) -
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 pXzSpread) static CountOnEveryLayerPlacement
CountOnEveryLayerPlacement.of
(IntProvider pCount) Deprecated.static CountPlacement
CountPlacement.of
(IntProvider pCount) static RandomOffsetPlacement
RandomOffsetPlacement.of
(IntProvider pXzSpread, IntProvider pYSpread) static RandomOffsetPlacement
RandomOffsetPlacement.vertical
(IntProvider pYSpread) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type IntProviderModifierConstructorDescriptionprivate
Deprecated.private
CountPlacement
(IntProvider pCount) private
RandomOffsetPlacement
(IntProvider pXzSpread, IntProvider pYSpread) -
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