Uses of Class
net.minecraft.util.valueproviders.IntProvider
Package
Description
-
Uses of IntProvider in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
WeatherCommand.getDuration
(CommandSourceStack p_265382_, int p_265171_, IntProvider p_265122_) -
Uses of IntProvider in net.minecraft.server.level
Modifier 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
Modifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticlesOnBlockFace
(Level p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) static void
ParticleUtils.spawnParticlesOnBlockFaces
(Level p_216314_, BlockPos p_216315_, ParticleOptions p_216316_, IntProvider p_216317_) -
Uses of IntProvider in net.minecraft.util.valueproviders
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier 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
Modifier and TypeMethodDescriptionstatic <T extends IntProvider>
com.mojang.serialization.Codec<T>IntProvider.codec
(int p_273149_, int p_272813_, com.mojang.serialization.Codec<T> p_273329_) static <P extends IntProvider>
IntProviderType<P>Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<IntProvider>
IntProvider.codec
(int p_146546_, int p_146547_) Modifier and TypeMethodDescriptionstatic ClampedInt
ClampedInt.of
(IntProvider p_146396_, int p_146397_, int p_146398_) -
Uses of IntProvider in net.minecraft.world.entity.ai.behavior
ModifierConstructorDescriptionRandomLookAround
(IntProvider p_248963_, float p_251826_, float p_251456_, float p_249962_) -
Uses of IntProvider in net.minecraft.world.entity.ai.behavior.warden
-
Uses of IntProvider in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate final IntProvider
DropExperienceBlock.xpRange
private final IntProvider
SculkCatalystBlock.xpRange
Modifier and TypeMethodDescriptionprotected void
Block.tryDropExperience
(ServerLevel p_220823_, BlockPos p_220824_, ItemStack p_220825_, IntProvider p_220826_) ModifierConstructorDescriptionDropExperienceBlock
(IntProvider p_221084_, BlockBehaviour.Properties p_221083_) -
Uses of IntProvider in net.minecraft.world.level.dimension
Modifier and TypeFieldDescriptionprivate final IntProvider
DimensionType.MonsterSettings.monsterSpawnLightTest
The field for themonsterSpawnLightTest
record component.Modifier and TypeMethodDescriptionDimensionType.MonsterSettings.monsterSpawnLightTest()
Returns the value of themonsterSpawnLightTest
record component.DimensionType.monsterSpawnLightTest()
ModifierConstructorDescriptionMonsterSettings
(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
Modifier 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
Modifier 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()
Modifier and TypeMethodDescriptionBlockColumnConfiguration.layer
(IntProvider p_191219_, BlockStateProvider p_191220_) static BlockColumnConfiguration
BlockColumnConfiguration.simple
(IntProvider p_191225_, BlockStateProvider p_191226_) ModifierConstructorDescriptionColumnFeatureConfiguration
(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 aDiskConfiguration
record 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 aLayer
record 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 aSculkPatchConfiguration
record 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
Modifier 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
Modifier 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_) ModifierConstructorDescriptionAcaciaFoliagePlacer
(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
Modifier 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_) ModifierConstructorDescriptionMangroveRootPlacer
(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
ModifierConstructorDescriptionRandomizedIntStateProvider
(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
Modifier 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
ModifierConstructorDescriptionBendingTrunkPlacer
(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
Modifier and TypeFieldDescriptionprivate final IntProvider
CountOnEveryLayerPlacement.count
Deprecated.private final IntProvider
CountPlacement.count
private final IntProvider
RandomOffsetPlacement.xzSpread
private final IntProvider
RandomOffsetPlacement.ySpread
Modifier and TypeMethodDescriptionstatic RandomOffsetPlacement
RandomOffsetPlacement.horizontal
(IntProvider p_191892_) static CountOnEveryLayerPlacement
CountOnEveryLayerPlacement.of
(IntProvider p_191607_) Deprecated.static CountPlacement
CountPlacement.of
(IntProvider p_191631_) static RandomOffsetPlacement
RandomOffsetPlacement.of
(IntProvider p_191880_, IntProvider p_191881_) static RandomOffsetPlacement
RandomOffsetPlacement.vertical
(IntProvider p_191878_) ModifierConstructorDescriptionprivate
CountOnEveryLayerPlacement
(IntProvider p_191603_) Deprecated.private
CountPlacement
(IntProvider p_191627_) private
RandomOffsetPlacement
(IntProvider p_191875_, IntProvider p_191876_) -
Uses of IntProvider in net.minecraft.world.level.levelgen.structure.templatesystem
ModifierConstructorDescriptionCappedProcessor
(StructureProcessor p_277972_, IntProvider p_277402_)