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 intWeatherCommand.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 IntProviderServerLevel.RAIN_DELAYstatic final IntProviderServerLevel.RAIN_DURATIONprivate static final IntProviderServerLevel.THUNDER_DELAYstatic final IntProviderServerLevel.THUNDER_DURATION -
Uses of IntProvider in net.minecraft.util
Methods in net.minecraft.util with parameters of type IntProviderModifier and TypeMethodDescriptionstatic voidParticleUtils.spawnParticlesOnBlockFace(Level pLevel, BlockPos pPos, ParticleOptions pParticle, IntProvider pCount, Direction pDirection, Supplier<Vec3> pSpeedSupplier, double pSpread) static voidParticleUtils.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 TypeClassDescriptionclassclassclassclassclassclassFields 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.CODECprivate static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Integer, IntProvider>> IntProvider.CONSTANT_OR_DISPATCH_CODECprivate final SimpleWeightedRandomList<IntProvider> WeightedListInt.distributionstatic final com.mojang.serialization.Codec<IntProvider> IntProvider.NON_NEGATIVE_CODECstatic final com.mojang.serialization.Codec<IntProvider> IntProvider.POSITIVE_CODECMethods 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 ClampedIntClampedInt.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 IntProviderModifierConstructorDescriptionWeightedListInt(SimpleWeightedRandomList<IntProvider> pDistribution) -
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 IntProviderEnchantmentsByCost.costThe field for thecostrecord component.private final IntProviderSingleEnchantment.levelThe field for thelevelrecord component.Methods in net.minecraft.world.item.enchantment.providers that return IntProviderModifier and TypeMethodDescriptionEnchantmentsByCost.cost()Returns the value of thecostrecord component.SingleEnchantment.level()Returns the value of thelevelrecord component.Constructors in net.minecraft.world.item.enchantment.providers with parameters of type IntProviderModifierConstructorDescriptionEnchantmentsByCost(HolderSet<Enchantment> enchantments, IntProvider cost) Creates an instance of aEnchantmentsByCostrecord class.SingleEnchantment(Holder<Enchantment> enchantment, IntProvider level) Creates an instance of aSingleEnchantmentrecord class. -
Uses of IntProvider in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as IntProviderModifier and TypeFieldDescriptionprivate final IntProviderDropExperienceBlock.xpRangeprivate final IntProviderSculkCatalystBlock.xpRangeMethods in net.minecraft.world.level.block with parameters of type IntProviderModifier and TypeMethodDescriptionprotected voidBlock.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 IntProviderDimensionType.MonsterSettings.monsterSpawnLightTestThe field for themonsterSpawnLightTestrecord component.Methods in net.minecraft.world.level.dimension that return IntProviderModifier and TypeMethodDescriptionDimensionType.MonsterSettings.monsterSpawnLightTest()Returns the value of themonsterSpawnLightTestrecord 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 aMonsterSettingsrecord 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 IntProviderLargeDripstoneConfiguration.columnRadiusprivate final IntProviderCountConfiguration.countfinal IntProviderVegetationPatchConfiguration.depthfinal IntProviderGeodeConfiguration.distributionPointsfinal IntProviderDripstoneClusterConfiguration.dripstoneBlockLayerThicknessprivate final IntProviderSculkPatchConfiguration.extraRareGrowthsThe field for theextraRareGrowthsrecord component.private final IntProviderBlockColumnConfiguration.Layer.heightThe field for theheightrecord component.private final IntProviderColumnFeatureConfiguration.heightfinal IntProviderDripstoneClusterConfiguration.heightfinal IntProviderGeodeConfiguration.outerWallDistancefinal IntProviderGeodeConfiguration.pointOffsetprivate final IntProviderDiskConfiguration.radiusThe field for theradiusrecord component.final IntProviderDripstoneClusterConfiguration.radiusprivate final IntProviderReplaceSphereConfiguration.radiusprivate final IntProviderColumnFeatureConfiguration.reachprivate final IntProviderDeltaFeatureConfiguration.rimSizeprivate final IntProviderDeltaFeatureConfiguration.sizefinal IntProviderVegetationPatchConfiguration.xzRadiusMethods in net.minecraft.world.level.levelgen.feature.configurations that return IntProviderModifier and TypeMethodDescriptionCountConfiguration.count()SculkPatchConfiguration.extraRareGrowths()Returns the value of theextraRareGrowthsrecord component.BlockColumnConfiguration.Layer.height()Returns the value of theheightrecord component.ColumnFeatureConfiguration.height()DiskConfiguration.radius()Returns the value of theradiusrecord 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 BlockColumnConfigurationBlockColumnConfiguration.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 aDiskConfigurationrecord class.DripstoneClusterConfiguration(int pFloorToCeilingSearchRange, IntProvider pHeight, IntProvider pRadius, int pMaxStalagmiteStalactiteHeightDiff, int pHeightDeviation, IntProvider pDripstoneBlockLayerThickness, FloatProvider pDensity, FloatProvider pWetness, float pChanceOfDripstoneColumnAtMaxDistanceFromCenter, int pMaxDistanceFromEdgeAffectingChanceOfDripstoneColumn, int pMaxDistanceFromCenterAffectingHeightBias) 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 aLayerrecord 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 aSculkPatchConfigurationrecord 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 IntProviderMegaPineFoliagePlacer.crownHeightprivate final IntProviderRandomSpreadFoliagePlacer.foliageHeightprivate final IntProviderCherryFoliagePlacer.heightprivate final IntProviderPineFoliagePlacer.heightprotected final IntProviderFoliagePlacer.offsetprotected final IntProviderFoliagePlacer.radiusprivate final IntProviderSpruceFoliagePlacer.trunkHeightMethods 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 IntProviderBendingTrunkPlacer.bendLengthprivate final IntProviderCherryTrunkPlacer.branchCountprivate final IntProviderCherryTrunkPlacer.branchEndOffsetFromTopprivate final IntProviderCherryTrunkPlacer.branchHorizontalLengthprivate final IntProviderUpwardsBranchingTrunkPlacer.extraBranchLengthprivate final IntProviderUpwardsBranchingTrunkPlacer.extraBranchStepsConstructors 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 IntProviderCountOnEveryLayerPlacement.countDeprecated.private final IntProviderCountPlacement.countprivate final IntProviderRandomOffsetPlacement.xzSpreadprivate final IntProviderRandomOffsetPlacement.ySpreadMethods in net.minecraft.world.level.levelgen.placement with parameters of type IntProviderModifier and TypeMethodDescriptionstatic RandomOffsetPlacementRandomOffsetPlacement.horizontal(IntProvider pXzSpread) static CountOnEveryLayerPlacementCountOnEveryLayerPlacement.of(IntProvider pCount) Deprecated.static CountPlacementCountPlacement.of(IntProvider pCount) static RandomOffsetPlacementRandomOffsetPlacement.of(IntProvider pXzSpread, IntProvider pYSpread) static RandomOffsetPlacementRandomOffsetPlacement.vertical(IntProvider pYSpread) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type IntProviderModifierConstructorDescriptionprivateDeprecated.privateCountPlacement(IntProvider pCount) privateRandomOffsetPlacement(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