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 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 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 level, BlockPos pos, ParticleOptions particle, IntProvider count, Direction direction, Supplier<Vec3> speedSupplier, double spread) static voidParticleUtils.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 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 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 ClampedIntClampedInt.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 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 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 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 height, BlockStateProvider state) static BlockColumnConfigurationBlockColumnConfiguration.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 aDiskConfigurationrecord 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 aLayerrecord 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 aSculkPatchConfigurationrecord 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 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> 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 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 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 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 xzSpread) static CountOnEveryLayerPlacementCountOnEveryLayerPlacement.of(IntProvider count) Deprecated.static CountPlacementCountPlacement.of(IntProvider count) static RandomOffsetPlacementRandomOffsetPlacement.of(IntProvider xzSpread, IntProvider ySpread) static RandomOffsetPlacementRandomOffsetPlacement.vertical(IntProvider ySpread) Constructors in net.minecraft.world.level.levelgen.placement with parameters of type IntProviderModifierConstructorDescriptionprivateDeprecated.privateCountPlacement(IntProvider count) privateRandomOffsetPlacement(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