Uses of Interface
net.minecraft.util.math.random.AbstractRandom
Packages that use AbstractRandom
Package
Description
The base package for all Minecraft classes.
-
Uses of AbstractRandom in net.minecraft
Methods in net.minecraft with parameters of type AbstractRandomModifier and TypeMethodDescriptionprotected static int
class_7430.method_43559
(AbstractRandom abstractRandom, boolean bool) static void
class_7430.method_43562
(ItemStack itemStack, AbstractRandom abstractRandom) -
Uses of AbstractRandom in net.minecraft.block
Methods in net.minecraft.block with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate void
RedstoneWireBlock.addPoweredParticles
(World world, AbstractRandom random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3) protected BlockState
AbstractPlantStemBlock.age
(BlockState state, AbstractRandom random) protected BlockState
CaveVinesHeadBlock.age
(BlockState state, AbstractRandom random) static void
SculkCatalystBlock.bloom
(ServerWorld world, BlockPos pos, BlockState state, AbstractRandom random) boolean
AbstractPlantBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
AbstractPlantStemBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
AzaleaBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
BambooBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
BambooSaplingBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
BigDripleafBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
BigDripleafStemBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
CaveVinesBodyBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
CaveVinesHeadBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
CocoaBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
CropBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
FernBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
Fertilizable.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
FungusBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
GlowLichenBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
GrassBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
MangroveLeavesBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
MossBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
MushroomPlantBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
NetherrackBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
NyliumBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
PropaguleBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
RootedDirtBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
SaplingBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
SeagrassBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
SeaPickleBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
SmallDripleafBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
StemBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
SweetBerryBushBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) boolean
TallFlowerBlock.canGrow
(World world, AbstractRandom random, BlockPos pos, BlockState state) private boolean
SculkVeinBlock.convertToBlock
(SculkSpreadManager spreadManager, WorldAccess world, BlockPos pos, AbstractRandom random) static void
ChorusFlowerBlock.generate
(WorldAccess world, BlockPos pos, AbstractRandom random, int size) private static void
ChorusFlowerBlock.generate
(WorldAccess world, BlockPos pos, AbstractRandom random, BlockPos rootPos, int size, int layer) void
SaplingBlock.generate
(ServerWorld world, BlockPos pos, BlockState state, AbstractRandom random) private BlockState
SculkBlock.getExtraBlockState
(WorldAccess world, BlockPos pos, AbstractRandom random, boolean allowShrieker) private static int
FireBlock.getFireTickDelay
(AbstractRandom random) private BlockState
VineBlock.getGrownState
(BlockState above, BlockState state, AbstractRandom random) protected abstract int
AbstractPlantStemBlock.getGrowthLength
(AbstractRandom random) protected int
CaveVinesHeadBlock.getGrowthLength
(AbstractRandom random) protected int
KelpBlock.getGrowthLength
(AbstractRandom random) protected int
TwistingVinesBlock.getGrowthLength
(AbstractRandom random) static int
VineLogic.getGrowthLength
(AbstractRandom random) protected int
WeepingVinesBlock.getGrowthLength
(AbstractRandom random) private static int
FrogspawnBlock.getHatchTime
(AbstractRandom random) void
AbstractPlantBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
AbstractPlantStemBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
AzaleaBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
BambooBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
BambooSaplingBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
BigDripleafBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) static void
BigDripleafBlock.grow
(WorldAccess world, AbstractRandom random, BlockPos pos, Direction direction) void
BigDripleafStemBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
CaveVinesBodyBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
CaveVinesHeadBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
CocoaBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
CropBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
FernBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
Fertilizable.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
FungusBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
GlowLichenBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
GrassBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, Direction direction, AbstractRandom random, boolean markForPostProcessing) LichenGrower.grow
(BlockState state, WorldAccess world, BlockPos pos, AbstractRandom random) void
MangroveLeavesBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
MossBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
MushroomPlantBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
NetherrackBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
NyliumBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
PropaguleBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
RootedDirtBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
SaplingBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
SeagrassBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
SeaPickleBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
SmallDripleafBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
StemBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
SweetBerryBushBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) void
TallFlowerBlock.grow
(ServerWorld world, AbstractRandom random, BlockPos pos, BlockState state) private void
FrogspawnBlock.hatch
(ServerWorld world, BlockPos pos, AbstractRandom random) default boolean
SculkSpreadable.method_41470
(WorldAccess worldAccess, BlockPos blockPos, AbstractRandom abstractRandom) void
AbstractCandleBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
AbstractFireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
BeehiveBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
BlastFurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
Block.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
BrewingStandBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
BubbleColumnBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
CampfireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
CryingObsidianBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
EnchantingTableBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
EnderChestBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
EndGatewayBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
EndPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
EndRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
FallingBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
FurnaceBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
LeavesBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
LeverBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
LightningRodBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
MyceliumBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
NetherPortalBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
PointedDripstoneBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
RedstoneOreBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
RedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
RedstoneWireBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
RepeaterBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
RespawnAnchorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
SculkSensorBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
SmokerBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
SporeBlossomBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
StairsBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
TorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
WallRedstoneTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
WallTorchBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
WetSpongeBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
WitherRoseBlock.randomDisplayTick
(BlockState state, World world, BlockPos pos, AbstractRandom random) void
AbstractBlock.AbstractBlockState.randomTick
(ServerWorld world, BlockPos pos, AbstractRandom random) void
AbstractBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) Deprecated.void
AbstractPlantStemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BambooBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BambooSaplingBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BeetrootsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BuddingAmethystBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CactusBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
ChorusFlowerBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CocoaBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CropBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
FarmlandBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
FluidBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
FrostedIceBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
IceBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
LeavesBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
MagmaBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
MushroomPlantBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
NetherPortalBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
NetherWartBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
NyliumBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
OxidizableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
OxidizableSlabBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
OxidizableStairsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
PointedDripstoneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
PropaguleBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
RedstoneOreBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SaplingBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SnowBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SpreadableBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
StairsBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
StemBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SugarCaneBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SweetBerryBushBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
TurtleEggBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
VineBlock.randomTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
AbstractBlock.AbstractBlockState.scheduledTick
(ServerWorld world, BlockPos pos, AbstractRandom random) void
AbstractBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
AbstractButtonBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
AbstractCauldronBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
AbstractPlantPartBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
AbstractPressurePlateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
AbstractRedstoneGateBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BambooBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BarrelBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BigDripleafBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BigDripleafStemBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
BubbleColumnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CactusBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
ChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
ChorusFlowerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
ChorusPlantBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CommandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
ComparatorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
ComposterBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CoralBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CoralBlockBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CoralFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
CoralWallFanBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
DetectorRailBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
DirtPathBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
DispenserBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
EnderChestBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
FallingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
FarmlandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
FireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
FrogspawnBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
FrostedIceBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
LeavesBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
LecternBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
LightningRodBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
MagmaBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
ObserverBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
PointedDripstoneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
RedstoneLampBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
RedstoneTorchBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
ScaffoldingBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SculkCatalystBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SculkSensorBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SculkShriekerBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SoulSandBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
StairsBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
SugarCaneBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
TargetBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
TripwireBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) void
TripwireHookBlock.scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) private static void
AbstractCandleBlock.spawnCandleParticles
(World world, Vec3d vec3d, AbstractRandom random) private void
FrogspawnBlock.spawnTadpoles
(ServerWorld world, BlockPos pos, AbstractRandom random) int
SculkBlock.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, AbstractRandom random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) int
SculkSpreadable.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, AbstractRandom random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) int
SculkVeinBlock.spread
(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, AbstractRandom random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) default void
SculkSpreadable.spreadAtSamePosition
(WorldAccess world, BlockState state, BlockPos pos, AbstractRandom random) void
SculkVeinBlock.spreadAtSamePosition
(WorldAccess world, BlockState state, BlockPos pos, AbstractRandom random) default void
Degradable.tickDegradation
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) default void
Degradable.tryDegrade
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) static void
PointedDripstoneBlock.tryGrow
(BlockState state, ServerWorld world, BlockPos pos, AbstractRandom random) boolean
MushroomPlantBlock.trySpawningBigMushroom
(ServerWorld world, BlockPos pos, BlockState state, AbstractRandom random) private void
FireBlock.trySpreadingFire
(World world, BlockPos pos, int spreadFactor, AbstractRandom random, int currentAge) protected void
BambooBlock.updateLeaves
(BlockState state, World world, BlockPos pos, AbstractRandom random, int height) -
Uses of AbstractRandom in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as AbstractRandomModifier and TypeFieldDescriptionprivate static final AbstractRandom
EnchantingTableBlockEntity.RANDOM
Methods in net.minecraft.block.entity that return AbstractRandomModifier and TypeMethodDescriptionprivate static AbstractRandom
StructureBlockBlockEntity.createRandom
(long seed) Methods in net.minecraft.block.entity with parameters of type AbstractRandomModifier and TypeMethodDescriptionint
DispenserBlockEntity.chooseNonEmptySlot
(AbstractRandom random) SculkSpreadManager.Cursor.getSpreadPos
(WorldAccess world, BlockPos pos, AbstractRandom random) static void
LootableContainerBlockEntity.setLootTable
(BlockView world, AbstractRandom random, BlockPos pos, Identifier id) SculkSpreadManager.Cursor.shuffleOffsets
(AbstractRandom random) void
SculkSpreadManager.Cursor.spread
(WorldAccess world, BlockPos pos, AbstractRandom random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) void
SculkSpreadManager.tick
(WorldAccess world, BlockPos pos, AbstractRandom random, boolean shouldConvertToBlock) -
Uses of AbstractRandom in net.minecraft.block.sapling
Methods in net.minecraft.block.sapling with parameters of type AbstractRandomModifier and TypeMethodDescriptionboolean
LargeTreeSaplingGenerator.generate
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, AbstractRandom random) boolean
SaplingGenerator.generate
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, AbstractRandom random) boolean
LargeTreeSaplingGenerator.generateLargeTree
(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, AbstractRandom random, int x, int z) protected @Nullable RegistryEntry<? extends ConfiguredFeature<?,
?>> DarkOakSaplingGenerator.getLargeTreeFeature
(AbstractRandom random) protected RegistryEntry<? extends ConfiguredFeature<?,
?>> JungleSaplingGenerator.getLargeTreeFeature
(AbstractRandom random) protected abstract @Nullable RegistryEntry<? extends ConfiguredFeature<?,
?>> LargeTreeSaplingGenerator.getLargeTreeFeature
(AbstractRandom random) protected RegistryEntry<? extends ConfiguredFeature<?,
?>> SpruceSaplingGenerator.getLargeTreeFeature
(AbstractRandom random) protected RegistryEntry<? extends ConfiguredFeature<?,
?>> AcaciaSaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) protected @Nullable RegistryEntry<? extends ConfiguredFeature<?,
?>> AzaleaSaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) protected RegistryEntry<? extends ConfiguredFeature<?,
?>> BirchSaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) protected @Nullable RegistryEntry<? extends ConfiguredFeature<?,
?>> DarkOakSaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) protected RegistryEntry<? extends ConfiguredFeature<?,
?>> JungleSaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) protected @Nullable RegistryEntry<? extends ConfiguredFeature<?,
?>> MangroveSaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) protected RegistryEntry<? extends ConfiguredFeature<?,
?>> OakSaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) protected abstract @Nullable RegistryEntry<? extends ConfiguredFeature<?,
?>> SaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) protected RegistryEntry<? extends ConfiguredFeature<?,
?>> SpruceSaplingGenerator.getTreeFeature
(AbstractRandom random, boolean bees) -
Uses of AbstractRandom in net.minecraft.client.font
Fields in net.minecraft.client.font declared as AbstractRandomModifier and TypeFieldDescriptionfinal AbstractRandom
TextRenderer.random
private static final AbstractRandom
FontStorage.RANDOM
-
Uses of AbstractRandom in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as AbstractRandom -
Uses of AbstractRandom in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as AbstractRandomModifier and TypeFieldDescriptionprivate final AbstractRandom
EnchantingPhrases.random
private final AbstractRandom
EnchantmentScreen.random
-
Uses of AbstractRandom in net.minecraft.client.model
Methods in net.minecraft.client.model with parameters of type AbstractRandom -
Uses of AbstractRandom in net.minecraft.client.network
Fields in net.minecraft.client.network declared as AbstractRandom -
Uses of AbstractRandom in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as AbstractRandomModifier and TypeFieldDescriptionprivate final AbstractRandom
BlockLeakParticle.FallingSporeBlossomFactory.random
protected final AbstractRandom
Particle.random
private final AbstractRandom
ParticleManager.random
(package private) static final AbstractRandom
GlowParticle.RANDOM
private static final AbstractRandom
SpellParticle.RANDOM
Methods in net.minecraft.client.particle with parameters of type AbstractRandomModifier and TypeMethodDescriptionParticleManager.SimpleSpriteProvider.getSprite
(AbstractRandom random) SpriteProvider.getSprite
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.client.render
Fields in net.minecraft.client.render declared as AbstractRandom -
Uses of AbstractRandom in net.minecraft.client.render.block
Fields in net.minecraft.client.render.block declared as AbstractRandomMethods in net.minecraft.client.render.block with parameters of type AbstractRandomModifier and TypeMethodDescriptionvoid
BlockModelRenderer.render
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, AbstractRandom random, long seed, int overlay) void
BlockRenderManager.renderBlock
(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, AbstractRandom random) void
BlockModelRenderer.renderFlat
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, AbstractRandom random, long seed, int overlay) void
BlockModelRenderer.renderSmooth
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, AbstractRandom random, long seed, int overlay) -
Uses of AbstractRandom in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug that return AbstractRandomModifier and TypeMethodDescriptionprivate static AbstractRandom
NameGenerator.randomFromUuid
(UUID uuid) Methods in net.minecraft.client.render.debug with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate static String
NameGenerator.getRandom
(AbstractRandom random, String[] options) -
Uses of AbstractRandom in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity declared as AbstractRandomModifier and TypeFieldDescriptionprivate final AbstractRandom
EndermanEntityRenderer.random
private final AbstractRandom
ItemEntityRenderer.random
-
Uses of AbstractRandom in net.minecraft.client.render.entity.model
Methods in net.minecraft.client.render.entity.model with parameters of type AbstractRandom -
Uses of AbstractRandom in net.minecraft.client.render.model
Methods in net.minecraft.client.render.model with parameters of type AbstractRandomModifier and TypeMethodDescriptionBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction face, AbstractRandom random) BasicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction face, AbstractRandom random) BuiltinBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction face, AbstractRandom random) MultipartBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction face, AbstractRandom random) WeightedBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction face, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.client.resource
Fields in net.minecraft.client.resource declared as AbstractRandomModifier and TypeFieldDescriptionprivate static final AbstractRandom
SplashTextResourceSupplier.RANDOM
-
Uses of AbstractRandom in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as AbstractRandomModifier and TypeFieldDescriptionprotected AbstractRandom
AbstractSoundInstance.field_38800
private final AbstractRandom
BiomeEffectSoundPlayer.random
private final AbstractRandom
MusicTracker.random
private final AbstractRandom
WeightedSoundSet.random
Methods in net.minecraft.client.sound that return AbstractRandomMethods in net.minecraft.client.sound with parameters of type AbstractRandomModifier and TypeMethodDescriptionstatic PositionedSoundInstance
PositionedSoundInstance.ambient
(SoundEvent sound, AbstractRandom random, double x, double y, double z) Sound.getSound
(AbstractRandom abstractRandom) SoundContainer.getSound
(AbstractRandom random) WeightedSoundSet.getSound
(AbstractRandom abstractRandom) Constructors in net.minecraft.client.sound with parameters of type AbstractRandomModifierConstructorDescriptionprotected
AbstractSoundInstance
(SoundEvent sound, SoundCategory category, AbstractRandom random) protected
AbstractSoundInstance
(Identifier soundId, SoundCategory category, AbstractRandom abstractRandom) protected
MovingSoundInstance
(SoundEvent sound, SoundCategory category, AbstractRandom random) private
PositionedSoundInstance
(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z) PositionedSoundInstance
(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom random, double x, double y, double z) PositionedSoundInstance
(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom random, BlockPos pos) PositionedSoundInstance
(Identifier id, SoundCategory category, float volume, float pitch, AbstractRandom random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean relative) -
Uses of AbstractRandom in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate static Vec3d
ParticleUtil.getRandomVelocity
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type AbstractRandomModifier and TypeMethodDescriptionvoid
ClientWorld.randomBlockDisplayTick
(int centerX, int centerY, int centerZ, int radius, AbstractRandom random, @Nullable Block block, BlockPos.Mutable pos) -
Uses of AbstractRandom in net.minecraft.datafixer.fix
Fields in net.minecraft.datafixer.fix declared as AbstractRandomModifier and TypeFieldDescriptionprivate static final AbstractRandom
EntityZombieVillagerTypeFix.RANDOM
-
Uses of AbstractRandom in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type AbstractRandomModifier and TypeMethodDescriptionstatic int
EnchantmentHelper.calculateRequiredExperienceLevel
(AbstractRandom random, int slotIndex, int bookshelfCount, ItemStack stack) Returns the required experience level for an enchanting option in the enchanting table's screen, or the enchantment screen.static ItemStack
EnchantmentHelper.enchant
(AbstractRandom random, ItemStack target, int level, boolean treasureAllowed) Enchants thetarget
item stack and returns it.static List<EnchantmentLevelEntry>
EnchantmentHelper.generateEnchantments
(AbstractRandom random, ItemStack stack, int level, boolean treasureAllowed) Generate the enchantments for enchanting thestack
.static int
ThornsEnchantment.getDamageAmount
(int level, AbstractRandom random) static boolean
ThornsEnchantment.shouldDamageAttacker
(int level, AbstractRandom random) static boolean
UnbreakingEnchantment.shouldPreventDamage
(ItemStack item, int level, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.entity
Fields in net.minecraft.entity declared as AbstractRandomMethods in net.minecraft.entity that return AbstractRandomMethods in net.minecraft.entity with parameters of type AbstractRandomModifier and TypeMethodDescriptionboolean
SaddledComponent.boost
(AbstractRandom random) static <T extends Entity>
booleanSpawnRestriction.canSpawn
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) boolean
SpawnRestriction.SpawnPredicate.test
(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.entity.ai
Methods in net.minecraft.entity.ai with parameters of type AbstractRandomModifier and TypeMethodDescriptionstatic BlockPos
FuzzyPositions.localFuzz
(AbstractRandom random, int horizontalRange, int verticalRange) Creates a fuzzy offset position within the given horizontal and vertical ranges.FuzzyPositions.localFuzz
(AbstractRandom random, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double angleRange) Tries to create a fuzzy offset position from the direction and the angle range given.static BlockPos
FuzzyPositions.towardTarget
(PathAwareEntity entity, int horizontalRange, AbstractRandom random, BlockPos fuzz) -
Uses of AbstractRandom in net.minecraft.entity.ai.brain.sensor
Fields in net.minecraft.entity.ai.brain.sensor declared as AbstractRandom -
Uses of AbstractRandom in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as AbstractRandomModifier and TypeFieldDescriptionprivate final AbstractRandom
FindPointOfInterestTask.RetryMarker.random
Methods in net.minecraft.entity.ai.brain.task with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate static int
GoToCelebrateTask.fuzz
(AbstractRandom random) Constructors in net.minecraft.entity.ai.brain.task with parameters of type AbstractRandom -
Uses of AbstractRandom in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type AbstractRandomModifier and TypeMethodDescriptionstatic boolean
MagmaCubeEntity.canMagmaCubeSpawn
(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
MobEntity.canMobSpawn
(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
DrownedEntity.canSpawn
(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
EndermiteEntity.canSpawn
(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom abstractRandom) static boolean
GhastEntity.canSpawn
(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
GuardianEntity.canSpawn
(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
HoglinEntity.canSpawn
(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
HuskEntity.canSpawn
(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
PatrolEntity.canSpawn
(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
PiglinEntity.canSpawn
(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
SilverfishEntity.canSpawn
(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
SlimeEntity.canSpawn
(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
StrayEntity.canSpawn
(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
WaterCreatureEntity.canSpawn
(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, AbstractRandom random) static boolean
ZombifiedPiglinEntity.canSpawn
(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
HostileEntity.canSpawnIgnoreLightLevel
(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
HostileEntity.canSpawnInDark
(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) protected void
MobEntity.enchantEquipment
(AbstractRandom random, float power, EquipmentSlot slot) protected void
MobEntity.enchantMainHandItem
(AbstractRandom random, float power) protected void
PillagerEntity.enchantMainHandItem
(AbstractRandom random, float power) private void
PiglinEntity.equipAtChance
(EquipmentSlot slot, ItemStack stack, AbstractRandom random) protected void
SkeletonHorseEntity.initAttributes
(AbstractRandom random) protected void
ZombieHorseEntity.initAttributes
(AbstractRandom random) protected void
AbstractSkeletonEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
DrownedEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
MobEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
PiglinBruteEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
PiglinEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
PillagerEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
VexEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
VindicatorEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
WitherSkeletonEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
ZombieEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
ZombifiedPiglinEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) static boolean
HostileEntity.isSpawnDark
(ServerWorldAccess world, BlockPos pos, AbstractRandom random) void
SpiderEntity.SpiderData.setEffect
(AbstractRandom random) protected static void
PiglinBrain.setHuntedRecently
(PiglinEntity piglin, AbstractRandom random) static boolean
ZombieEntity.shouldBeBaby
(AbstractRandom random) protected void
MobEntity.updateEnchantments
(AbstractRandom random, LocalDifficulty localDifficulty) protected void
WitherSkeletonEntity.updateEnchantments
(AbstractRandom random, LocalDifficulty localDifficulty) -
Uses of AbstractRandom in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type AbstractRandomModifier and TypeMethodDescriptionstatic boolean
AxolotlEntity.canSpawn
(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, AbstractRandom random) static boolean
BatEntity.canSpawn
(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
FoxEntity.canSpawn
(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
FrogEntity.canSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, AbstractRandom random) static boolean
GlowSquidEntity.canSpawn
(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, AbstractRandom random) static boolean
GoatEntity.canSpawn
(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
MooshroomEntity.canSpawn
(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
OcelotEntity.canSpawn
(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
ParrotEntity.canSpawn
(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
PolarBearEntity.canSpawn
(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
RabbitEntity.canSpawn
(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
StriderEntity.canSpawn
(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
TurtleEntity.canSpawn
(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
WolfEntity.canSpawn
(EntityType<WolfEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) static boolean
TropicalFishEntity.canTropicalFishSpawn
(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, AbstractRandom random) protected static void
FrogBrain.coolDownLongJump
(FrogEntity frog, AbstractRandom random) static PandaEntity.Gene
PandaEntity.Gene.createRandom
(AbstractRandom random) static DyeColor
SheepEntity.generateDefaultColor
(AbstractRandom random) protected float
AbstractHorseEntity.getChildHealthBonus
(AbstractRandom random) protected double
AbstractHorseEntity.getChildJumpStrengthBonus
(AbstractRandom random) protected double
AbstractHorseEntity.getChildMovementSpeedBonus
(AbstractRandom random) private static AxolotlEntity.Variant
AxolotlEntity.Variant.getRandom
(AbstractRandom random, boolean natural) static AxolotlEntity.Variant
AxolotlEntity.Variant.getRandomNatural
(AbstractRandom random) static SoundEvent
ParrotEntity.getRandomSound
(World world, AbstractRandom random) static AxolotlEntity.Variant
AxolotlEntity.Variant.getRandomUnnatural
(AbstractRandom random) AxolotlEntity.AxolotlData.getRandomVariant
(AbstractRandom random) static float
ParrotEntity.getSoundPitch
(AbstractRandom abstractRandom) protected void
AbstractDonkeyEntity.initAttributes
(AbstractRandom random) protected void
AbstractHorseEntity.initAttributes
(AbstractRandom random) protected void
HorseEntity.initAttributes
(AbstractRandom random) protected void
FoxEntity.initEquipment
(AbstractRandom random, LocalDifficulty localDifficulty) private void
LlamaEntity.initializeStrength
(AbstractRandom random) static boolean
AnimalEntity.isValidNaturalSpawn
(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, AbstractRandom random) protected static void
GoatBrain.resetLongJumpCooldown
(GoatEntity goat, AbstractRandom random) private static boolean
AxolotlEntity.shouldBabyBeDifferent
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile declared as AbstractRandom -
Uses of AbstractRandom in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type AbstractRandomModifier and TypeMethodDescriptionprotected void
Fluid.onRandomTick
(World world, BlockPos pos, FluidState state, AbstractRandom random) void
FluidState.onRandomTick
(World world, BlockPos pos, AbstractRandom random) void
LavaFluid.onRandomTick
(World world, BlockPos pos, FluidState state, AbstractRandom random) protected void
Fluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, AbstractRandom random) void
FluidState.randomDisplayTick
(World world, BlockPos pos, AbstractRandom random) void
LavaFluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, AbstractRandom random) void
WaterFluid.randomDisplayTick
(World world, BlockPos pos, FluidState state, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.item
Methods in net.minecraft.item with parameters of type AbstractRandomModifier and TypeMethodDescriptionboolean
ItemStack.damage
(int amount, AbstractRandom random, @Nullable ServerPlayerEntity player) private static float
CrossbowItem.getSoundPitch
(boolean flag, AbstractRandom random) private static float[]
CrossbowItem.getSoundPitches
(AbstractRandom random) private void
ArmorStandItem.setRotations
(ArmorStandEntity stand, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.loot
Methods in net.minecraft.loot with parameters of type AbstractRandomModifier and TypeMethodDescriptionLootTable.getFreeSlots
(Inventory inventory, AbstractRandom random) private void
LootTable.shuffle
(ObjectArrayList<ItemStack> drops, int freeSlots, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as AbstractRandomModifier and TypeFieldDescriptionprivate AbstractRandom
LootContext.Builder.random
private final AbstractRandom
LootContext.random
Methods in net.minecraft.loot.context that return AbstractRandomMethods in net.minecraft.loot.context with parameters of type AbstractRandomModifier and TypeMethodDescriptionLootContext.Builder.random
(long seed, AbstractRandom random) LootContext.Builder.random
(AbstractRandom random) Constructors in net.minecraft.loot.context with parameters of type AbstractRandomModifierConstructorDescription(package private)
LootContext
(AbstractRandom random, float luck, ServerWorld world, Function<Identifier, LootTable> tableGetter, Function<Identifier, LootCondition> conditionGetter, Map<LootContextParameter<?>, Object> parameters, Map<Identifier, LootContext.Dropper> drops) -
Uses of AbstractRandom in net.minecraft.loot.function
Methods in net.minecraft.loot.function with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate static ItemStack
EnchantRandomlyLootFunction.addEnchantmentToStack
(ItemStack stack, Enchantment enchantment, AbstractRandom random) int
ApplyBonusLootFunction.BinomialWithBonusCount.getValue
(AbstractRandom random, int initialCount, int enchantmentLevel) int
ApplyBonusLootFunction.Formula.getValue
(AbstractRandom random, int initialCount, int enchantmentLevel) int
ApplyBonusLootFunction.OreDrops.getValue
(AbstractRandom random, int initialCount, int enchantmentLevel) int
ApplyBonusLootFunction.UniformBonusCount.getValue
(AbstractRandom random, int initialCount, int enchantmentLevel) -
Uses of AbstractRandom in net.minecraft.screen
Fields in net.minecraft.screen declared as AbstractRandom -
Uses of AbstractRandom in net.minecraft.server
Fields in net.minecraft.server declared as AbstractRandom -
Uses of AbstractRandom in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate static SpreadPlayersCommand.Pile[]
SpreadPlayersCommand.makePiles
(AbstractRandom random, int count, double minX, double minZ, double maxX, double maxZ) void
SpreadPlayersCommand.Pile.setPileLocation
(AbstractRandom random, double minX, double minZ, double maxX, double maxZ) private static void
SpreadPlayersCommand.spread
(Vec2f center, double spreadDistance, ServerWorld world, AbstractRandom random, double minX, double minZ, double maxX, double maxZ, int maxY, SpreadPlayersCommand.Pile[] piles, boolean respectTeams) -
Uses of AbstractRandom in net.minecraft.server.network
Fields in net.minecraft.server.network declared as AbstractRandomModifier and TypeFieldDescriptionprivate static final AbstractRandom
ServerLoginNetworkHandler.RANDOM
-
Uses of AbstractRandom in net.minecraft.structure
Fields in net.minecraft.structure declared as AbstractRandomModifier and TypeFieldDescriptionprivate @Nullable AbstractRandom
StructurePlacementData.random
private final AbstractRandom
WoodlandMansionGenerator.LayoutGenerator.random
private final AbstractRandom
WoodlandMansionGenerator.MansionParameters.random
Methods in net.minecraft.structure that return AbstractRandomModifier and TypeMethodDescriptionMethods in net.minecraft.structure with parameters of type AbstractRandomModifier and TypeMethodDescriptionprotected void
StructurePiece.addBlockWithRandomThreshold
(StructureWorldAccess world, BlockBox bounds, AbstractRandom random, float threshold, int x, int y, int z, BlockState state) protected boolean
MineshaftGenerator.MineshaftCorridor.addChest
(StructureWorldAccess world, BlockBox boundingBox, AbstractRandom random, int x, int y, int z, Identifier lootTableId) protected boolean
StructurePiece.addChest
(ServerWorldAccess world, BlockBox boundingBox, AbstractRandom random, BlockPos pos, Identifier lootTableId, @Nullable BlockState block) protected boolean
StructurePiece.addChest
(StructureWorldAccess world, BlockBox boundingBox, AbstractRandom random, int x, int y, int z, Identifier lootTableId) private void
MineshaftGenerator.MineshaftCorridor.addCobwebsUnderground
(StructureWorldAccess world, BlockBox box, AbstractRandom random, float threshold, int x, int y, int z) protected boolean
StructurePiece.addDispenser
(StructureWorldAccess world, BlockBox boundingBox, AbstractRandom random, int x, int y, int z, Direction facing, Identifier lootTableId) static void
ShipwreckGenerator.addParts
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, AbstractRandom random, boolean bool) static void
EndCityGenerator.addPieces
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, AbstractRandom random) static void
IglooGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, AbstractRandom random) static void
NetherFossilGenerator.addPieces
(StructureManager manager, StructurePiecesHolder holder, AbstractRandom random, BlockPos pos) static void
OceanRuinGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, AbstractRandom random, OceanRuinStructure oceanRuinStructure) static void
WoodlandMansionGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, AbstractRandom random) void
PostPlacementProcessor.afterPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos pos, StructurePiecesList children) boolean
EndCityGenerator.Part.create
(StructureManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, AbstractRandom random) NetherFortressGenerator.Bridge.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgeEnd.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorExit.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorLeftTurn.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorRightTurn.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.ChestCorridor.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainlength) static StrongholdGenerator.Corridor
StrongholdGenerator.Corridor.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.FiveWayCrossing.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.LeftTurn
StrongholdGenerator.LeftTurn.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.Library
StrongholdGenerator.Library.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.PrisonHall.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.RightTurn.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) static BlockBox
StrongholdGenerator.SmallCorridor.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation) StrongholdGenerator.SpiralStaircase.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.SquareRoom.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.Stairs
StrongholdGenerator.Stairs.create
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) (package private) static boolean
EndCityGenerator.createPart
(StructureManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, AbstractRandom random) (package private) static NetherFortressGenerator.Piece
NetherFortressGenerator.createPiece
(NetherFortressGenerator.PieceData pieceData, StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdGenerator.Piece
StrongholdGenerator.createPiece
(Class<? extends StrongholdGenerator.Piece> pieceType, StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, @Nullable Direction orientation, int chainLength) protected @Nullable StructurePiece
NetherFortressGenerator.Piece.fillForwardOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int leftRightOffset, int heightOffset, boolean inside) protected @Nullable StructurePiece
StrongholdGenerator.Piece.fillForwardOpening
(StrongholdGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int leftRightOffset, int heightOffset) protected @Nullable StructurePiece
NetherFortressGenerator.Piece.fillNWOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int heightOffset, int leftRightOffset, boolean inside) protected @Nullable StructurePiece
StrongholdGenerator.Piece.fillNWOpening
(StrongholdGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int heightOffset, int leftRightOffset) void
MineshaftGenerator.MineshaftCorridor.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
MineshaftGenerator.MineshaftCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
MineshaftGenerator.MineshaftRoom.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
MineshaftGenerator.MineshaftStairs.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.Bridge.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.BridgeCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.BridgeSmallCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.BridgeStairs.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.CorridorBalcony.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.CorridorCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.CorridorExit.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.CorridorLeftTurn.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.CorridorNetherWartsRoom.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.CorridorRightTurn.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.CorridorStairs.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
NetherFortressGenerator.SmallCorridor.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.ChestCorridor.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.Corridor.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.FiveWayCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.LeftTurn.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.PortalRoom.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.PrisonHall.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.RightTurn.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.SpiralStaircase.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.SquareRoom.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StrongholdGenerator.Stairs.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) void
StructurePiece.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random) protected @Nullable StructurePiece
NetherFortressGenerator.Piece.fillSEOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int heightOffset, int leftRightOffset, boolean inside) protected @Nullable StructurePiece
StrongholdGenerator.Piece.fillSEOpening
(StrongholdGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int heightOffset, int leftRightOffset) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean cantReplaceAir, AbstractRandom random, StructurePiece.BlockRandomizer randomizer) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, BlockBox fillBox, boolean cantReplaceAir, AbstractRandom random, StructurePiece.BlockRandomizer randomizer) protected void
StructurePiece.fillWithOutlineUnderSeaLevel
(StructureWorldAccess world, BlockBox box, AbstractRandom random, float blockChance, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir, boolean stayBelowSeaLevel) void
BuriedTreasureGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
DesertTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
IglooGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
JungleTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.Bridge.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeEnd.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgePlatform.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeSmallCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorBalcony.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorExit.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorLeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorNetherWartsRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorRightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFossilGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Base.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.CoreRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleXRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) OceanMonumentGenerator.DoubleXRoomFactory.generate
(Direction direction, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) void
OceanMonumentGenerator.DoubleXYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) OceanMonumentGenerator.DoubleXYRoomFactory.generate
(Direction direction, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) void
OceanMonumentGenerator.DoubleYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) OceanMonumentGenerator.DoubleYRoomFactory.generate
(Direction direction, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) void
OceanMonumentGenerator.DoubleYZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) OceanMonumentGenerator.DoubleYZRoomFactory.generate
(Direction direction, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) void
OceanMonumentGenerator.DoubleZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) OceanMonumentGenerator.DoubleZRoomFactory.generate
(Direction direction, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) void
OceanMonumentGenerator.Entry.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Penthouse.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) OceanMonumentGenerator.PieceFactory.generate
(Direction direction, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) void
OceanMonumentGenerator.SimpleRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) OceanMonumentGenerator.SimpleRoomFactory.generate
(Direction direction, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) void
OceanMonumentGenerator.SimpleRoomTop.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) OceanMonumentGenerator.SimpleRoomTopFactory.generate
(Direction direction, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) void
OceanMonumentGenerator.WingRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanRuinGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
RuinedPortalStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
ShipwreckGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
SimpleStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.ChestCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Corridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.FiveWayCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.LeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Library.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.PortalRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.PrisonHall.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.RightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SpiralStaircase.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SquareRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Stairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) abstract void
StructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
SwampHutGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) protected void
StrongholdGenerator.Piece.generateEntrance
(StructureWorldAccess world, AbstractRandom random, BlockBox boundingBox, StrongholdGenerator.Piece.EntranceType type, int x, int y, int z) private void
RuinedPortalStructurePiece.generateOvergrownLeaves
(AbstractRandom random, WorldAccess world, BlockPos pos) private void
MineshaftGenerator.MineshaftCorridor.generateSupports
(StructureWorldAccess world, BlockBox boundingBox, int minX, int minY, int z, int maxY, int maxX, AbstractRandom random) private void
RuinedPortalStructurePiece.generateVines
(AbstractRandom random, WorldAccess world, BlockPos pos) WoodlandMansionGenerator.FirstFloorRoomPool.getBigRoom
(AbstractRandom random) abstract String
WoodlandMansionGenerator.RoomPool.getBigRoom
(AbstractRandom random) WoodlandMansionGenerator.SecondFloorRoomPool.getBigRoom
(AbstractRandom random) WoodlandMansionGenerator.FirstFloorRoomPool.getBigSecretRoom
(AbstractRandom random) abstract String
WoodlandMansionGenerator.RoomPool.getBigSecretRoom
(AbstractRandom random) WoodlandMansionGenerator.SecondFloorRoomPool.getBigSecretRoom
(AbstractRandom random) MineshaftGenerator.MineshaftCorridor.getBoundingBox
(StructurePiecesHolder structurePiecesHolder, AbstractRandom random, int x, int y, int z, Direction orientation) MineshaftGenerator.MineshaftCrossing.getBoundingBox
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation) MineshaftGenerator.MineshaftStairs.getBoundingBox
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation) WoodlandMansionGenerator.FirstFloorRoomPool.getMediumFunctionalRoom
(AbstractRandom random, boolean staircase) abstract String
WoodlandMansionGenerator.RoomPool.getMediumFunctionalRoom
(AbstractRandom random, boolean staircase) WoodlandMansionGenerator.SecondFloorRoomPool.getMediumFunctionalRoom
(AbstractRandom random, boolean staircase) WoodlandMansionGenerator.FirstFloorRoomPool.getMediumGenericRoom
(AbstractRandom random, boolean staircase) abstract String
WoodlandMansionGenerator.RoomPool.getMediumGenericRoom
(AbstractRandom random, boolean staircase) WoodlandMansionGenerator.SecondFloorRoomPool.getMediumGenericRoom
(AbstractRandom random, boolean staircase) WoodlandMansionGenerator.FirstFloorRoomPool.getMediumSecretRoom
(AbstractRandom random) abstract String
WoodlandMansionGenerator.RoomPool.getMediumSecretRoom
(AbstractRandom random) WoodlandMansionGenerator.SecondFloorRoomPool.getMediumSecretRoom
(AbstractRandom random) private static Identifier
OceanRuinGenerator.getRandomBigWarmRuin
(AbstractRandom random) protected StrongholdGenerator.Piece.EntranceType
StrongholdGenerator.Piece.getRandomEntrance
(AbstractRandom random) protected static Direction
StructurePiece.getRandomHorizontalDirection
(AbstractRandom random) private static Identifier
OceanRuinGenerator.getRandomWarmRuin
(AbstractRandom random) OceanRuinGenerator.getRoomPositions
(AbstractRandom random, BlockPos pos) WoodlandMansionGenerator.FirstFloorRoomPool.getSmallRoom
(AbstractRandom random) abstract String
WoodlandMansionGenerator.RoomPool.getSmallRoom
(AbstractRandom random) WoodlandMansionGenerator.SecondFloorRoomPool.getSmallRoom
(AbstractRandom random) WoodlandMansionGenerator.FirstFloorRoomPool.getSmallSecretRoom
(AbstractRandom random) abstract String
WoodlandMansionGenerator.RoomPool.getSmallSecretRoom
(AbstractRandom random) WoodlandMansionGenerator.SecondFloorRoomPool.getSmallSecretRoom
(AbstractRandom random) protected void
EndCityGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, AbstractRandom random, BlockBox boundingBox) protected void
IglooGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, AbstractRandom random, BlockBox boundingBox) protected void
NetherFossilGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, AbstractRandom random, BlockBox boundingBox) protected void
OceanRuinGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, AbstractRandom random, BlockBox boundingBox) protected void
RuinedPortalStructurePiece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, AbstractRandom random, BlockBox boundingBox) protected void
ShipwreckGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, AbstractRandom random, BlockBox boundingBox) protected abstract void
SimpleStructurePiece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, AbstractRandom random, BlockBox boundingBox) protected void
WoodlandMansionGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, AbstractRandom random, BlockBox boundingBox) private List<OceanMonumentGenerator.PieceSetting>
OceanMonumentGenerator.Base.method_14760
(AbstractRandom random) private void
OceanMonumentGenerator.Base.method_14761
(boolean bool, int int2, StructureWorldAccess world, AbstractRandom random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14762
(StructureWorldAccess world, AbstractRandom random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14763
(StructureWorldAccess world, AbstractRandom random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14764
(StructureWorldAccess world, AbstractRandom random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14765
(StructureWorldAccess world, AbstractRandom random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14766
(StructureWorldAccess world, AbstractRandom random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14767
(StructureWorldAccess world, AbstractRandom random, BlockBox box) private static void
OceanRuinGenerator.method_14822
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, AbstractRandom random, OceanRuinStructure oceanRuinStructure, boolean large, float integrity) private static void
OceanRuinGenerator.method_14825
(StructureManager manager, AbstractRandom random, BlockRotation rotation, BlockPos pos, OceanRuinStructure oceanRuinStructure, StructurePiecesHolder structurePiecesHolder) private static MineshaftGenerator.MineshaftPart
MineshaftGenerator.pickPiece
(StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, @Nullable Direction orientation, int chainLength, MineshaftStructure.Type type) private NetherFortressGenerator.Piece
NetherFortressGenerator.Piece.pickPiece
(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdGenerator.Piece
StrongholdGenerator.pickPiece
(StrongholdGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) (package private) static MineshaftGenerator.MineshaftPart
MineshaftGenerator.pieceGenerator
(StructurePiece start, StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, Direction orientation, int chainLength) private StructurePiece
NetherFortressGenerator.Piece.pieceGenerator
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside) (package private) static StructurePiece
StrongholdGenerator.pieceGenerator
(StrongholdGenerator.Start start, StructurePiecesHolder holder, AbstractRandom random, int x, int y, int z, @Nullable Direction orientation, int chainLength) boolean
Structure.place
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, AbstractRandom random, int flags) void
StructureStart.place
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox chunkBox, ChunkPos chunkPos) private void
RuinedPortalStructurePiece.placeNetherrackBase
(AbstractRandom random, WorldAccess world) private void
RuinedPortalStructurePiece.placeNetherrackBottom
(AbstractRandom random, WorldAccess world, BlockPos pos) void
JungleTempleGenerator.CobblestoneRandomizer.setBlock
(AbstractRandom random, int x, int y, int z, boolean placeBlock) void
StrongholdGenerator.StoneBrickRandomizer.setBlock
(AbstractRandom random, int x, int y, int z, boolean placeBlock) abstract void
StructurePiece.BlockRandomizer.setBlock
(AbstractRandom random, int x, int y, int z, boolean placeBlock) StructurePlacementData.setRandom
(@Nullable AbstractRandom random) void
StructurePiecesCollector.shiftInto
(int topY, int bottomY, AbstractRandom random, int topPenalty) Deprecated.void
StructurePiecesCollector.shiftInto
(AbstractRandom random, int baseY, int topY) Shifts all pieces so they lie within[baseY, topY]
vertically.private void
RuinedPortalStructurePiece.updateNetherracks
(AbstractRandom random, WorldAccess world, BlockPos pos) private void
RuinedPortalStructurePiece.updateNetherracksInBound
(AbstractRandom random, WorldAccess world) Constructors in net.minecraft.structure with parameters of type AbstractRandomModifierConstructorDescriptionBase
(AbstractRandom random, int x, int z, Direction orientation) Bridge
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) BridgeEnd
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) ChestCorridor
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) Corridor
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) CorridorExit
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) CorridorLeftTurn
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) CorridorRightTurn
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) DesertTempleGenerator
(AbstractRandom random, int x, int z) FiveWayCrossing
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) JungleTempleGenerator
(AbstractRandom random, int x, int z) LayoutGenerator
(StructureManager manager, AbstractRandom random) LeftTurn
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) Library
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) MansionParameters
(AbstractRandom random) MineshaftCorridor
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) MineshaftRoom
(int chainLength, AbstractRandom random, int x, int z, MineshaftStructure.Type type) PrisonHall
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) RightTurn
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) SimpleRoom
(Direction orientation, OceanMonumentGenerator.PieceSetting setting, AbstractRandom random) SpiralStaircase
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) SquareRoom
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) Stairs
(int chainLength, AbstractRandom random, BlockBox boundingBox, Direction orientation) Start
(AbstractRandom random, int x, int z) Start
(AbstractRandom random, int int2, int int3) SwampHutGenerator
(AbstractRandom random, int x, int z) -
Uses of AbstractRandom in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as AbstractRandomModifier and TypeFieldDescriptionprivate final AbstractRandom
StructurePoolBasedGenerator.StructurePoolGenerator.random
Methods in net.minecraft.structure.pool with parameters of type AbstractRandomModifier and TypeMethodDescriptionboolean
EmptyPoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, AbstractRandom random, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, AbstractRandom random, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, AbstractRandom random, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, AbstractRandom random, boolean keepJigsaws) private static void
StructurePoolBasedGenerator.generate
(NoiseConfig noiseConfig, int int2, boolean bool, ChunkGenerator chunkGenerator, StructureManager structureManager, HeightLimitView heightLimitView, AbstractRandom abstractRandom, Registry<StructurePool> registry, PoolStructurePiece poolStructurePiece, List<PoolStructurePiece> list, VoxelShape voxelShape) abstract boolean
StructurePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, AbstractRandom random, boolean keepJigsaws) StructurePool.getElementIndicesInRandomOrder
(AbstractRandom random) StructurePool.getRandomElement
(AbstractRandom random) EmptyPoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, AbstractRandom random) FeaturePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, AbstractRandom random) ListPoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, AbstractRandom random) SinglePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, AbstractRandom random) abstract List<Structure.StructureBlockInfo>
StructurePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, AbstractRandom random) void
StructurePoolElement.method_16756
(WorldAccess world, Structure.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, AbstractRandom random, BlockBox box) Constructors in net.minecraft.structure.pool with parameters of type AbstractRandomModifierConstructorDescription(package private)
StructurePoolGenerator
(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, AbstractRandom abstractRandom) -
Uses of AbstractRandom in net.minecraft.structure.processor
Methods in net.minecraft.structure.processor with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate BlockState
BlockAgeStructureProcessor.process
(AbstractRandom random, BlockState[] regularStates, BlockState[] mossyStates) private @Nullable BlockState
BlockAgeStructureProcessor.processBlocks
(AbstractRandom random) private @Nullable BlockState
BlockAgeStructureProcessor.processObsidian
(AbstractRandom random) private @Nullable BlockState
BlockAgeStructureProcessor.processSlabs
(AbstractRandom random) private @Nullable BlockState
BlockAgeStructureProcessor.processStairs
(AbstractRandom random, BlockState state) private @Nullable BlockState
BlockAgeStructureProcessor.processWalls
(AbstractRandom random) private static BlockState
BlockAgeStructureProcessor.randomStairProperties
(AbstractRandom random, Block stairs) private static BlockState
BlockAgeStructureProcessor.randomState
(AbstractRandom random, BlockState[] states) boolean
StructureProcessorRule.test
(BlockState input, BlockState location, BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.structure.rule
Methods in net.minecraft.structure.rule with parameters of type AbstractRandomModifier and TypeMethodDescriptionboolean
AlwaysTruePosRuleTest.test
(BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, AbstractRandom random) boolean
AlwaysTrueRuleTest.test
(BlockState state, AbstractRandom random) boolean
AxisAlignedLinearPosRuleTest.test
(BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, AbstractRandom random) boolean
BlockMatchRuleTest.test
(BlockState state, AbstractRandom random) boolean
BlockStateMatchRuleTest.test
(BlockState state, AbstractRandom random) boolean
LinearPosRuleTest.test
(BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, AbstractRandom random) abstract boolean
PosRuleTest.test
(BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, AbstractRandom random) boolean
RandomBlockMatchRuleTest.test
(BlockState state, AbstractRandom random) boolean
RandomBlockStateMatchRuleTest.test
(BlockState state, AbstractRandom random) abstract boolean
RuleTest.test
(BlockState state, AbstractRandom random) boolean
TagMatchRuleTest.test
(BlockState state, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.util
Methods in net.minecraft.util with parameters of type AbstractRandomModifier and TypeMethodDescriptionstatic <T> List<T>
Util.copyShuffled
(ObjectArrayList<T> list, AbstractRandom random) static <T> List<T>
Util.copyShuffled
(Stream<T> stream, AbstractRandom random) static <T> List<T>
Util.copyShuffled
(T[] array, AbstractRandom random) static int
Util.getRandom
(int[] array, AbstractRandom random) static <T> T
Util.getRandom
(List<T> list, AbstractRandom random) static <T> T
Util.getRandom
(T[] array, AbstractRandom random) static <T> Optional<T>
Util.getRandomOrEmpty
(List<T> list, AbstractRandom random) static BlockRotation
BlockRotation.random
(AbstractRandom random) static List<BlockRotation>
BlockRotation.randomRotationOrder
(AbstractRandom random) static <T> void
Util.shuffle
(ObjectArrayList<T> list, AbstractRandom random) static IntArrayList
Util.shuffle
(IntStream stream, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.util.collection
Fields in net.minecraft.util.collection declared as AbstractRandomMethods in net.minecraft.util.collection with parameters of type AbstractRandomModifier and TypeMethodDescriptionDataPool.getDataOrEmpty
(AbstractRandom random) Pool.getOrEmpty
(AbstractRandom random) Weighting.getRandom
(AbstractRandom random, List<T> pool) Weighting.getRandom
(AbstractRandom random, List<T> pool, int totalWeight) -
Uses of AbstractRandom in net.minecraft.util.math
Fields in net.minecraft.util.math declared as AbstractRandomMethods in net.minecraft.util.math with parameters of type AbstractRandomModifier and TypeMethodDescriptionDirection.Type.getShuffled
(AbstractRandom random) BlockPos.iterateRandomly
(AbstractRandom random, int count, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) Iterates throughcount
random block positions in the given area.BlockPos.iterateRandomly
(AbstractRandom random, int count, BlockPos around, int range) Iterates throughcount
random block positions in a given range around the given position.static int
MathHelper.method_34950
(AbstractRandom abstractRandom, double[] double2) static float
MathHelper.nextBetween
(AbstractRandom random, float min, float max) static int
MathHelper.nextBetween
(AbstractRandom random, int min, int max) Returns a random, uniformly distributed integer value in[min, max]
.static double
MathHelper.nextDouble
(AbstractRandom random, double min, double max) static float
MathHelper.nextFloat
(AbstractRandom random, float min, float max) static float
MathHelper.nextGaussian
(AbstractRandom random, float mean, float deviation) static int
MathHelper.nextInt
(AbstractRandom random, int min, int max) Returns a random, uniformly distributed integer value in[min, max]
.static Direction.Axis
Direction.Axis.pickRandomAxis
(AbstractRandom random) static Direction
Direction.random
(AbstractRandom random) Direction.Type.random
(AbstractRandom random) Direction.Type.randomAxis
(AbstractRandom random) static UUID
MathHelper.randomUuid
(AbstractRandom random) static Collection<Direction>
Direction.shuffle
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.util.math.floatprovider
Methods in net.minecraft.util.math.floatprovider with parameters of type AbstractRandomModifier and TypeMethodDescriptionfloat
ClampedNormalFloatProvider.get
(AbstractRandom random) static float
ClampedNormalFloatProvider.get
(AbstractRandom random, float mean, float deviation, float min, float max) float
ConstantFloatProvider.get
(AbstractRandom random) float
FloatSupplier.get
(AbstractRandom random) float
MultipliedFloatSupplier.get
(AbstractRandom random) float
TrapezoidFloatProvider.get
(AbstractRandom random) float
UniformFloatProvider.get
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.util.math.intprovider
Methods in net.minecraft.util.math.intprovider with parameters of type AbstractRandomModifier and TypeMethodDescriptionint
BiasedToBottomIntProvider.get
(AbstractRandom random) int
ClampedIntProvider.get
(AbstractRandom random) int
ClampedNormalIntProvider.get
(AbstractRandom random) int
ConstantIntProvider.get
(AbstractRandom random) abstract int
IntProvider.get
(AbstractRandom random) int
UniformIntProvider.get
(AbstractRandom random) int
WeightedListIntProvider.get
(AbstractRandom random) static int
ClampedNormalIntProvider.next
(AbstractRandom random, float mean, float deviation, float min, float max) -
Uses of AbstractRandom in net.minecraft.util.math.noise
Methods in net.minecraft.util.math.noise with parameters of type AbstractRandomModifier and TypeMethodDescriptionstatic DoublePerlinNoiseSampler
DoublePerlinNoiseSampler.create
(AbstractRandom random, int offset, double[] octaves) static DoublePerlinNoiseSampler
DoublePerlinNoiseSampler.create
(AbstractRandom random, DoublePerlinNoiseSampler.NoiseParameters parameters) static OctavePerlinNoiseSampler
OctavePerlinNoiseSampler.create
(AbstractRandom random, int offset, double firstAmplitude, double[] amplitudes) static OctavePerlinNoiseSampler
OctavePerlinNoiseSampler.create
(AbstractRandom random, int offset, DoubleList amplitudes) static OctavePerlinNoiseSampler
OctavePerlinNoiseSampler.create
(AbstractRandom random, List<Integer> list) static OctavePerlinNoiseSampler
OctavePerlinNoiseSampler.create
(AbstractRandom random, IntStream intStream) static DoublePerlinNoiseSampler
DoublePerlinNoiseSampler.createLegacy
(AbstractRandom random, DoublePerlinNoiseSampler.NoiseParameters parameters) Deprecated.static OctavePerlinNoiseSampler
OctavePerlinNoiseSampler.createLegacy
(AbstractRandom random, int offset, DoubleList amplitudes) Deprecated.static OctavePerlinNoiseSampler
OctavePerlinNoiseSampler.createLegacy
(AbstractRandom random, IntStream intStream) Deprecated.InterpolatedNoiseSampler.method_42386
(AbstractRandom abstractRandom) private static void
OctavePerlinNoiseSampler.skipCalls
(AbstractRandom random) Constructors in net.minecraft.util.math.noise with parameters of type AbstractRandomModifierConstructorDescriptionprivate
DoublePerlinNoiseSampler
(AbstractRandom random, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, boolean bool) InterpolatedNoiseSampler
(AbstractRandom random, double double2, double double3, double double4, double double5, double double6) protected
OctavePerlinNoiseSampler
(AbstractRandom random, com.mojang.datafixers.util.Pair<Integer, DoubleList> pair, boolean xoroshiro) private
OctaveSimplexNoiseSampler
(AbstractRandom random, IntSortedSet octaves) OctaveSimplexNoiseSampler
(AbstractRandom random, List<Integer> octaves) PerlinNoiseSampler
(AbstractRandom random) SimplexNoiseSampler
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.util.math.random
Subinterfaces of AbstractRandom in net.minecraft.util.math.randomClasses in net.minecraft.util.math.random that implement AbstractRandomModifier and TypeClassDescriptionclass
class
Deprecated.class
class
Fields in net.minecraft.util.math.random declared as AbstractRandomFields in net.minecraft.util.math.random with type parameters of type AbstractRandomModifier and TypeFieldDescriptionprivate final LongFunction<AbstractRandom>
ChunkRandom.RandomProvider.provider
Methods in net.minecraft.util.math.random that return AbstractRandomModifier and TypeMethodDescriptionstatic AbstractRandom
AbstractRandom.create()
ChunkRandom.RandomProvider.create
(long seed) static AbstractRandom
AbstractRandom.createAtomic()
static AbstractRandom
AbstractRandom.createAtomic
(long seed) static AbstractRandom
AbstractRandom.createBlocking()
Deprecated.AtomicSimpleRandom.RandomDeriver.createRandom
(int x, int y, int z) AtomicSimpleRandom.RandomDeriver.createRandom
(String string) RandomDeriver.createRandom
(int x, int y, int z) RandomDeriver.createRandom
(String string) default AbstractRandom
RandomDeriver.createRandom
(Identifier id) default AbstractRandom
RandomDeriver.createRandom
(BlockPos pos) AbstractRandom.derive()
AtomicSimpleRandom.derive()
BlockingSimpleRandom.derive()
Deprecated.ChunkRandom.derive()
SimpleRandom.derive()
static AbstractRandom
ChunkRandom.getSlimeRandom
(int chunkX, int chunkZ, long worldSeed, long scrambler) Constructors in net.minecraft.util.math.random with parameters of type AbstractRandomConstructor parameters in net.minecraft.util.math.random with type arguments of type AbstractRandom -
Uses of AbstractRandom in net.minecraft.util.registry
Methods in net.minecraft.util.registry with parameters of type AbstractRandomModifier and TypeMethodDescriptionDefaultedRegistry.getRandom
(AbstractRandom random) abstract Optional<RegistryEntry<T>>
Registry.getRandom
(AbstractRandom random) RegistryEntryList.getRandom
(AbstractRandom random) RegistryEntryList.ListBacked.getRandom
(AbstractRandom random) SimpleRegistry.getRandom
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.village
Methods in net.minecraft.village with parameters of type AbstractRandomModifier and TypeMethodDescriptionTradeOffers.BuyForOneEmeraldFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.EnchantBookFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.Factory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.ProcessItemFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.SellDyedArmorFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.SellEnchantedToolFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.SellItemFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.SellMapFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.SellPotionHoldingItemFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.SellSuspiciousStewFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.TradeOffers.TypeAwareBuyForOneEmeraldFactory.create
(Entity entity, AbstractRandom random) Creates a trade offer.private static DyeItem
TradeOffers.SellDyedArmorFactory.getDye
(AbstractRandom random) private Collection<VillagerGossips.GossipEntry>
VillagerGossips.pickGossips
(AbstractRandom random, int count) void
VillagerGossips.shareGossipFrom
(VillagerGossips from, AbstractRandom random, int count) -
Uses of AbstractRandom in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as AbstractRandomMethods in net.minecraft.village.raid with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate int
Raid.getBonusCount
(Raid.Member member, AbstractRandom random, int wave, LocalDifficulty localDifficulty, boolean extra) -
Uses of AbstractRandom in net.minecraft.world
Fields in net.minecraft.world declared as AbstractRandomModifier and TypeFieldDescriptionprivate final AbstractRandom
World.blockingRandom
Deprecated.private final AbstractRandom
ChunkRegion.random
private final AbstractRandom
WanderingTraderManager.random
final AbstractRandom
World.random
Methods in net.minecraft.world that return AbstractRandomModifier and TypeMethodDescriptionChunkRegion.getRandom()
World.getRandom()
WorldAccess.getRandom()
Methods in net.minecraft.world with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate static Optional<SpawnSettings.SpawnEntry>
SpawnHelper.pickRandomSpawnEntry
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, AbstractRandom random, BlockPos pos) static void
SpawnHelper.populateEntities
(ServerWorldAccess world, RegistryEntry<Biome> registryEntry, ChunkPos chunkPos, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.world.biome
Methods in net.minecraft.world.biome with parameters of type AbstractRandomModifier and TypeMethodDescriptionboolean
BiomeParticleConfig.shouldAddParticle
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.world.biome.source
Methods in net.minecraft.world.biome.source with parameters of type AbstractRandomModifier and TypeMethodDescription@Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, AbstractRandom random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> BiomeSource.locateBiome
(int x, int y, int z, int radius, Predicate<RegistryEntry<Biome>> predicate, AbstractRandom random, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> FixedBiomeSource.locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, AbstractRandom random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) -
Uses of AbstractRandom in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion declared as AbstractRandom -
Uses of AbstractRandom in net.minecraft.world.gen.carver
Methods in net.minecraft.world.gen.carver with parameters of type AbstractRandomModifier and TypeMethodDescriptionabstract boolean
Carver.carve
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AbstractRandom random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, AbstractRandom abstractRandom, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AbstractRandom random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, AbstractRandom abstractRandom, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) private float[]
RavineCarver.createHorizontalStretchFactors
(CarverContext context, RavineCarverConfig config, AbstractRandom random) protected float
CaveCarver.getTunnelSystemWidth
(AbstractRandom random) protected float
NetherCaveCarver.getTunnelSystemWidth
(AbstractRandom random) private double
RavineCarver.getVerticalScale
(RavineCarverConfig config, AbstractRandom random, double pitch, float branchCount, float branchIndex) abstract boolean
Carver.shouldCarve
(C config, AbstractRandom random) boolean
CaveCarver.shouldCarve
(CaveCarverConfig caveCarverConfig, AbstractRandom abstractRandom) boolean
ConfiguredCarver.shouldCarve
(AbstractRandom random) boolean
RavineCarver.shouldCarve
(RavineCarverConfig ravineCarverConfig, AbstractRandom abstractRandom) -
Uses of AbstractRandom in net.minecraft.world.gen.chunk.placement
Methods in net.minecraft.world.gen.chunk.placement with parameters of type AbstractRandom -
Uses of AbstractRandom in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate void
BlockPileFeature.addPileBlock
(WorldAccess world, BlockPos pos, AbstractRandom random, BlockPileFeatureConfig config) private boolean
BlockPileFeature.canPlace
(WorldAccess world, BlockPos pos, AbstractRandom random) private static float
DripstoneClusterFeature.clampedGaussian
(AbstractRandom random, float min, float max, float mean, float deviation) private static LargeDripstoneFeature.DripstoneGenerator
LargeDripstoneFeature.createGenerator
(BlockPos pos, boolean isStalagmite, AbstractRandom abstractRandom, int scale, FloatProvider bluntness, FloatProvider heightScale) boolean
ConfiguredFeature.generate
(StructureWorldAccess world, ChunkGenerator chunkGenerator, AbstractRandom random, BlockPos origin) private void
DripstoneClusterFeature.generate
(StructureWorldAccess world, AbstractRandom random, BlockPos pos, int localX, int localZ, float wetness, double dripstoneChance, int height, float density, DripstoneClusterFeatureConfig config) (package private) void
LargeDripstoneFeature.DripstoneGenerator.generate
(StructureWorldAccess world, AbstractRandom abstractRandom, LargeDripstoneFeature.WindModifier wind) static boolean
MultifaceGrowthFeature.generate
(StructureWorldAccess world, BlockPos pos, BlockState state, MultifaceGrowthFeatureConfig config, AbstractRandom random, List<Direction> directions) private boolean
PlacedFeature.generate
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) boolean
PlacedFeature.generate
(StructureWorldAccess world, ChunkGenerator generator, AbstractRandom abstractRandom, BlockPos pos) Generates a configured feature at the positions obtained by applying placement modifiers to the given position.boolean
RandomFeatureEntry.generate
(StructureWorldAccess world, ChunkGenerator chunkGenerator, AbstractRandom abstractRandom, BlockPos pos) private boolean
TreeFeature.generate
(StructureWorldAccess world, AbstractRandom random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, BiConsumer<BlockPos, BlockState> foliagePlacerReplacer, TreeFeatureConfig config) protected void
HugeBrownMushroomFeature.generateCap
(WorldAccess world, AbstractRandom random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected abstract void
HugeMushroomFeature.generateCap
(WorldAccess world, AbstractRandom random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected void
HugeRedMushroomFeature.generateCap
(WorldAccess world, AbstractRandom random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected boolean
CoralClawFeature.generateCoral
(WorldAccess world, AbstractRandom random, BlockPos pos, BlockState state) protected abstract boolean
CoralFeature.generateCoral
(WorldAccess world, AbstractRandom random, BlockPos pos, BlockState state) protected boolean
CoralMushroomFeature.generateCoral
(WorldAccess world, AbstractRandom random, BlockPos pos, BlockState state) protected boolean
CoralTreeFeature.generateCoral
(WorldAccess world, AbstractRandom random, BlockPos pos, BlockState state) protected boolean
CoralFeature.generateCoralPiece
(WorldAccess world, AbstractRandom random, BlockPos pos, BlockState state) private static void
SmallDripstoneFeature.generateDripstoneBlocks
(WorldAccess world, AbstractRandom random, BlockPos pos, SmallDripstoneFeatureConfig config) private static void
RootSystemFeature.generateHangingRoots
(StructureWorldAccess world, RootSystemFeatureConfig config, AbstractRandom abstractRandom, BlockPos pos, BlockPos.Mutable mutablePos) private void
HugeFungusFeature.generateHat
(WorldAccess world, AbstractRandom random, HugeFungusFeatureConfig config, BlockPos pos, int hatHeight, boolean thickStem) boolean
Feature.generateIfValid
(FC config, StructureWorldAccess world, ChunkGenerator chunkGenerator, AbstractRandom random, BlockPos pos) private void
WeepingVinesFeature.generateNetherWartBlocksInArea
(WorldAccess world, AbstractRandom random, BlockPos pos) private static void
RootSystemFeature.generateRoots
(StructureWorldAccess world, RootSystemFeatureConfig config, AbstractRandom abstractRandom, int x, int z, BlockPos.Mutable mutablePos) private static void
RootSystemFeature.generateRootsColumn
(BlockPos pos, int maxY, StructureWorldAccess world, RootSystemFeatureConfig config, AbstractRandom abstractRandom) private void
EndSpikeFeature.generateSpike
(ServerWorldAccess world, AbstractRandom random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike) private void
HugeFungusFeature.generateStem
(WorldAccess world, AbstractRandom random, HugeFungusFeatureConfig config, BlockPos pos, int stemHeight, boolean thickStem) protected void
HugeMushroomFeature.generateStem
(WorldAccess world, AbstractRandom random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutablePos) private static boolean
RootSystemFeature.generateTreeAndRoots
(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, AbstractRandom abstractRandom, BlockPos.Mutable mutablePos, BlockPos pos) boolean
PlacedFeature.generateUnregistered
(StructureWorldAccess world, ChunkGenerator generator, AbstractRandom abstractRandom, BlockPos pos) protected void
VegetationPatchFeature.generateVegetation
(FeatureContext<VegetationPatchFeatureConfig> context, StructureWorldAccess world, VegetationPatchFeatureConfig config, AbstractRandom abstractRandom, Set<BlockPos> positions, int radiusX, int radiusZ) protected boolean
VegetationPatchFeature.generateVegetationFeature
(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, AbstractRandom random, BlockPos pos) protected boolean
WaterloggedVegetationPatchFeature.generateVegetationFeature
(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, AbstractRandom random, BlockPos pos) protected boolean
OreFeature.generateVeinPart
(StructureWorldAccess world, AbstractRandom abstractRandom, OreFeatureConfig config, double startX, double endX, double startZ, double endZ, double startY, double endY, int x, int y, int z, int horizontalSize, int verticalSize) static void
TwistingVinesFeature.generateVineColumn
(WorldAccess world, AbstractRandom random, BlockPos.Mutable pos, int maxLength, int minAge, int maxAge) static void
WeepingVinesFeature.generateVineColumn
(WorldAccess world, AbstractRandom random, BlockPos.Mutable pos, int length, int minAge, int maxAge) private static void
HugeFungusFeature.generateVines
(BlockPos pos, WorldAccess world, AbstractRandom random) private void
WeepingVinesFeature.generateVinesInArea
(WorldAccess world, AbstractRandom random, BlockPos pos) SmallDripstoneFeature.getDirection
(WorldAccess world, BlockPos pos, AbstractRandom random) private int
DripstoneClusterFeature.getHeight
(AbstractRandom random, int localX, int localZ, float density, int height, DripstoneClusterFeatureConfig config) protected int
HugeMushroomFeature.getHeight
(AbstractRandom random) private EntityType<?>
DungeonFeature.getMobSpawnerEntity
(AbstractRandom random) private int
ScatteredOreFeature.getSpread
(AbstractRandom abstractRandom, int spread) private int
IcebergFeature.method_13419
(AbstractRandom abstractRandom, int y, int height, int factor) private double
IcebergFeature.method_13421
(int x, int z, BlockPos pos, int int2, AbstractRandom abstractRandom) private int
IcebergFeature.method_13427
(AbstractRandom abstractRandom, int y, int height, int factor) private void
IcebergFeature.method_13428
(AbstractRandom abstractRandom, WorldAccess world, int int2, int int3, BlockPos pos, boolean bool, int int4, double double2, int int5) private void
IcebergFeature.placeAt
(WorldAccess world, AbstractRandom abstractRandom, BlockPos pos, int height, int offsetX, int offsetY, int offsetZ, int int2, int int3, boolean bool, int int4, double randomSine, boolean placeSnow, BlockState state) protected boolean
DiskFeature.placeBlock
(DiskFeatureConfig config, StructureWorldAccess world, AbstractRandom random, int topY, int bottomY, BlockPos.Mutable pos) private void
IcebergFeature.placeBlockOrSnow
(BlockPos pos, WorldAccess world, AbstractRandom abstractRandom, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state) protected boolean
VegetationPatchFeature.placeGround
(StructureWorldAccess world, VegetationPatchFeatureConfig config, Predicate<BlockState> replaceable, AbstractRandom abstractRandom, BlockPos.Mutable pos, int depth) VegetationPatchFeature.placeGroundAndGetPositions
(StructureWorldAccess world, VegetationPatchFeatureConfig config, AbstractRandom random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) WaterloggedVegetationPatchFeature.placeGroundAndGetPositions
(StructureWorldAccess world, VegetationPatchFeatureConfig config, AbstractRandom random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) private void
HugeFungusFeature.placeHatBlock
(WorldAccess world, AbstractRandom random, HugeFungusFeatureConfig config, BlockPos.Mutable pos, float decorationChance, float generationChance, float vineChance) private void
HugeFungusFeature.placeWithOptionalVines
(WorldAccess world, AbstractRandom random, BlockPos pos, BlockState state, boolean vines) private void
ScatteredOreFeature.setPos
(BlockPos.Mutable mutable, AbstractRandom abstractRandom, BlockPos origin, int spread) protected static boolean
OreFeature.shouldNotDiscard
(AbstractRandom abstractRandom, float chance) static boolean
OreFeature.shouldPlace
(BlockState state, Function<BlockPos, BlockState> posToState, AbstractRandom abstractRandom, OreFeatureConfig config, OreFeatureConfig.Target target, BlockPos.Mutable pos) MultifaceGrowthFeatureConfig.shuffleDirections
(AbstractRandom random) MultifaceGrowthFeatureConfig.shuffleDirections
(AbstractRandom random, Direction excluded) private boolean
BasaltPillarFeature.stopOrPlaceBasalt
(WorldAccess world, AbstractRandom random, BlockPos pos) private void
BasaltPillarFeature.tryPlaceBasalt
(WorldAccess world, AbstractRandom random, BlockPos pos) Constructors in net.minecraft.world.gen.feature with parameters of type AbstractRandomModifierConstructorDescription(package private)
WindModifier
(int y, AbstractRandom abstractRandom, FloatProvider wind) -
Uses of AbstractRandom in net.minecraft.world.gen.feature.util
Fields in net.minecraft.world.gen.feature.util declared as AbstractRandomMethods in net.minecraft.world.gen.feature.util that return AbstractRandomConstructors in net.minecraft.world.gen.feature.util with parameters of type AbstractRandomModifierConstructorDescriptionFeatureContext
(Optional<ConfiguredFeature<?, ?>> feature, StructureWorldAccess world, ChunkGenerator generator, AbstractRandom abstractRandom, BlockPos origin, FC config) -
Uses of AbstractRandom in net.minecraft.world.gen.foliage
Methods in net.minecraft.world.gen.foliage with parameters of type AbstractRandomModifier and TypeMethodDescriptionprotected void
AcaciaFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
BlobFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
BushFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
DarkOakFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract void
FoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
JungleFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
LargeOakFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
MegaPineFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
PineFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
RandomSpreadFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
SpruceFoliagePlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected void
FoliagePlacer.generateSquare
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.int
AcaciaFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
BlobFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
DarkOakFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) abstract int
FoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
JungleFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
MegaPineFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
PineFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
RandomSpreadFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) int
SpruceFoliagePlacer.getRandomHeight
(AbstractRandom abstractRandom, int trunkHeight, TreeFeatureConfig config) private int
FoliagePlacer.getRandomOffset
(AbstractRandom abstractRandom) int
FoliagePlacer.getRandomRadius
(AbstractRandom abstractRandom, int baseHeight) int
PineFoliagePlacer.getRandomRadius
(AbstractRandom abstractRandom, int baseHeight) protected boolean
AcaciaFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
BlobFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
BushFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
DarkOakFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected abstract boolean
FoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
JungleFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
LargeOakFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
MegaPineFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
PineFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
RandomSpreadFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
SpruceFoliagePlacer.isInvalidForLeaves
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Used to exclude certain positions such as corners when creating a square of leaves.protected boolean
DarkOakFoliagePlacer.isPositionInvalid
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Normalizes x and z coords before checking if they are invalid.protected boolean
FoliagePlacer.isPositionInvalid
(AbstractRandom abstractRandom, int dx, int y, int dz, int radius, boolean giantTrunk) Normalizes x and z coords before checking if they are invalid.protected static void
FoliagePlacer.placeFoliageBlock
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, TreeFeatureConfig config, BlockPos pos) -
Uses of AbstractRandom in net.minecraft.world.gen.heightprovider
Methods in net.minecraft.world.gen.heightprovider with parameters of type AbstractRandomModifier and TypeMethodDescriptionint
BiasedToBottomHeightProvider.get
(AbstractRandom abstractRandom, HeightContext context) int
ConstantHeightProvider.get
(AbstractRandom abstractRandom, HeightContext context) abstract int
HeightProvider.get
(AbstractRandom abstractRandom, HeightContext context) int
TrapezoidHeightProvider.get
(AbstractRandom abstractRandom, HeightContext context) int
UniformHeightProvider.get
(AbstractRandom abstractRandom, HeightContext context) int
VeryBiasedToBottomHeightProvider.get
(AbstractRandom abstractRandom, HeightContext context) int
WeightedListHeightProvider.get
(AbstractRandom abstractRandom, HeightContext context) -
Uses of AbstractRandom in net.minecraft.world.gen.noise
Methods in net.minecraft.world.gen.noise that return AbstractRandomModifier and TypeMethodDescriptionprivate AbstractRandom
NoiseConfig.class_7271.method_42375
(long long2) -
Uses of AbstractRandom in net.minecraft.world.gen.placementmodifier
Methods in net.minecraft.world.gen.placementmodifier with parameters of type AbstractRandomModifier and TypeMethodDescriptionprotected abstract int
AbstractCountPlacementModifier.getCount
(AbstractRandom abstractRandom, BlockPos pos) protected int
CountPlacementModifier.getCount
(AbstractRandom abstractRandom, BlockPos pos) protected int
NoiseBasedCountPlacementModifier.getCount
(AbstractRandom abstractRandom, BlockPos pos) protected int
NoiseThresholdCountPlacementModifier.getCount
(AbstractRandom abstractRandom, BlockPos pos) AbstractConditionalPlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.AbstractCountPlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.CarvingMaskPlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.CountMultilayerPlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Deprecated.Applies this placement modifier to the given position.EnvironmentScanPlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.HeightmapPlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.HeightRangePlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.PlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.RandomOffsetPlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.SquarePlacementModifier.getPositions
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) Applies this placement modifier to the given position.protected abstract boolean
AbstractConditionalPlacementModifier.shouldPlace
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) protected boolean
BiomePlacementModifier.shouldPlace
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) protected boolean
BlockFilterPlacementModifier.shouldPlace
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) protected boolean
RarityFilterPlacementModifier.shouldPlace
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) protected boolean
SurfaceThresholdFilterPlacementModifier.shouldPlace
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) protected boolean
SurfaceWaterDepthFilterPlacementModifier.shouldPlace
(FeaturePlacementContext context, AbstractRandom abstractRandom, BlockPos pos) -
Uses of AbstractRandom in net.minecraft.world.gen.random
Classes in net.minecraft.world.gen.random that implement AbstractRandomModifier and TypeClassDescriptionclass
Xoroshiro128++ based pseudo random number generator.Fields in net.minecraft.world.gen.random declared as AbstractRandomMethods in net.minecraft.world.gen.random that return AbstractRandomModifier and TypeMethodDescriptionXoroshiro128PlusPlusRandom.RandomDeriver.createRandom
(int x, int y, int z) Xoroshiro128PlusPlusRandom.RandomDeriver.createRandom
(String string) Xoroshiro128PlusPlusRandom.derive()
Constructors in net.minecraft.world.gen.random with parameters of type AbstractRandom -
Uses of AbstractRandom in net.minecraft.world.gen.root
Methods in net.minecraft.world.gen.root with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate boolean
MangroveRootPlacer.canGrow
(TestableWorld world, AbstractRandom random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) boolean
MangroveRootPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) abstract boolean
RootPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) MangroveRootPlacer.getOffshootPositions
(BlockPos pos, Direction direction, AbstractRandom random, BlockPos origin) protected void
MangroveRootPlacer.placeRoots
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom random, BlockPos blockPos, TreeFeatureConfig config) protected void
RootPlacer.placeRoots
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom random, BlockPos blockPos, TreeFeatureConfig config) RootPlacer.trunkOffset
(BlockPos pos, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.world.gen.stateprovider
Methods in net.minecraft.world.gen.stateprovider with parameters of type AbstractRandomModifier and TypeMethodDescriptionabstract BlockState
BlockStateProvider.getBlockState
(AbstractRandom random, BlockPos pos) Returns a provided block state.DualNoiseBlockStateProvider.getBlockState
(AbstractRandom random, BlockPos pos) Returns a provided block state.NoiseBlockStateProvider.getBlockState
(AbstractRandom random, BlockPos pos) Returns a provided block state.NoiseThresholdBlockStateProvider.getBlockState
(AbstractRandom random, BlockPos pos) Returns a provided block state.PillarBlockStateProvider.getBlockState
(AbstractRandom random, BlockPos pos) Returns a provided block state.PredicatedStateProvider.getBlockState
(StructureWorldAccess world, AbstractRandom random, BlockPos pos) RandomizedIntBlockStateProvider.getBlockState
(AbstractRandom random, BlockPos pos) Returns a provided block state.SimpleBlockStateProvider.getBlockState
(AbstractRandom random, BlockPos pos) Returns a provided block state.WeightedBlockStateProvider.getBlockState
(AbstractRandom random, BlockPos pos) Returns a provided block state. -
Uses of AbstractRandom in net.minecraft.world.gen.structure
Methods in net.minecraft.world.gen.structure with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate static int
RuinedPortalStructure.choosePlacementHeight
(AbstractRandom random, int min, int max) private static int
RuinedPortalStructure.getFloorHeight
(AbstractRandom random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig) void
StructureType.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) void
WoodlandMansionStructure.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, AbstractRandom random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) -
Uses of AbstractRandom in net.minecraft.world.gen.surfacebuilder
Methods in net.minecraft.world.gen.surfacebuilder with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate static void
SurfaceBuilder.addTerracottaBands
(AbstractRandom random, BlockState[] terracottaBands, int minBandSize, BlockState state) private static BlockState[]
SurfaceBuilder.createTerracottaBands
(AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.world.gen.treedecorator
Fields in net.minecraft.world.gen.treedecorator declared as AbstractRandomMethods in net.minecraft.world.gen.treedecorator that return AbstractRandomConstructors in net.minecraft.world.gen.treedecorator with parameters of type AbstractRandomModifierConstructorDescriptionGenerator
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Uses of AbstractRandom in net.minecraft.world.gen.trunk
Methods in net.minecraft.world.gen.trunk with parameters of type AbstractRandomModifier and TypeMethodDescriptionBendingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundDarkOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundForkingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundGiantTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundLargeOakTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundMegaJungleTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundStraightTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundabstract List<FoliagePlacer.TreeNode>
TrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundUpwardsBranchingTrunkPlacer.generate
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate void
UpwardsBranchingTrunkPlacer.generateExtraBranch
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos, TreeFeatureConfig config) protected boolean
TrunkPlacer.getAndSetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) int
TrunkPlacer.getHeight
(AbstractRandom random) private void
LargeOakTrunkPlacer.makeBranches
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom abstractRandom, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private boolean
LargeOakTrunkPlacer.makeOrCheckBranch
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private void
GiantTrunkPlacer.setLog
(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, AbstractRandom abstractRandom, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static void
TrunkPlacer.setToDirt
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos pos, TreeFeatureConfig config) protected void
TrunkPlacer.trySetState
(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, AbstractRandom random, BlockPos.Mutable pos, TreeFeatureConfig config) -
Uses of AbstractRandom in net.minecraft.world.poi
Methods in net.minecraft.world.poi with parameters of type AbstractRandomModifier and TypeMethodDescriptionPointOfInterestStorage.getPosition
(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, AbstractRandom random) -
Uses of AbstractRandom in net.minecraft.world.spawner
Methods in net.minecraft.world.spawner with parameters of type AbstractRandomModifier and TypeMethodDescriptionprivate boolean
PatrolSpawner.spawnPillager
(ServerWorld world, BlockPos pos, AbstractRandom random, boolean captain)
AbstractBlock.AbstractBlockState.randomTick(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.util.math.random.AbstractRandom)
instead.