Uses of Class
net.minecraft.util.math.intprovider.IntProvider
Package
Description
-
Uses of IntProvider in net.minecraft.block
Modifier and TypeFieldDescriptionprivate final IntProvider
SculkCatalystBlock.experience
private final IntProvider
ExperienceDroppingBlock.experienceDropped
Modifier and TypeMethodDescriptionprotected void
Block.dropExperienceWhenMined
(ServerWorld world, BlockPos pos, ItemStack tool, IntProvider experience) Drops experience orbs.ModifierConstructorDescriptionExperienceDroppingBlock
(IntProvider experienceDropped, AbstractBlock.Settings settings) -
Uses of IntProvider in net.minecraft.client.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtil.spawnParticle
(World world, BlockPos pos, ParticleEffect effect, IntProvider count) static void
ParticleUtil.spawnParticles
(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) -
Uses of IntProvider in net.minecraft.enchantment.provider
Modifier and TypeFieldDescriptionprivate final IntProvider
ByCostEnchantmentProvider.cost
The field for thecost
record component.private final IntProvider
SingleEnchantmentProvider.level
The field for thelevel
record component.Modifier and TypeMethodDescriptionByCostEnchantmentProvider.cost()
Returns the value of thecost
record component.SingleEnchantmentProvider.level()
Returns the value of thelevel
record component.ModifierConstructorDescriptionByCostEnchantmentProvider
(RegistryEntryList<Enchantment> registryEntryList, IntProvider intProvider) SingleEnchantmentProvider
(RegistryEntry<Enchantment> registryEntry, IntProvider intProvider) -
Uses of IntProvider in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final IntProvider
RandomLookAroundTask.cooldown
private static final IntProvider
StartSniffingTask.COOLDOWN
ModifierConstructorDescriptionRandomLookAroundTask
(IntProvider cooldown, float maxYaw, float minPitch, float maxPitch) -
Uses of IntProvider in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
WeatherCommand.processDuration
(ServerCommandSource source, int duration, IntProvider provider) -
Uses of IntProvider in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate static final IntProvider
ServerWorld.CLEAR_THUNDER_WEATHER_DURATION_PROVIDER
static final IntProvider
ServerWorld.CLEAR_WEATHER_DURATION_PROVIDER
static final IntProvider
ServerWorld.RAIN_WEATHER_DURATION_PROVIDER
static final IntProvider
ServerWorld.THUNDER_WEATHER_DURATION_PROVIDER
-
Uses of IntProvider in net.minecraft.structure.processor
ModifierConstructorDescriptionCappedStructureProcessor
(StructureProcessor delegate, IntProvider limit) -
Uses of IntProvider in net.minecraft.util.math.intprovider
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<Integer, IntProvider>> IntProvider.INT_CODEC
static final com.mojang.serialization.Codec
<IntProvider> IntProvider.NON_NEGATIVE_CODEC
static final com.mojang.serialization.Codec
<IntProvider> IntProvider.POSITIVE_CODEC
static final com.mojang.serialization.Codec
<IntProvider> IntProvider.VALUE_CODEC
private final DataPool
<IntProvider> WeightedListIntProvider.weightedList
Modifier and TypeMethodDescriptionstatic <T extends IntProvider>
com.mojang.serialization.Codec<T> IntProvider.createValidatingCodec
(int min, int max, com.mojang.serialization.Codec<T> providerCodec) private static <T extends IntProvider>
com.mojang.serialization.DataResult<T> IntProvider.method_58612
(int int2, int int3, T t) static <P extends IntProvider>
IntProviderType<P> Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec
<IntProvider> IntProvider.createValidatingCodec
(int min, int max) Modifier and TypeMethodDescriptionstatic ClampedIntProvider
ClampedIntProvider.create
(IntProvider source, int min, int max) -
Uses of IntProvider in net.minecraft.world.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 bool, boolean bool2, IntProvider intProvider, int int2) -
Uses of IntProvider in net.minecraft.world.gen
-
Uses of IntProvider in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionfinal IntProvider
LargeDripstoneFeatureConfig.columnRadius
final IntProvider
VegetationPatchFeatureConfig.depth
final IntProvider
GeodeFeatureConfig.distributionPoints
final IntProvider
DripstoneClusterFeatureConfig.dripstoneBlockLayerThickness
private final IntProvider
SculkPatchFeatureConfig.extraRareGrowths
The field for theextraRareGrowths
record component.private final IntProvider
BasaltColumnsFeatureConfig.height
private final IntProvider
BlockColumnFeatureConfig.Layer.height
The field for theheight
record component.final IntProvider
DripstoneClusterFeatureConfig.height
final IntProvider
VegetationPatchFeatureConfig.horizontalRadius
final IntProvider
GeodeFeatureConfig.outerWallDistance
final IntProvider
GeodeFeatureConfig.pointOffset
private final IntProvider
DiskFeatureConfig.radius
The field for theradius
record component.final IntProvider
DripstoneClusterFeatureConfig.radius
private final IntProvider
ReplaceBlobsFeatureConfig.radius
private final IntProvider
BasaltColumnsFeatureConfig.reach
private final IntProvider
DeltaFeatureConfig.rimSize
private final IntProvider
DeltaFeatureConfig.size
Modifier and TypeMethodDescriptionSculkPatchFeatureConfig.extraRareGrowths()
Returns the value of theextraRareGrowths
record component.BasaltColumnsFeatureConfig.getHeight()
ReplaceBlobsFeatureConfig.getRadius()
BasaltColumnsFeatureConfig.getReach()
DeltaFeatureConfig.getRimSize()
DeltaFeatureConfig.getSize()
BlockColumnFeatureConfig.Layer.height()
Returns the value of theheight
record component.DiskFeatureConfig.radius()
Returns the value of theradius
record component.Modifier and TypeMethodDescriptionstatic BlockColumnFeatureConfig
BlockColumnFeatureConfig.create
(IntProvider height, BlockStateProvider state) BlockColumnFeatureConfig.createLayer
(IntProvider height, BlockStateProvider state) ModifierConstructorDescriptionBasaltColumnsFeatureConfig
(IntProvider reach, IntProvider height) DeltaFeatureConfig
(BlockState contents, BlockState rim, IntProvider size, IntProvider rimSize) DiskFeatureConfig
(PredicatedStateProvider predicatedStateProvider, BlockPredicate blockPredicate, IntProvider intProvider, int int2) DripstoneClusterFeatureConfig
(int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider dripstoneBlockLayerThickness, FloatProvider density, FloatProvider wetness, float wetnessMean, int maxDistanceFromCenterAffectingChanceOfDripstoneColumn, int maxDistanceFromCenterAffectingHeightBias) GeodeFeatureConfig
(GeodeLayerConfig layerConfig, GeodeLayerThicknessConfig layerThicknessConfig, GeodeCrackConfig crackConfig, double usePotentialPlacementsChance, double useAlternateLayer0Chance, boolean placementsRequireLayer0Alternate, IntProvider outerWallDistance, IntProvider distributionPoints, IntProvider pointOffset, int maxDistributionPoints, int minPointOffset, double noiseMultiplier, int maxGenOffset) LargeDripstoneFeatureConfig
(int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind) Layer
(IntProvider intProvider, BlockStateProvider blockStateProvider) ReplaceBlobsFeatureConfig
(BlockState target, BlockState state, IntProvider radius) SculkPatchFeatureConfig
(int int2, int int3, int int4, int int5, int int6, IntProvider intProvider, float float2) VegetationPatchFeatureConfig
(TagKey<Block> replaceable, BlockStateProvider groundState, RegistryEntry<PlacedFeature> vegetationFeature, VerticalSurfaceType surface, IntProvider depth, float extraBottomBlockChance, int verticalRange, float vegetationChance, IntProvider horizontalRadius, float extraEdgeColumnChance) -
Uses of IntProvider in net.minecraft.world.gen.foliage
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.createCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> builder) protected static <P extends BlobFoliagePlacer>
com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, IntProvider, Integer> BlobFoliagePlacer.createCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> builder) protected static <P extends FoliagePlacer>
com.mojang.datafixers.Products.P2<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, IntProvider> FoliagePlacer.fillFoliagePlacerFields
(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.fillFoliagePlacerFields
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) ModifierConstructorDescriptionAcaciaFoliagePlacer
(IntProvider radius, IntProvider offset) BlobFoliagePlacer
(IntProvider radius, IntProvider offset, int height) BushFoliagePlacer
(IntProvider radius, IntProvider offset, int height) CherryFoliagePlacer
(IntProvider radius, IntProvider offset, IntProvider height, float wideBottomLayerHoleChance, float cornerHoleChance, float hangingLeavesChance, float hangingLeavesExtensionChance) DarkOakFoliagePlacer
(IntProvider radius, IntProvider offset) FoliagePlacer
(IntProvider radius, IntProvider offset) JungleFoliagePlacer
(IntProvider radius, IntProvider offset, int height) LargeOakFoliagePlacer
(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.gen.placementmodifier
Modifier and TypeFieldDescriptionprivate final IntProvider
CountMultilayerPlacementModifier.count
Deprecated.private final IntProvider
CountPlacementModifier.count
private final IntProvider
RandomOffsetPlacementModifier.spreadXz
private final IntProvider
RandomOffsetPlacementModifier.spreadY
Modifier and TypeMethodDescriptionRandomOffsetPlacementModifier.horizontally
(IntProvider spreadXz) CountMultilayerPlacementModifier.of
(IntProvider count) Deprecated.static CountPlacementModifier
CountPlacementModifier.of
(IntProvider count) RandomOffsetPlacementModifier.of
(IntProvider spreadXz, IntProvider spreadY) RandomOffsetPlacementModifier.vertically
(IntProvider spreadY) ModifierConstructorDescriptionprivate
Deprecated.private
private
RandomOffsetPlacementModifier
(IntProvider xzSpread, IntProvider ySpread) -
Uses of IntProvider in net.minecraft.world.gen.root
Modifier and TypeMethodDescriptionprotected static <P extends RootPlacer>
com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, BlockStateProvider, Optional<AboveRootPlacement>> RootPlacer.method_43182
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) ModifierConstructorDescriptionMangroveRootPlacer
(IntProvider trunkOffsetY, BlockStateProvider rootProvider, Optional<AboveRootPlacement> aboveRootPlacement, MangroveRootPlacement mangroveRootPlacement) RootPlacer
(IntProvider trunkOffsetY, BlockStateProvider rootProvider, Optional<AboveRootPlacement> aboveRootPlacement) -
Uses of IntProvider in net.minecraft.world.gen.stateprovider
Modifier and TypeFieldDescriptionprivate final IntProvider
RandomizedIntBlockStateProvider.values
ModifierConstructorDescriptionRandomizedIntBlockStateProvider
(BlockStateProvider source, String propertyName, IntProvider values) RandomizedIntBlockStateProvider
(BlockStateProvider source, IntProperty property, IntProvider values) -
Uses of IntProvider in net.minecraft.world.gen.trunk
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 baseHeight, int firstRandomHeight, int secondRandomHeight, int minHeightForLeaves, IntProvider bendLength) CherryTrunkPlacer
(int baseHeight, int firstRandomHeight, int secondRandomHeight, IntProvider branchCount, IntProvider branchHorizontalLength, UniformIntProvider branchStartOffsetFromTop, IntProvider branchEndOffsetFromTop) UpwardsBranchingTrunkPlacer
(int baseHeight, int firstRandomHeight, int secondRandomHeight, IntProvider extraBranchSteps, float placeBranchPerLogProbability, IntProvider extraBranchLength, RegistryEntryList<Block> canGrowThrough)