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 p_265382_, int p_265171_, IntProvider p_265122_) -
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 p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) static voidParticleUtils.spawnParticlesOnBlockFaces(Level p_216314_, BlockPos p_216315_, ParticleOptions p_216316_, IntProvider p_216317_) -
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 p_338299_, int p_338617_, T p_338788_) static <T extends IntProvider>
com.mojang.serialization.Codec<T> IntProvider.validateCodec(int p_338363_, int p_338219_, com.mojang.serialization.Codec<T> p_338307_) Methods in net.minecraft.util.valueproviders that return types with arguments of type IntProviderModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<IntProvider> IntProvider.codec(int p_146546_, int p_146547_) Methods in net.minecraft.util.valueproviders with parameters of type IntProviderModifier and TypeMethodDescriptionstatic ClampedIntClampedInt.of(IntProvider p_146396_, int p_146397_, int p_146398_) Constructors in net.minecraft.util.valueproviders with parameters of type IntProviderConstructor 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 p_248963_, float p_251826_, float p_251456_, float p_249962_) -
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 p_220823_, BlockPos p_220824_, ItemStack p_220825_, IntProvider p_220826_) Constructors in net.minecraft.world.level.block with parameters of type IntProviderModifierConstructorDescriptionDropExperienceBlock(IntProvider p_221084_, BlockBehaviour.Properties p_221083_) -
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 p_191219_, BlockStateProvider p_191220_) static BlockColumnConfigurationBlockColumnConfiguration.simple(IntProvider p_191225_, BlockStateProvider p_191226_) Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type IntProviderModifierConstructorDescriptionColumnFeatureConfiguration(IntProvider p_160715_, IntProvider p_160716_) CountConfiguration(IntProvider p_160724_) DeltaFeatureConfiguration(BlockState p_160731_, BlockState p_160732_, IntProvider p_160733_, IntProvider p_160734_) DiskConfiguration(RuleBasedBlockStateProvider stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates an instance of aDiskConfigurationrecord class.DripstoneClusterConfiguration(int p_160772_, IntProvider p_160773_, IntProvider p_160774_, int p_160775_, int p_160776_, IntProvider p_160777_, FloatProvider p_160778_, FloatProvider p_160779_, float p_160780_, int p_160781_, int p_160782_) GeodeConfiguration(GeodeBlockSettings p_160828_, GeodeLayerSettings p_160829_, GeodeCrackSettings p_160830_, double p_160831_, double p_160832_, boolean p_160833_, IntProvider p_160834_, IntProvider p_160835_, IntProvider p_160836_, int p_160837_, int p_160838_, double p_160839_, int p_160840_) LargeDripstoneConfiguration(int p_160956_, IntProvider p_160957_, FloatProvider p_160958_, float p_160959_, FloatProvider p_160960_, FloatProvider p_160961_, FloatProvider p_160962_, int p_160963_, float p_160964_) Layer(IntProvider height, BlockStateProvider state) Creates an instance of aLayerrecord class.ReplaceSphereConfiguration(BlockState p_161091_, BlockState p_161092_, IntProvider p_161093_) SculkPatchConfiguration(int chargeCount, int amountPerCharge, int spreadAttempts, int growthRounds, int spreadRounds, IntProvider extraRareGrowths, float catalystChance) Creates an instance of aSculkPatchConfigurationrecord class.VegetationPatchConfiguration(TagKey<Block> p_204856_, BlockStateProvider p_204857_, Holder<PlacedFeature> p_204858_, CaveSurface p_204859_, IntProvider p_204860_, float p_204861_, int p_204862_, float p_204863_, IntProvider p_204864_, float p_204865_) -
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> p_68414_) 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> p_68414_) 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> p_68574_) 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> p_68574_) Constructors in net.minecraft.world.level.levelgen.feature.foliageplacers with parameters of type IntProviderModifierConstructorDescriptionAcaciaFoliagePlacer(IntProvider p_161343_, IntProvider p_161344_) BlobFoliagePlacer(IntProvider p_161356_, IntProvider p_161357_, int p_161358_) BushFoliagePlacer(IntProvider p_161370_, IntProvider p_161371_, int p_161372_) CherryFoliagePlacer(IntProvider p_272646_, IntProvider p_272802_, IntProvider p_273604_, float p_272737_, float p_273720_, float p_273152_, float p_273529_) DarkOakFoliagePlacer(IntProvider p_161384_, IntProvider p_161385_) FancyFoliagePlacer(IntProvider p_161397_, IntProvider p_161398_, int p_161399_) FoliagePlacer(IntProvider p_161411_, IntProvider p_161412_) MegaJungleFoliagePlacer(IntProvider p_161454_, IntProvider p_161455_, int p_161456_) MegaPineFoliagePlacer(IntProvider p_161470_, IntProvider p_161471_, IntProvider p_161472_) PineFoliagePlacer(IntProvider p_161486_, IntProvider p_161487_, IntProvider p_161488_) RandomSpreadFoliagePlacer(IntProvider p_161506_, IntProvider p_161507_, IntProvider p_161508_, int p_161509_) SpruceFoliagePlacer(IntProvider p_161539_, IntProvider p_161540_, IntProvider p_161541_) -
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> p_225886_) Constructors in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type IntProviderModifierConstructorDescriptionMangroveRootPlacer(IntProvider p_225817_, BlockStateProvider p_225818_, Optional<AboveRootPlacement> p_225819_, MangroveRootPlacement p_225820_) RootPlacer(IntProvider p_225865_, BlockStateProvider p_225866_, Optional<AboveRootPlacement> p_225867_) -
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 p_161566_, String p_161567_, IntProvider p_161568_) RandomizedIntStateProvider(BlockStateProvider p_161562_, IntegerProperty p_161563_, IntProvider p_161564_) -
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 p_161770_, int p_161771_, int p_161772_, int p_161773_, IntProvider p_161774_) CherryTrunkPlacer(int p_273281_, int p_273327_, int p_272619_, IntProvider p_272873_, IntProvider p_272789_, UniformInt p_272917_, IntProvider p_272948_) UpwardsBranchingTrunkPlacer(int p_226201_, int p_226202_, int p_226203_, IntProvider p_226204_, float p_226205_, IntProvider p_226206_, HolderSet<Block> p_226207_) -
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 p_191892_) static CountOnEveryLayerPlacementCountOnEveryLayerPlacement.of(IntProvider p_191607_) Deprecated.static CountPlacementCountPlacement.of(IntProvider p_191631_) static RandomOffsetPlacementRandomOffsetPlacement.of(IntProvider p_191880_, IntProvider p_191881_) static RandomOffsetPlacementRandomOffsetPlacement.vertical(IntProvider p_191878_) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type IntProviderModifierConstructorDescriptionprivateCountOnEveryLayerPlacement(IntProvider p_191603_) Deprecated.privateCountPlacement(IntProvider p_191627_) privateRandomOffsetPlacement(IntProvider p_191875_, IntProvider p_191876_) -
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 IntProviderModifierConstructorDescriptionCappedProcessor(StructureProcessor p_277972_, IntProvider p_277402_)