Uses of Interface
net.minecraft.util.math.random.Random
Packages that use Random
Package
Description
-
Uses of Random in net.minecraft.block
Methods in net.minecraft.block with parameters of type RandomModifier and TypeMethodDescriptionprivate voidRedstoneWireBlock.addPoweredParticles(World world, Random random, BlockPos pos, Vec3d color, Direction direction, Direction direction2, float float2, float float3) protected BlockStateAbstractPlantStemBlock.age(BlockState state, Random random) protected BlockStateCaveVinesHeadBlock.age(BlockState state, Random random) static voidSculkCatalystBlock.bloom(ServerWorld world, BlockPos pos, BlockState state, Random random) booleanAbstractPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanAbstractPlantStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanAzaleaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBambooBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBambooSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBigDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanBigDripleafStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCaveVinesBodyBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCaveVinesHeadBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCocoaBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanCropBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFernBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFertilizable.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanFungusBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanGlowLichenBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanGrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMangroveLeavesBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMossBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanMushroomPlantBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanNetherrackBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanNyliumBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanPropaguleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanRootedDirtBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSaplingBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSeagrassBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSeaPickleBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSmallDripleafBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanStemBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanSweetBerryBushBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) booleanTallFlowerBlock.canGrow(World world, Random random, BlockPos pos, BlockState state) private booleanSculkVeinBlock.convertToBlock(SculkSpreadManager spreadManager, WorldAccess world, BlockPos pos, Random random) static voidChorusFlowerBlock.generate(WorldAccess world, BlockPos pos, Random random, int size) private static voidChorusFlowerBlock.generate(WorldAccess world, BlockPos pos, Random random, BlockPos rootPos, int size, int layer) voidSaplingBlock.generate(ServerWorld world, BlockPos pos, BlockState state, Random random) private BlockStateSculkBlock.getExtraBlockState(WorldAccess world, BlockPos pos, Random random, boolean allowShrieker) private static intFireBlock.getFireTickDelay(Random random) private BlockStateVineBlock.getGrownState(BlockState above, BlockState state, Random random) protected abstract intAbstractPlantStemBlock.getGrowthLength(Random random) protected intCaveVinesHeadBlock.getGrowthLength(Random random) protected intKelpBlock.getGrowthLength(Random random) protected intTwistingVinesBlock.getGrowthLength(Random random) static intVineLogic.getGrowthLength(Random random) protected intWeepingVinesBlock.getGrowthLength(Random random) private static intFrogspawnBlock.getHatchTime(Random random) private doubleFrogspawnBlock.getSpawnOffset(Random random) voidAbstractPlantBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidAbstractPlantStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidAzaleaBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBambooBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBambooSaplingBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidBigDripleafBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) static voidBigDripleafBlock.grow(WorldAccess world, Random random, BlockPos pos, Direction direction) voidBigDripleafStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCaveVinesBodyBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCaveVinesHeadBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCocoaBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidCropBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFernBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFertilizable.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidFungusBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidGlowLichenBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidGrassBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) LichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Direction direction, Random random, boolean markForPostProcessing) LichenGrower.grow(BlockState state, WorldAccess world, BlockPos pos, Random random) voidMangroveLeavesBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidMossBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidMushroomPlantBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidNetherrackBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidNyliumBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidPropaguleBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidRootedDirtBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSaplingBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSeagrassBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSeaPickleBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSmallDripleafBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidStemBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidSweetBerryBushBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) voidTallFlowerBlock.grow(ServerWorld world, Random random, BlockPos pos, BlockState state) private voidFrogspawnBlock.hatch(ServerWorld world, BlockPos pos, Random random) default booleanSculkSpreadable.method_41470(WorldAccess world, BlockPos pos, Random random) voidAbstractCandleBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidAbstractFireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBeehiveBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBlastFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBrewingStandBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidBubbleColumnBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidCampfireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidCryingObsidianBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEnchantingTableBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEnderChestBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndGatewayBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidEndRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidFallingBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidFurnaceBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLeavesBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLeverBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidLightningRodBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidMyceliumBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidNetherPortalBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidPointedDripstoneBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneOreBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRedstoneWireBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRepeaterBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidRespawnAnchorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSculkSensorBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSmokerBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidSporeBlossomBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidStairsBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWallRedstoneTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWallTorchBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWetSpongeBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidWitherRoseBlock.randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) voidAbstractBlock.AbstractBlockState.randomTick(ServerWorld world, BlockPos pos, Random random) voidAbstractBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Deprecated.voidAbstractPlantStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBambooBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBambooSaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBeetrootsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBuddingAmethystBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCactusBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidChorusFlowerBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCocoaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCropBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFarmlandBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFluidBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFrostedIceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidIceBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidLeavesBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidMagmaBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidMushroomPlantBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidNetherPortalBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidNetherWartBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidNyliumBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidOxidizableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidOxidizableSlabBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidOxidizableStairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidPointedDripstoneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidPropaguleBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidRedstoneOreBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSaplingBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSnowBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSpreadableBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidStairsBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidStemBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSugarCaneBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSweetBerryBushBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidTurtleEggBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidVineBlock.randomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractBlock.AbstractBlockState.scheduledTick(ServerWorld world, BlockPos pos, Random random) voidAbstractBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractButtonBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractCauldronBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractPlantPartBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractPressurePlateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidAbstractRedstoneGateBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBambooBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBarrelBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBigDripleafBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBigDripleafStemBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidBubbleColumnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCactusBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidChorusFlowerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidChorusPlantBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCommandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidComparatorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidComposterBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCoralBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCoralBlockBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCoralFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidCoralWallFanBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidDetectorRailBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidDirtPathBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidDispenserBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidEnderChestBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFallingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFarmlandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFrogspawnBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidFrostedIceBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidLeavesBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidLecternBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidLightningRodBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidMagmaBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidObserverBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidPointedDripstoneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidRedstoneLampBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidRedstoneTorchBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidScaffoldingBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSculkCatalystBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSculkSensorBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSculkShriekerBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSoulSandBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidStairsBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidSugarCaneBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidTargetBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidTripwireBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) voidTripwireHookBlock.scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) private static voidAbstractCandleBlock.spawnCandleParticles(World world, Vec3d vec3d, Random random) private voidFrogspawnBlock.spawnTadpoles(ServerWorld world, BlockPos pos, Random random) intSculkBlock.spread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) intSculkSpreadable.spread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) intSculkVeinBlock.spread(SculkSpreadManager.Cursor cursor, WorldAccess world, BlockPos catalystPos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) default voidSculkSpreadable.spreadAtSamePosition(WorldAccess world, BlockState state, BlockPos pos, Random random) voidSculkVeinBlock.spreadAtSamePosition(WorldAccess world, BlockState state, BlockPos pos, Random random) default voidDegradable.tickDegradation(BlockState state, ServerWorld world, BlockPos pos, Random random) default voidDegradable.tryDegrade(BlockState state, ServerWorld world, BlockPos pos, Random random) static voidPointedDripstoneBlock.tryGrow(BlockState state, ServerWorld world, BlockPos pos, Random random) booleanMushroomPlantBlock.trySpawningBigMushroom(ServerWorld world, BlockPos pos, BlockState state, Random random) private voidFireBlock.trySpreadingFire(World world, BlockPos pos, int spreadFactor, Random random, int currentAge) protected voidBambooBlock.updateLeaves(BlockState state, World world, BlockPos pos, Random random, int height) -
Uses of Random in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as RandomMethods in net.minecraft.block.entity that return RandomModifier and TypeMethodDescriptionstatic RandomStructureBlockBlockEntity.createRandom(long seed) Methods in net.minecraft.block.entity with parameters of type RandomModifier and TypeMethodDescriptionintDispenserBlockEntity.chooseNonEmptySlot(Random random) SculkSpreadManager.Cursor.getSpreadPos(WorldAccess world, BlockPos pos, Random random) static voidLootableContainerBlockEntity.setLootTable(BlockView world, Random random, BlockPos pos, Identifier id) SculkSpreadManager.Cursor.shuffleOffsets(Random random) voidSculkSpreadManager.Cursor.spread(WorldAccess world, BlockPos pos, Random random, SculkSpreadManager spreadManager, boolean shouldConvertToBlock) voidSculkSpreadManager.tick(WorldAccess world, BlockPos pos, Random random, boolean shouldConvertToBlock) -
Uses of Random in net.minecraft.block.sapling
Methods in net.minecraft.block.sapling with parameters of type RandomModifier and TypeMethodDescriptionbooleanLargeTreeSaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) booleanSaplingGenerator.generate(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random) booleanLargeTreeSaplingGenerator.generateLargeTree(ServerWorld world, ChunkGenerator chunkGenerator, BlockPos pos, BlockState state, Random random, int x, int z) protected @Nullable RegistryEntry<? extends ConfiguredFeature<?,?>> DarkOakSaplingGenerator.getLargeTreeFeature(Random random) protected RegistryEntry<? extends ConfiguredFeature<?,?>> JungleSaplingGenerator.getLargeTreeFeature(Random random) protected abstract @Nullable RegistryEntry<? extends ConfiguredFeature<?,?>> LargeTreeSaplingGenerator.getLargeTreeFeature(Random random) protected RegistryEntry<? extends ConfiguredFeature<?,?>> SpruceSaplingGenerator.getLargeTreeFeature(Random random) protected RegistryEntry<? extends ConfiguredFeature<?,?>> AcaciaSaplingGenerator.getTreeFeature(Random random, boolean bees) protected @Nullable RegistryEntry<? extends ConfiguredFeature<?,?>> AzaleaSaplingGenerator.getTreeFeature(Random random, boolean bees) protected RegistryEntry<? extends ConfiguredFeature<?,?>> BirchSaplingGenerator.getTreeFeature(Random random, boolean bees) protected @Nullable RegistryEntry<? extends ConfiguredFeature<?,?>> DarkOakSaplingGenerator.getTreeFeature(Random random, boolean bees) protected RegistryEntry<? extends ConfiguredFeature<?,?>> JungleSaplingGenerator.getTreeFeature(Random random, boolean bees) protected @Nullable RegistryEntry<? extends ConfiguredFeature<?,?>> MangroveSaplingGenerator.getTreeFeature(Random random, boolean bees) protected RegistryEntry<? extends ConfiguredFeature<?,?>> OakSaplingGenerator.getTreeFeature(Random random, boolean bees) protected abstract @Nullable RegistryEntry<? extends ConfiguredFeature<?,?>> SaplingGenerator.getTreeFeature(Random random, boolean bees) protected RegistryEntry<? extends ConfiguredFeature<?,?>> SpruceSaplingGenerator.getTreeFeature(Random random, boolean bees) -
Uses of Random in net.minecraft.client.font
Fields in net.minecraft.client.font declared as Random -
Uses of Random in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as Random -
Uses of Random in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame declared as Random -
Uses of Random in net.minecraft.client.model
Methods in net.minecraft.client.model with parameters of type Random -
Uses of Random in net.minecraft.client.network
Fields in net.minecraft.client.network declared as Random -
Uses of Random in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as RandomModifier and TypeFieldDescriptionprivate final RandomBlockLeakParticle.FallingSporeBlossomFactory.randomprotected final RandomParticle.randomprivate final RandomParticleManager.random(package private) static final RandomGlowParticle.RANDOMprivate static final RandomSpellParticle.RANDOMMethods in net.minecraft.client.particle with parameters of type Random -
Uses of Random in net.minecraft.client.render
Fields in net.minecraft.client.render declared as Random -
Uses of Random in net.minecraft.client.render.block
Fields in net.minecraft.client.render.block declared as RandomMethods in net.minecraft.client.render.block with parameters of type RandomModifier and TypeMethodDescriptionvoidBlockModelRenderer.render(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) voidBlockRenderManager.renderBlock(BlockState state, BlockPos pos, BlockRenderView world, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random) voidBlockModelRenderer.renderFlat(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) voidBlockModelRenderer.renderSmooth(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) -
Uses of Random in net.minecraft.client.render.entity
Fields in net.minecraft.client.render.entity declared as Random -
Uses of Random in net.minecraft.client.render.entity.model
Methods in net.minecraft.client.render.entity.model with parameters of type Random -
Uses of Random in net.minecraft.client.render.model
Methods in net.minecraft.client.render.model with parameters of type RandomModifier and TypeMethodDescription -
Uses of Random in net.minecraft.client.resource
Fields in net.minecraft.client.resource declared as Random -
Uses of Random in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as RandomModifier and TypeFieldDescriptionprotected RandomAbstractSoundInstance.field_38800private final RandomBiomeEffectSoundPlayer.randomprivate final RandomMusicTracker.randomprivate final RandomWeightedSoundSet.randomMethods in net.minecraft.client.sound that return RandomMethods in net.minecraft.client.sound with parameters of type RandomModifier and TypeMethodDescriptionstatic PositionedSoundInstancePositionedSoundInstance.ambient(SoundEvent sound, Random random, double x, double y, double z) Constructors in net.minecraft.client.sound with parameters of type RandomModifierConstructorDescriptionprotectedAbstractSoundInstance(SoundEvent sound, SoundCategory category, Random random) protectedAbstractSoundInstance(Identifier soundId, SoundCategory category, Random random) protectedMovingSoundInstance(SoundEvent sound, SoundCategory category, Random random) privatePositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, double x, double y, double z) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos) PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean relative) -
Uses of Random in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type RandomModifier and TypeMethodDescriptionprivate static Vec3dParticleUtil.getRandomVelocity(Random random) -
Uses of Random in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type RandomModifier and TypeMethodDescriptionvoidClientWorld.randomBlockDisplayTick(int centerX, int centerY, int centerZ, int radius, Random random, @Nullable Block block, BlockPos.Mutable pos) -
Uses of Random in net.minecraft.datafixer.fix
Fields in net.minecraft.datafixer.fix declared as Random -
Uses of Random in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type RandomModifier and TypeMethodDescriptionstatic intEnchantmentHelper.calculateRequiredExperienceLevel(Random 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 ItemStackEnchants thetargetitem stack and returns it.static List<EnchantmentLevelEntry>EnchantmentHelper.generateEnchantments(Random random, ItemStack stack, int level, boolean treasureAllowed) Generate the enchantments for enchanting thestack.static intThornsEnchantment.getDamageAmount(int level, Random random) static booleanThornsEnchantment.shouldDamageAttacker(int level, Random random) static booleanUnbreakingEnchantment.shouldPreventDamage(ItemStack item, int level, Random random) -
Uses of Random in net.minecraft.entity
Fields in net.minecraft.entity declared as RandomMethods in net.minecraft.entity that return RandomMethods in net.minecraft.entity with parameters of type RandomModifier and TypeMethodDescriptionbooleanstatic <T extends Entity>
booleanSpawnRestriction.canSpawn(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) booleanSpawnRestriction.SpawnPredicate.test(EntityType<T> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) -
Uses of Random in net.minecraft.entity.ai
Methods in net.minecraft.entity.ai with parameters of type RandomModifier and TypeMethodDescriptionstatic BlockPosCreates a fuzzy offset position within the given horizontal and vertical ranges.FuzzyPositions.localFuzz(Random 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 BlockPosFuzzyPositions.towardTarget(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz) -
Uses of Random in net.minecraft.entity.ai.brain.sensor
Fields in net.minecraft.entity.ai.brain.sensor declared as Random -
Uses of Random in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as RandomMethods in net.minecraft.entity.ai.brain.task with parameters of type RandomConstructors in net.minecraft.entity.ai.brain.task with parameters of type Random -
Uses of Random in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type RandomModifier and TypeMethodDescriptionstatic booleanMagmaCubeEntity.canMagmaCubeSpawn(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanMobEntity.canMobSpawn(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanDrownedEntity.canSpawn(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanEndermiteEntity.canSpawn(EntityType<EndermiteEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanGhastEntity.canSpawn(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanGuardianEntity.canSpawn(EntityType<? extends GuardianEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHoglinEntity.canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHuskEntity.canSpawn(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPatrolEntity.canSpawn(EntityType<? extends PatrolEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPiglinEntity.canSpawn(EntityType<PiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanSilverfishEntity.canSpawn(EntityType<SilverfishEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanSlimeEntity.canSpawn(EntityType<SlimeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanStrayEntity.canSpawn(EntityType<StrayEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanWaterCreatureEntity.canSpawn(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanZombifiedPiglinEntity.canSpawn(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHostileEntity.canSpawnIgnoreLightLevel(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanHostileEntity.canSpawnInDark(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) protected voidMobEntity.enchantEquipment(Random random, float power, EquipmentSlot slot) protected voidMobEntity.enchantMainHandItem(Random random, float power) protected voidPillagerEntity.enchantMainHandItem(Random random, float power) private voidPiglinEntity.equipAtChance(EquipmentSlot slot, ItemStack stack, Random random) protected voidSkeletonHorseEntity.initAttributes(Random random) protected voidZombieHorseEntity.initAttributes(Random random) protected voidAbstractSkeletonEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidDrownedEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidMobEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidPiglinBruteEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidPiglinEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidPillagerEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidVexEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidVindicatorEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidWitherSkeletonEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidZombieEntity.initEquipment(Random random, LocalDifficulty localDifficulty) protected voidZombifiedPiglinEntity.initEquipment(Random random, LocalDifficulty localDifficulty) static booleanHostileEntity.isSpawnDark(ServerWorldAccess world, BlockPos pos, Random random) voidprotected static voidPiglinBrain.setHuntedRecently(PiglinEntity piglin, Random random) static booleanZombieEntity.shouldBeBaby(Random random) protected voidMobEntity.updateEnchantments(Random random, LocalDifficulty localDifficulty) protected voidWitherSkeletonEntity.updateEnchantments(Random random, LocalDifficulty localDifficulty) -
Uses of Random in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type RandomModifier and TypeMethodDescriptionstatic booleanAxolotlEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanBatEntity.canSpawn(EntityType<BatEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanFoxEntity.canSpawn(EntityType<FoxEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanFrogEntity.canSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanGlowSquidEntity.canSpawn(EntityType<? extends LivingEntity> type, ServerWorldAccess world, SpawnReason reason, BlockPos pos, Random random) static booleanGoatEntity.canSpawn(EntityType<? extends AnimalEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanMooshroomEntity.canSpawn(EntityType<MooshroomEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanOcelotEntity.canSpawn(EntityType<OcelotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanParrotEntity.canSpawn(EntityType<ParrotEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanPolarBearEntity.canSpawn(EntityType<PolarBearEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanRabbitEntity.canSpawn(EntityType<RabbitEntity> entity, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanStriderEntity.canSpawn(EntityType<StriderEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanTurtleEntity.canSpawn(EntityType<TurtleEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanWolfEntity.canSpawn(EntityType<WolfEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) static booleanTropicalFishEntity.canTropicalFishSpawn(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random) protected static voidFrogBrain.coolDownLongJump(FrogEntity frog, Random random) static PandaEntity.GenePandaEntity.Gene.createRandom(Random random) static DyeColorSheepEntity.generateDefaultColor(Random random) protected floatAbstractHorseEntity.getChildHealthBonus(Random random) protected doubleAbstractHorseEntity.getChildJumpStrengthBonus(Random random) protected doubleAbstractHorseEntity.getChildMovementSpeedBonus(Random random) private static AxolotlEntity.Variantstatic AxolotlEntity.VariantAxolotlEntity.Variant.getRandomNatural(Random random) static SoundEventParrotEntity.getRandomSound(World world, Random random) static AxolotlEntity.VariantAxolotlEntity.Variant.getRandomUnnatural(Random random) AxolotlEntity.AxolotlData.getRandomVariant(Random random) static floatParrotEntity.getSoundPitch(Random random) protected voidAbstractDonkeyEntity.initAttributes(Random random) protected voidAbstractHorseEntity.initAttributes(Random random) protected voidHorseEntity.initAttributes(Random random) protected voidFoxEntity.initEquipment(Random random, LocalDifficulty localDifficulty) private voidLlamaEntity.initializeStrength(Random random) static booleanAnimalEntity.isValidNaturalSpawn(EntityType<? extends AnimalEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) protected static voidGoatBrain.resetLongJumpCooldown(GoatEntity goat, Random random) private static booleanAxolotlEntity.shouldBabyBeDifferent(Random random) -
Uses of Random in net.minecraft.entity.projectile
Fields in net.minecraft.entity.projectile declared as Random -
Uses of Random in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type RandomModifier and TypeMethodDescriptionprotected voidFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) voidFluidState.onRandomTick(World world, BlockPos pos, Random random) voidLavaFluid.onRandomTick(World world, BlockPos pos, FluidState state, Random random) protected voidFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidFluidState.randomDisplayTick(World world, BlockPos pos, Random random) voidLavaFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) voidWaterFluid.randomDisplayTick(World world, BlockPos pos, FluidState state, Random random) -
Uses of Random in net.minecraft.item
Methods in net.minecraft.item with parameters of type RandomModifier and TypeMethodDescriptionbooleanItemStack.damage(int amount, Random random, @Nullable ServerPlayerEntity player) private static floatCrossbowItem.getSoundPitch(boolean flag, Random random) private static float[]CrossbowItem.getSoundPitches(Random random) static voidGoatHornItem.setRandomInstrumentFromTag(ItemStack stack, TagKey<Instrument> instrumentTag, Random random) private voidArmorStandItem.setRotations(ArmorStandEntity stand, Random random) -
Uses of Random in net.minecraft.loot
Methods in net.minecraft.loot with parameters of type RandomModifier and TypeMethodDescriptionLootTable.getFreeSlots(Inventory inventory, Random random) private voidLootTable.shuffle(ObjectArrayList<ItemStack> drops, int freeSlots, Random random) -
Uses of Random in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as RandomModifier and TypeFieldDescriptionprivate RandomLootContext.Builder.randomprivate final RandomLootContext.randomMethods in net.minecraft.loot.context that return RandomMethods in net.minecraft.loot.context with parameters of type RandomModifier and TypeMethodDescriptionConstructors in net.minecraft.loot.context with parameters of type RandomModifierConstructorDescription(package private)LootContext(Random random, float luck, ServerWorld world, Function<Identifier, LootTable> tableGetter, Function<Identifier, LootCondition> conditionGetter, Map<LootContextParameter<?>, Object> parameters, Map<Identifier, LootContext.Dropper> drops) -
Uses of Random in net.minecraft.loot.function
Methods in net.minecraft.loot.function with parameters of type RandomModifier and TypeMethodDescriptionprivate static ItemStackEnchantRandomlyLootFunction.addEnchantmentToStack(ItemStack stack, Enchantment enchantment, Random random) intApplyBonusLootFunction.BinomialWithBonusCount.getValue(Random random, int initialCount, int enchantmentLevel) intintint -
Uses of Random in net.minecraft.screen
Fields in net.minecraft.screen declared as Random -
Uses of Random in net.minecraft.server
Fields in net.minecraft.server declared as Random -
Uses of Random in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type RandomModifier and TypeMethodDescriptionprivate static SpreadPlayersCommand.Pile[]SpreadPlayersCommand.makePiles(Random random, int count, double minX, double minZ, double maxX, double maxZ) voidSpreadPlayersCommand.Pile.setPileLocation(Random random, double minX, double minZ, double maxX, double maxZ) private static voidSpreadPlayersCommand.spread(Vec2f center, double spreadDistance, ServerWorld world, Random random, double minX, double minZ, double maxX, double maxZ, int maxY, SpreadPlayersCommand.Pile[] piles, boolean respectTeams) -
Uses of Random in net.minecraft.server.network
Fields in net.minecraft.server.network declared as Random -
Uses of Random in net.minecraft.structure
Fields in net.minecraft.structure declared as RandomModifier and TypeFieldDescriptionStructurePlacementData.randomprivate final RandomWoodlandMansionGenerator.LayoutGenerator.randomprivate final RandomWoodlandMansionGenerator.MansionParameters.randomMethods in net.minecraft.structure that return RandomModifier and TypeMethodDescriptionMethods in net.minecraft.structure with parameters of type RandomModifier and TypeMethodDescriptionprotected voidStructurePiece.addBlockWithRandomThreshold(StructureWorldAccess world, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState state) protected booleanMineshaftGenerator.MineshaftCorridor.addChest(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Identifier lootTableId) protected booleanStructurePiece.addChest(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, @Nullable BlockState block) protected booleanStructurePiece.addChest(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Identifier lootTableId) private voidMineshaftGenerator.MineshaftCorridor.addCobwebsUnderground(StructureWorldAccess world, BlockBox box, Random random, float threshold, int x, int y, int z) protected booleanStructurePiece.addDispenser(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, Identifier lootTableId) static voidShipwreckGenerator.addParts(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, boolean bool) static voidEndCityGenerator.addPieces(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static voidIglooGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random) static voidNetherFossilGenerator.addPieces(StructureTemplateManager manager, StructurePiecesHolder holder, Random random, BlockPos pos) static voidOceanRuinGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure oceanRuinStructure) static voidWoodlandMansionGenerator.addPieces(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) voidPostPlacementProcessor.afterPlace(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos pos, StructurePiecesList children) booleanEndCityGenerator.Part.create(StructureTemplateManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random) NetherFortressGenerator.Bridge.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.BridgeEnd.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorExit.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorLeftTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) NetherFortressGenerator.CorridorRightTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.ChestCorridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainlength) static StrongholdGenerator.CorridorStrongholdGenerator.Corridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.FiveWayCrossing.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.LeftTurnStrongholdGenerator.LeftTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.LibraryStrongholdGenerator.Library.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.PrisonHall.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.RightTurn.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static BlockBoxStrongholdGenerator.SmallCorridor.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) StrongholdGenerator.SpiralStaircase.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) StrongholdGenerator.SquareRoom.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) static StrongholdGenerator.StairsStrongholdGenerator.Stairs.create(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) (package private) static booleanEndCityGenerator.createPart(StructureTemplateManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random) (package private) static NetherFortressGenerator.PieceNetherFortressGenerator.createPiece(NetherFortressGenerator.PieceData pieceData, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdGenerator.PieceStrongholdGenerator.createPiece(Class<? extends StrongholdGenerator.Piece> pieceType, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength) protected @Nullable StructurePieceNetherFortressGenerator.Piece.fillForwardOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset, boolean inside) protected @Nullable StructurePieceStrongholdGenerator.Piece.fillForwardOpening(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset) protected @Nullable StructurePieceNetherFortressGenerator.Piece.fillNWOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) protected @Nullable StructurePieceStrongholdGenerator.Piece.fillNWOpening(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset) voidMineshaftGenerator.MineshaftCorridor.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidMineshaftGenerator.MineshaftCrossing.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidMineshaftGenerator.MineshaftRoom.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidMineshaftGenerator.MineshaftStairs.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.Bridge.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.BridgeCrossing.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.BridgeSmallCrossing.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.BridgeStairs.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.CorridorBalcony.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.CorridorCrossing.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.CorridorExit.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.CorridorLeftTurn.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.CorridorNetherWartsRoom.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.CorridorRightTurn.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.CorridorStairs.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidNetherFortressGenerator.SmallCorridor.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.ChestCorridor.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.Corridor.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.FiveWayCrossing.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.LeftTurn.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.PortalRoom.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.PrisonHall.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.RightTurn.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.SpiralStaircase.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.SquareRoom.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStrongholdGenerator.Stairs.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) voidStructurePiece.fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) protected @Nullable StructurePieceNetherFortressGenerator.Piece.fillSEOpening(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) protected @Nullable StructurePieceStrongholdGenerator.Piece.fillSEOpening(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset) protected voidStructurePiece.fillWithOutline(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer) protected voidStructurePiece.fillWithOutline(StructureWorldAccess world, BlockBox box, BlockBox fillBox, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer) protected voidStructurePiece.fillWithOutlineUnderSeaLevel(StructureWorldAccess world, BlockBox box, Random random, float blockChance, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir, boolean stayBelowSeaLevel) voidBuriedTreasureGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidDesertTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidIglooGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidJungleTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidMineshaftGenerator.MineshaftCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidMineshaftGenerator.MineshaftCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidMineshaftGenerator.MineshaftRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidMineshaftGenerator.MineshaftStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.Bridge.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgeCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgeEnd.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgePlatform.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgeSmallCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.BridgeStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorBalcony.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorExit.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorLeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorNetherWartsRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorRightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.CorridorStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFortressGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidNetherFossilGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.Base.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.CoreRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.DoubleXRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) OceanMonumentGenerator.DoubleXRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) voidOceanMonumentGenerator.DoubleXYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) OceanMonumentGenerator.DoubleXYRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) voidOceanMonumentGenerator.DoubleYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) OceanMonumentGenerator.DoubleYRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) voidOceanMonumentGenerator.DoubleYZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) OceanMonumentGenerator.DoubleYZRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) voidOceanMonumentGenerator.DoubleZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) OceanMonumentGenerator.DoubleZRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) voidOceanMonumentGenerator.Entry.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanMonumentGenerator.Penthouse.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) OceanMonumentGenerator.PieceFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) voidOceanMonumentGenerator.SimpleRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) OceanMonumentGenerator.SimpleRoomFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) voidOceanMonumentGenerator.SimpleRoomTop.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) OceanMonumentGenerator.SimpleRoomTopFactory.generate(Direction direction, OceanMonumentGenerator.PieceSetting setting, Random random) voidOceanMonumentGenerator.WingRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidOceanRuinGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidPoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) voidPoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidRuinedPortalStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidShipwreckGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidSimpleStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.ChestCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.Corridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.FiveWayCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.LeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.Library.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.PortalRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.PrisonHall.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.RightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.SpiralStaircase.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.SquareRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidStrongholdGenerator.Stairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) abstract voidStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) voidSwampHutGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) protected voidStrongholdGenerator.Piece.generateEntrance(StructureWorldAccess world, Random random, BlockBox boundingBox, StrongholdGenerator.Piece.EntranceType type, int x, int y, int z) private voidRuinedPortalStructurePiece.generateOvergrownLeaves(Random random, WorldAccess world, BlockPos pos) private voidMineshaftGenerator.MineshaftCorridor.generateSupports(StructureWorldAccess world, BlockBox boundingBox, int minX, int minY, int z, int maxY, int maxX, Random random) private voidRuinedPortalStructurePiece.generateVines(Random random, WorldAccess world, BlockPos pos) WoodlandMansionGenerator.FirstFloorRoomPool.getBigRoom(Random random) abstract StringWoodlandMansionGenerator.RoomPool.getBigRoom(Random random) WoodlandMansionGenerator.SecondFloorRoomPool.getBigRoom(Random random) WoodlandMansionGenerator.FirstFloorRoomPool.getBigSecretRoom(Random random) abstract StringWoodlandMansionGenerator.RoomPool.getBigSecretRoom(Random random) WoodlandMansionGenerator.SecondFloorRoomPool.getBigSecretRoom(Random random) MineshaftGenerator.MineshaftCorridor.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) MineshaftGenerator.MineshaftCrossing.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) MineshaftGenerator.MineshaftStairs.getBoundingBox(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) WoodlandMansionGenerator.FirstFloorRoomPool.getMediumFunctionalRoom(Random random, boolean staircase) abstract StringWoodlandMansionGenerator.RoomPool.getMediumFunctionalRoom(Random random, boolean staircase) WoodlandMansionGenerator.SecondFloorRoomPool.getMediumFunctionalRoom(Random random, boolean staircase) WoodlandMansionGenerator.FirstFloorRoomPool.getMediumGenericRoom(Random random, boolean staircase) abstract StringWoodlandMansionGenerator.RoomPool.getMediumGenericRoom(Random random, boolean staircase) WoodlandMansionGenerator.SecondFloorRoomPool.getMediumGenericRoom(Random random, boolean staircase) WoodlandMansionGenerator.FirstFloorRoomPool.getMediumSecretRoom(Random random) abstract StringWoodlandMansionGenerator.RoomPool.getMediumSecretRoom(Random random) WoodlandMansionGenerator.SecondFloorRoomPool.getMediumSecretRoom(Random random) private static IdentifierOceanRuinGenerator.getRandomBigWarmRuin(Random random) protected StrongholdGenerator.Piece.EntranceTypeStrongholdGenerator.Piece.getRandomEntrance(Random random) protected static DirectionStructurePiece.getRandomHorizontalDirection(Random random) private static IdentifierOceanRuinGenerator.getRandomWarmRuin(Random random) OceanRuinGenerator.getRoomPositions(Random random, BlockPos pos) WoodlandMansionGenerator.FirstFloorRoomPool.getSmallRoom(Random random) abstract StringWoodlandMansionGenerator.RoomPool.getSmallRoom(Random random) WoodlandMansionGenerator.SecondFloorRoomPool.getSmallRoom(Random random) WoodlandMansionGenerator.FirstFloorRoomPool.getSmallSecretRoom(Random random) abstract StringWoodlandMansionGenerator.RoomPool.getSmallSecretRoom(Random random) WoodlandMansionGenerator.SecondFloorRoomPool.getSmallSecretRoom(Random random) protected voidEndCityGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidIglooGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidNetherFossilGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidOceanRuinGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidRuinedPortalStructurePiece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidShipwreckGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected abstract voidSimpleStructurePiece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected voidWoodlandMansionGenerator.Piece.handleMetadata(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) private List<OceanMonumentGenerator.PieceSetting>OceanMonumentGenerator.Base.method_14760(Random random) private voidOceanMonumentGenerator.Base.method_14761(boolean bool, int int2, StructureWorldAccess world, Random random, BlockBox box) private voidOceanMonumentGenerator.Base.method_14762(StructureWorldAccess world, Random random, BlockBox box) private voidOceanMonumentGenerator.Base.method_14763(StructureWorldAccess world, Random random, BlockBox box) private voidOceanMonumentGenerator.Base.method_14764(StructureWorldAccess world, Random random, BlockBox box) private voidOceanMonumentGenerator.Base.method_14765(StructureWorldAccess world, Random random, BlockBox box) private voidOceanMonumentGenerator.Base.method_14766(StructureWorldAccess world, Random random, BlockBox box) private voidOceanMonumentGenerator.Base.method_14767(StructureWorldAccess world, Random random, BlockBox box) private static voidOceanRuinGenerator.method_14822(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure oceanRuinStructure, boolean large, float integrity) private static voidOceanRuinGenerator.method_14825(StructureTemplateManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinStructure oceanRuinStructure, StructurePiecesHolder structurePiecesHolder) private static MineshaftGenerator.MineshaftPartMineshaftGenerator.pickPiece(StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, MineshaftStructure.Type type) private NetherFortressGenerator.PieceNetherFortressGenerator.Piece.pickPiece(NetherFortressGenerator.Start start, List<NetherFortressGenerator.PieceData> possiblePieces, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private static StrongholdGenerator.PieceStrongholdGenerator.pickPiece(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) (package private) static MineshaftGenerator.MineshaftPartMineshaftGenerator.pieceGenerator(StructurePiece start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) private StructurePieceNetherFortressGenerator.Piece.pieceGenerator(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside) (package private) static StructurePieceStrongholdGenerator.pieceGenerator(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength) voidStructureStart.place(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos) booleanStructureTemplate.place(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags) private voidRuinedPortalStructurePiece.placeNetherrackBase(Random random, WorldAccess world) private voidRuinedPortalStructurePiece.placeNetherrackBottom(Random random, WorldAccess world, BlockPos pos) voidJungleTempleGenerator.CobblestoneRandomizer.setBlock(Random random, int x, int y, int z, boolean placeBlock) voidStrongholdGenerator.StoneBrickRandomizer.setBlock(Random random, int x, int y, int z, boolean placeBlock) abstract voidintDeprecated.voidShifts all pieces so they lie within[baseY, topY]vertically.private voidRuinedPortalStructurePiece.updateNetherracks(Random random, WorldAccess world, BlockPos pos) private voidRuinedPortalStructurePiece.updateNetherracksInBound(Random random, WorldAccess world) Constructors in net.minecraft.structure with parameters of type RandomModifierConstructorDescriptionChestCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorExit(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorLeftTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorRightTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation) DesertTempleGenerator(Random random, int x, int z) FiveWayCrossing(int chainLength, Random random, BlockBox boundingBox, Direction orientation) JungleTempleGenerator(Random random, int x, int z) LayoutGenerator(StructureTemplateManager manager, Random random) MansionParameters(Random random) MineshaftCorridor(int chainLength, Random random, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) MineshaftRoom(int chainLength, Random random, int x, int z, MineshaftStructure.Type type) PrisonHall(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SimpleRoom(Direction orientation, OceanMonumentGenerator.PieceSetting setting, Random random) SpiralStaircase(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SquareRoom(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SwampHutGenerator(Random random, int x, int z) -
Uses of Random in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as RandomModifier and TypeFieldDescriptionprivate final RandomStructurePoolBasedGenerator.StructurePoolGenerator.randomMethods in net.minecraft.structure.pool with parameters of type RandomModifier and TypeMethodDescriptionbooleanEmptyPoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanFeaturePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanListPoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) booleanSinglePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) private static voidStructurePoolBasedGenerator.generate(NoiseConfig noiseConfig, int maxSize, boolean modifyBoundingBox, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, HeightLimitView heightLimitView, Random random, Registry<StructurePool> structurePoolRegistry, PoolStructurePiece firstPiece, List<PoolStructurePiece> pieces, VoxelShape pieceShape) abstract booleanStructurePoolElement.generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) StructurePool.getElementIndicesInRandomOrder(Random random) StructurePool.getRandomElement(Random random) EmptyPoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) FeaturePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) ListPoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) SinglePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) abstract List<StructureTemplate.StructureBlockInfo>StructurePoolElement.getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) voidStructurePoolElement.method_16756(WorldAccess world, StructureTemplate.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) Constructors in net.minecraft.structure.pool with parameters of type RandomModifierConstructorDescription(package private)StructurePoolGenerator(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random) -
Uses of Random in net.minecraft.structure.processor
Methods in net.minecraft.structure.processor with parameters of type RandomModifier and TypeMethodDescriptionprivate BlockStateBlockAgeStructureProcessor.process(Random random, BlockState[] regularStates, BlockState[] mossyStates) private @Nullable BlockStateBlockAgeStructureProcessor.processBlocks(Random random) private @Nullable BlockStateBlockAgeStructureProcessor.processObsidian(Random random) private @Nullable BlockStateBlockAgeStructureProcessor.processSlabs(Random random) private @Nullable BlockStateBlockAgeStructureProcessor.processStairs(Random random, BlockState state) private @Nullable BlockStateBlockAgeStructureProcessor.processWalls(Random random) private static BlockStateBlockAgeStructureProcessor.randomStairProperties(Random random, Block stairs) private static BlockStateBlockAgeStructureProcessor.randomState(Random random, BlockState[] states) booleanStructureProcessorRule.test(BlockState input, BlockState location, BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, Random random) -
Uses of Random in net.minecraft.structure.rule
Methods in net.minecraft.structure.rule with parameters of type RandomModifier and TypeMethodDescriptionbooleanbooleanAlwaysTrueRuleTest.test(BlockState state, Random random) booleanAxisAlignedLinearPosRuleTest.test(BlockPos blockPos, BlockPos blockPos2, BlockPos pivot, Random random) booleanBlockMatchRuleTest.test(BlockState state, Random random) booleanBlockStateMatchRuleTest.test(BlockState state, Random random) booleanabstract booleanbooleanRandomBlockMatchRuleTest.test(BlockState state, Random random) booleanRandomBlockStateMatchRuleTest.test(BlockState state, Random random) abstract booleanRuleTest.test(BlockState state, Random random) booleanTagMatchRuleTest.test(BlockState state, Random random) -
Uses of Random in net.minecraft.util
Methods in net.minecraft.util that return RandomMethods in net.minecraft.util with parameters of type RandomModifier and TypeMethodDescriptionstatic <T> List<T>Util.copyShuffled(ObjectArrayList<T> list, Random random) static <T> List<T>Util.copyShuffled(Stream<T> stream, Random random) static <T> List<T>Util.copyShuffled(T[] array, Random random) private static Stringstatic intstatic <T> Tstatic <T> Tstatic <T> Optional<T>Util.getRandomOrEmpty(List<T> list, Random random) static BlockRotationstatic List<BlockRotation>BlockRotation.randomRotationOrder(Random random) static <T> voidUtil.shuffle(ObjectArrayList<T> list, Random random) static IntArrayList -
Uses of Random in net.minecraft.util.collection
Fields in net.minecraft.util.collection declared as RandomMethods in net.minecraft.util.collection with parameters of type RandomModifier and TypeMethodDescriptionDataPool.getDataOrEmpty(Random random) Pool.getOrEmpty(Random random) -
Uses of Random in net.minecraft.util.math
Fields in net.minecraft.util.math declared as RandomMethods in net.minecraft.util.math with parameters of type RandomModifier and TypeMethodDescriptionDirection.Type.getShuffled(Random random) BlockPos.iterateRandomly(Random random, int count, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) Iterates throughcountrandom block positions in the given area.BlockPos.iterateRandomly(Random random, int count, BlockPos around, int range) Iterates throughcountrandom block positions in a given range around the given position.static intMathHelper.method_34950(Random random, double[] double2) static floatMathHelper.nextBetween(Random random, float min, float max) static intMathHelper.nextBetween(Random random, int min, int max) Returns a random, uniformly distributed integer value in[min, max].static doubleMathHelper.nextDouble(Random random, double min, double max) static floatstatic floatMathHelper.nextGaussian(Random random, float mean, float deviation) static intReturns a random, uniformly distributed integer value in[min, max].static Direction.AxisDirection.Axis.pickRandomAxis(Random random) static DirectionDirection.Type.randomAxis(Random random) static UUIDMathHelper.randomUuid(Random random) static Collection<Direction> -
Uses of Random in net.minecraft.util.math.floatprovider
Methods in net.minecraft.util.math.floatprovider with parameters of type RandomModifier and TypeMethodDescriptionfloatstatic floatfloatfloatfloatfloatfloat -
Uses of Random in net.minecraft.util.math.intprovider
Methods in net.minecraft.util.math.intprovider with parameters of type RandomModifier and TypeMethodDescriptionintintintintabstract intintintstatic int -
Uses of Random in net.minecraft.util.math.noise
Methods in net.minecraft.util.math.noise with parameters of type RandomModifier and TypeMethodDescriptionInterpolatedNoiseSampler.copyWithRandom(Random random) static DoublePerlinNoiseSamplerstatic DoublePerlinNoiseSamplerDoublePerlinNoiseSampler.create(Random random, DoublePerlinNoiseSampler.NoiseParameters parameters) static OctavePerlinNoiseSamplerOctavePerlinNoiseSampler.create(Random random, int offset, double firstAmplitude, double[] amplitudes) static OctavePerlinNoiseSamplerOctavePerlinNoiseSampler.create(Random random, int offset, DoubleList amplitudes) static OctavePerlinNoiseSamplerstatic OctavePerlinNoiseSamplerstatic DoublePerlinNoiseSamplerDoublePerlinNoiseSampler.createLegacy(Random random, DoublePerlinNoiseSampler.NoiseParameters parameters) Deprecated.static OctavePerlinNoiseSamplerOctavePerlinNoiseSampler.createLegacy(Random random, int offset, DoubleList amplitudes) Deprecated.static OctavePerlinNoiseSamplerOctavePerlinNoiseSampler.createLegacy(Random random, IntStream intStream) Deprecated.private static voidConstructors in net.minecraft.util.math.noise with parameters of type RandomModifierConstructorDescriptionprivateDoublePerlinNoiseSampler(Random random, DoublePerlinNoiseSampler.NoiseParameters noiseParameters, boolean bool) InterpolatedNoiseSampler(Random random, double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) protectedOctavePerlinNoiseSampler(Random random, com.mojang.datafixers.util.Pair<Integer, DoubleList> pair, boolean xoroshiro) privateOctaveSimplexNoiseSampler(Random random, IntSortedSet octaves) OctaveSimplexNoiseSampler(Random random, List<Integer> octaves) PerlinNoiseSampler(Random random) SimplexNoiseSampler(Random random) -
Uses of Random in net.minecraft.util.math.random
Subinterfaces of Random in net.minecraft.util.math.randomClasses in net.minecraft.util.math.random that implement RandomModifier and TypeClassDescriptionclassA checked random that fails fast when it detects concurrent usage.classclassA local random, not intended to be shared across threads.classDeprecated.classXoroshiro128++ based pseudo random number generator.Fields in net.minecraft.util.math.random declared as RandomModifier and TypeFieldDescriptionprivate final RandomChunkRandom.baseRandomfinal RandomGaussianGenerator.baseRandomFields in net.minecraft.util.math.random with type parameters of type RandomModifier and TypeFieldDescriptionprivate final LongFunction<Random>ChunkRandom.RandomProvider.providerMethods in net.minecraft.util.math.random that return RandomModifier and TypeMethodDescriptionChunkRandom.RandomProvider.create(long seed) static RandomRandom.create()Returns a random.static RandomRandom.create(long seed) Returns a random with the givenseed.static RandomRandom.createLocal()Returns a random split from the thread local random.static RandomRandom.createThreadSafe()Deprecated.This one is hard to ensure deterministic behavior compared to the non-thread-safe one.static RandomChunkRandom.getSlimeRandom(int chunkX, int chunkZ, long worldSeed, long scrambler) CheckedRandom.split()CheckedRandom.Splitter.split(int x, int y, int z) ChunkRandom.split()LocalRandom.split()Random.split()RandomSplitter.split(int x, int y, int z) default RandomRandomSplitter.split(Identifier seed) default RandomThreadSafeRandom.split()Deprecated.Xoroshiro128PlusPlusRandom.split()Xoroshiro128PlusPlusRandom.Splitter.split(int x, int y, int z) Constructors in net.minecraft.util.math.random with parameters of type RandomModifierConstructorDescriptionChunkRandom(Random baseRandom) GaussianGenerator(Random baseRandom) Constructor parameters in net.minecraft.util.math.random with type arguments of type Random -
Uses of Random in net.minecraft.util.registry
Methods in net.minecraft.util.registry with parameters of type Random -
Uses of Random in net.minecraft.village
Methods in net.minecraft.village with parameters of type RandomModifier and TypeMethodDescriptionCreates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.Creates a trade offer.private static DyeItemprivate Collection<VillagerGossips.GossipEntry>VillagerGossips.pickGossips(Random random, int count) voidVillagerGossips.shareGossipFrom(VillagerGossips from, Random random, int count) -
Uses of Random in net.minecraft.village.raid
Fields in net.minecraft.village.raid declared as RandomMethods in net.minecraft.village.raid with parameters of type RandomModifier and TypeMethodDescriptionprivate intRaid.getBonusCount(Raid.Member member, Random random, int wave, LocalDifficulty localDifficulty, boolean extra) -
Uses of Random in net.minecraft.world
Fields in net.minecraft.world declared as RandomModifier and TypeFieldDescriptionprivate final RandomChunkRegion.randomprivate final RandomWanderingTraderManager.randomfinal RandomWorld.randomprivate final RandomWorld.threadSafeRandomDeprecated.Methods in net.minecraft.world that return RandomModifier and TypeMethodDescriptionChunkRegion.getRandom()World.getRandom()WorldAccess.getRandom()Methods in net.minecraft.world with parameters of type RandomModifier and TypeMethodDescriptionprivate static Optional<SpawnSettings.SpawnEntry>SpawnHelper.pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos) static voidSpawnHelper.populateEntities(ServerWorldAccess world, RegistryEntry<Biome> registryEntry, ChunkPos chunkPos, Random random) -
Uses of Random in net.minecraft.world.biome
Methods in net.minecraft.world.biome with parameters of type Random -
Uses of Random in net.minecraft.world.biome.source
Methods in net.minecraft.world.biome.source with parameters of type RandomModifier 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, Random 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, Random 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, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) -
Uses of Random in net.minecraft.world.explosion
Fields in net.minecraft.world.explosion declared as Random -
Uses of Random in net.minecraft.world.gen.carver
Methods in net.minecraft.world.gen.carver with parameters of type RandomModifier and TypeMethodDescriptionabstract booleanCarver.carve(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) booleanCaveCarver.carve(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) booleanConfiguredCarver.carve(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) booleanRavineCarver.carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) private float[]RavineCarver.createHorizontalStretchFactors(CarverContext context, RavineCarverConfig config, Random random) protected floatCaveCarver.getTunnelSystemWidth(Random random) protected floatNetherCaveCarver.getTunnelSystemWidth(Random random) private doubleRavineCarver.getVerticalScale(RavineCarverConfig config, Random random, double pitch, float branchCount, float branchIndex) abstract booleanCarver.shouldCarve(C config, Random random) booleanCaveCarver.shouldCarve(CaveCarverConfig caveCarverConfig, Random random) booleanConfiguredCarver.shouldCarve(Random random) booleanRavineCarver.shouldCarve(RavineCarverConfig ravineCarverConfig, Random random) -
Uses of Random in net.minecraft.world.gen.chunk.placement
Methods in net.minecraft.world.gen.chunk.placement with parameters of type Random -
Uses of Random in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type RandomModifier and TypeMethodDescriptionprivate voidBlockPileFeature.addPileBlock(WorldAccess world, BlockPos pos, Random random, BlockPileFeatureConfig config) private booleanBlockPileFeature.canPlace(WorldAccess world, BlockPos pos, Random random) private static floatDripstoneClusterFeature.clampedGaussian(Random random, float min, float max, float mean, float deviation) private static LargeDripstoneFeature.DripstoneGeneratorLargeDripstoneFeature.createGenerator(BlockPos pos, boolean isStalagmite, Random random, int scale, FloatProvider bluntness, FloatProvider heightScale) booleanConfiguredFeature.generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos origin) private voidDripstoneClusterFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, int localX, int localZ, float wetness, double dripstoneChance, int height, float density, DripstoneClusterFeatureConfig config) (package private) voidLargeDripstoneFeature.DripstoneGenerator.generate(StructureWorldAccess world, Random random, LargeDripstoneFeature.WindModifier wind) static booleanMultifaceGrowthFeature.generate(StructureWorldAccess world, BlockPos pos, BlockState state, MultifaceGrowthFeatureConfig config, Random random, List<Direction> directions) private booleanPlacedFeature.generate(FeaturePlacementContext context, Random random, BlockPos pos) booleanPlacedFeature.generate(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos) Generates a configured feature at the positions obtained by applying placement modifiers to the given position.booleanRandomFeatureEntry.generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) private booleanTreeFeature.generate(StructureWorldAccess world, Random random, BlockPos pos, BiConsumer<BlockPos, BlockState> rootPlacerReplacer, BiConsumer<BlockPos, BlockState> trunkPlacerReplacer, BiConsumer<BlockPos, BlockState> foliagePlacerReplacer, TreeFeatureConfig config) protected voidHugeBrownMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected abstract voidHugeMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected voidHugeRedMushroomFeature.generateCap(WorldAccess world, Random random, BlockPos start, int y, BlockPos.Mutable mutable, HugeMushroomFeatureConfig config) protected booleanCoralClawFeature.generateCoral(WorldAccess world, Random random, BlockPos pos, BlockState state) protected abstract booleanCoralFeature.generateCoral(WorldAccess world, Random random, BlockPos pos, BlockState state) protected booleanCoralMushroomFeature.generateCoral(WorldAccess world, Random random, BlockPos pos, BlockState state) protected booleanCoralTreeFeature.generateCoral(WorldAccess world, Random random, BlockPos pos, BlockState state) protected booleanCoralFeature.generateCoralPiece(WorldAccess world, Random random, BlockPos pos, BlockState state) private static voidSmallDripstoneFeature.generateDripstoneBlocks(WorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config) private static voidRootSystemFeature.generateHangingRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, BlockPos pos, BlockPos.Mutable mutablePos) private voidHugeFungusFeature.generateHat(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int hatHeight, boolean thickStem) booleanFeature.generateIfValid(FC config, StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos) private voidWeepingVinesFeature.generateNetherWartBlocksInArea(WorldAccess world, Random random, BlockPos pos) private static voidRootSystemFeature.generateRoots(StructureWorldAccess world, RootSystemFeatureConfig config, Random random, int x, int z, BlockPos.Mutable mutablePos) private static voidRootSystemFeature.generateRootsColumn(BlockPos pos, int maxY, StructureWorldAccess world, RootSystemFeatureConfig config, Random random) private voidEndSpikeFeature.generateSpike(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike) private voidHugeFungusFeature.generateStem(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos pos, int stemHeight, boolean thickStem) protected voidHugeMushroomFeature.generateStem(WorldAccess world, Random random, BlockPos pos, HugeMushroomFeatureConfig config, int height, BlockPos.Mutable mutablePos) private static booleanRootSystemFeature.generateTreeAndRoots(StructureWorldAccess world, ChunkGenerator generator, RootSystemFeatureConfig config, Random random, BlockPos.Mutable mutablePos, BlockPos pos) booleanPlacedFeature.generateUnregistered(StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos pos) protected voidVegetationPatchFeature.generateVegetation(FeatureContext<VegetationPatchFeatureConfig> context, StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, Set<BlockPos> positions, int radiusX, int radiusZ) protected booleanVegetationPatchFeature.generateVegetationFeature(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos) protected booleanWaterloggedVegetationPatchFeature.generateVegetationFeature(StructureWorldAccess world, VegetationPatchFeatureConfig config, ChunkGenerator generator, Random random, BlockPos pos) protected booleanOreFeature.generateVeinPart(StructureWorldAccess world, Random random, 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 voidTwistingVinesFeature.generateVineColumn(WorldAccess world, Random random, BlockPos.Mutable pos, int maxLength, int minAge, int maxAge) static voidWeepingVinesFeature.generateVineColumn(WorldAccess world, Random random, BlockPos.Mutable pos, int length, int minAge, int maxAge) private static voidHugeFungusFeature.generateVines(BlockPos pos, WorldAccess world, Random random) private voidWeepingVinesFeature.generateVinesInArea(WorldAccess world, Random random, BlockPos pos) SmallDripstoneFeature.getDirection(WorldAccess world, BlockPos pos, Random random) private intDripstoneClusterFeature.getHeight(Random random, int localX, int localZ, float density, int height, DripstoneClusterFeatureConfig config) protected intprivate EntityType<?>DungeonFeature.getMobSpawnerEntity(Random random) private intprivate intIcebergFeature.method_13419(Random random, int y, int height, int factor) private doubleIcebergFeature.method_13421(int x, int z, BlockPos pos, int int2, Random random) private intIcebergFeature.method_13427(Random random, int y, int height, int factor) private voidIcebergFeature.method_13428(Random random, WorldAccess world, int int2, int int3, BlockPos pos, boolean bool, int int4, double double2, int int5) private voidIcebergFeature.placeAt(WorldAccess world, Random random, 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 booleanDiskFeature.placeBlock(DiskFeatureConfig config, StructureWorldAccess world, Random random, int topY, int bottomY, BlockPos.Mutable pos) private voidIcebergFeature.placeBlockOrSnow(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state) protected booleanVegetationPatchFeature.placeGround(StructureWorldAccess world, VegetationPatchFeatureConfig config, Predicate<BlockState> replaceable, Random random, BlockPos.Mutable pos, int depth) VegetationPatchFeature.placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) WaterloggedVegetationPatchFeature.placeGroundAndGetPositions(StructureWorldAccess world, VegetationPatchFeatureConfig config, Random random, BlockPos pos, Predicate<BlockState> replaceable, int radiusX, int radiusZ) private voidHugeFungusFeature.placeHatBlock(WorldAccess world, Random random, HugeFungusFeatureConfig config, BlockPos.Mutable pos, float decorationChance, float generationChance, float vineChance) private voidHugeFungusFeature.placeWithOptionalVines(WorldAccess world, Random random, BlockPos pos, BlockState state, boolean vines) private voidScatteredOreFeature.setPos(BlockPos.Mutable mutable, Random random, BlockPos origin, int spread) protected static booleanOreFeature.shouldNotDiscard(Random random, float chance) static booleanOreFeature.shouldPlace(BlockState state, Function<BlockPos, BlockState> posToState, Random random, OreFeatureConfig config, OreFeatureConfig.Target target, BlockPos.Mutable pos) MultifaceGrowthFeatureConfig.shuffleDirections(Random random) MultifaceGrowthFeatureConfig.shuffleDirections(Random random, Direction excluded) private booleanBasaltPillarFeature.stopOrPlaceBasalt(WorldAccess world, Random random, BlockPos pos) private voidBasaltPillarFeature.tryPlaceBasalt(WorldAccess world, Random random, BlockPos pos) Constructors in net.minecraft.world.gen.feature with parameters of type RandomModifierConstructorDescription(package private)WindModifier(int y, Random random, FloatProvider wind) -
Uses of Random in net.minecraft.world.gen.feature.util
Fields in net.minecraft.world.gen.feature.util declared as RandomMethods in net.minecraft.world.gen.feature.util that return RandomConstructors in net.minecraft.world.gen.feature.util with parameters of type RandomModifierConstructorDescriptionFeatureContext(Optional<ConfiguredFeature<?, ?>> feature, StructureWorldAccess world, ChunkGenerator generator, Random random, BlockPos origin, FC config) -
Uses of Random in net.minecraft.world.gen.foliage
Methods in net.minecraft.world.gen.foliage with parameters of type RandomModifier and TypeMethodDescriptionprotected voidAcaciaFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidBlobFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidBushFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidDarkOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius) protected abstract voidFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidJungleFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidLargeOakFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidMegaPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidPineFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidRandomSpreadFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidSpruceFoliagePlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, int offset) This is the main method used to generate foliage.protected voidFoliagePlacer.generateSquare(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos centerPos, int radius, int y, boolean giantTrunk) Generates a square of leaves with the given radius.intAcaciaFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intBlobFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intDarkOakFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) abstract intFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intJungleFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intMegaPineFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intPineFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intRandomSpreadFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) intSpruceFoliagePlacer.getRandomHeight(Random random, int trunkHeight, TreeFeatureConfig config) private intFoliagePlacer.getRandomOffset(Random random) intFoliagePlacer.getRandomRadius(Random random, int baseHeight) intPineFoliagePlacer.getRandomRadius(Random random, int baseHeight) protected booleanAcaciaFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanBlobFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanBushFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanDarkOakFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanJungleFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanLargeOakFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanMegaPineFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanPineFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanRandomSpreadFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanSpruceFoliagePlacer.isInvalidForLeaves(Random random, 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 booleanDarkOakFoliagePlacer.isPositionInvalid(Random random, int dx, int y, int dz, int radius, boolean giantTrunk) Normalizes x and z coords before checking if they are invalid.protected booleanFoliagePlacer.isPositionInvalid(Random random, int dx, int y, int dz, int radius, boolean giantTrunk) Normalizes x and z coords before checking if they are invalid.protected static voidFoliagePlacer.placeFoliageBlock(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, TreeFeatureConfig config, BlockPos pos) -
Uses of Random in net.minecraft.world.gen.heightprovider
Methods in net.minecraft.world.gen.heightprovider with parameters of type RandomModifier and TypeMethodDescriptionintBiasedToBottomHeightProvider.get(Random random, HeightContext context) intConstantHeightProvider.get(Random random, HeightContext context) abstract intHeightProvider.get(Random random, HeightContext context) intTrapezoidHeightProvider.get(Random random, HeightContext context) intUniformHeightProvider.get(Random random, HeightContext context) intVeryBiasedToBottomHeightProvider.get(Random random, HeightContext context) intWeightedListHeightProvider.get(Random random, HeightContext context) -
Uses of Random in net.minecraft.world.gen.noise
Methods in net.minecraft.world.gen.noise that return Random -
Uses of Random in net.minecraft.world.gen.placementmodifier
Methods in net.minecraft.world.gen.placementmodifier with parameters of type RandomModifier and TypeMethodDescriptionprotected abstract intprotected intprotected intprotected intAbstractConditionalPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.AbstractCountPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.CarvingMaskPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.CountMultilayerPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Deprecated.Applies this placement modifier to the given position.EnvironmentScanPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightmapPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.HeightRangePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.PlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.RandomOffsetPlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.SquarePlacementModifier.getPositions(FeaturePlacementContext context, Random random, BlockPos pos) Applies this placement modifier to the given position.protected abstract booleanAbstractConditionalPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanBiomePlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanBlockFilterPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanRarityFilterPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanSurfaceThresholdFilterPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) protected booleanSurfaceWaterDepthFilterPlacementModifier.shouldPlace(FeaturePlacementContext context, Random random, BlockPos pos) -
Uses of Random in net.minecraft.world.gen.root
Methods in net.minecraft.world.gen.root with parameters of type RandomModifier and TypeMethodDescriptionprivate booleanMangroveRootPlacer.canGrow(TestableWorld world, Random random, BlockPos pos, Direction direction, BlockPos origin, List<BlockPos> offshootPositions, int rootLength) booleanMangroveRootPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) abstract booleanRootPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, BlockPos trunkPos, TreeFeatureConfig config) MangroveRootPlacer.getOffshootPositions(BlockPos pos, Direction direction, Random random, BlockPos origin) protected voidMangroveRootPlacer.placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected voidRootPlacer.placeRoots(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) RootPlacer.trunkOffset(BlockPos pos, Random random) -
Uses of Random in net.minecraft.world.gen.stateprovider
Methods in net.minecraft.world.gen.stateprovider with parameters of type RandomModifier and TypeMethodDescriptionabstract BlockStateBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.DualNoiseBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.NoiseBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.NoiseThresholdBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.PillarBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.PredicatedStateProvider.getBlockState(StructureWorldAccess world, Random random, BlockPos pos) RandomizedIntBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.SimpleBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state.WeightedBlockStateProvider.getBlockState(Random random, BlockPos pos) Returns a provided block state. -
Uses of Random in net.minecraft.world.gen.structure
Methods in net.minecraft.world.gen.structure with parameters of type RandomModifier and TypeMethodDescriptionprivate static intRuinedPortalStructure.choosePlacementHeight(Random random, int min, int max) private static intRuinedPortalStructure.getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig) voidStructure.postPlace(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) voidWoodlandMansionStructure.postPlace(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) -
Uses of Random in net.minecraft.world.gen.surfacebuilder
Methods in net.minecraft.world.gen.surfacebuilder with parameters of type RandomModifier and TypeMethodDescriptionprivate static voidSurfaceBuilder.addTerracottaBands(Random random, BlockState[] terracottaBands, int minBandSize, BlockState state) private static BlockState[]SurfaceBuilder.createTerracottaBands(Random random) -
Uses of Random in net.minecraft.world.gen.treedecorator
Fields in net.minecraft.world.gen.treedecorator declared as RandomMethods in net.minecraft.world.gen.treedecorator that return RandomConstructors in net.minecraft.world.gen.treedecorator with parameters of type RandomModifierConstructorDescriptionGenerator(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, Set<BlockPos> logPositions, Set<BlockPos> leavesPositions, Set<BlockPos> rootPositions) -
Uses of Random in net.minecraft.world.gen.trunk
Methods in net.minecraft.world.gen.trunk with parameters of type RandomModifier and TypeMethodDescriptionBendingTrunkPlacer.generate(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random 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, Random 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, Random 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, Random 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, Random 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, Random 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, Random 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, Random 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, Random random, int height, BlockPos startPos, TreeFeatureConfig config) Generates the trunk blocks and return a list of tree nodes to place foliage aroundprivate voidUpwardsBranchingTrunkPlacer.generateExtraBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer.TreeNode> nodes, BlockPos.Mutable pos, int yOffset, Direction direction, int length, int steps) protected booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected booleanTrunkPlacer.getAndSetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config, Function<BlockState, BlockState> function) intprivate voidLargeOakTrunkPlacer.makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer.BranchPosition> branchPositions, TreeFeatureConfig config) private booleanLargeOakTrunkPlacer.makeOrCheckBranch(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config) private voidGiantTrunkPlacer.setLog(TestableWorld testableWorld, BiConsumer<BlockPos, BlockState> biConsumer, Random random, BlockPos.Mutable mutable, TreeFeatureConfig treeFeatureConfig, BlockPos blockPos, int int2, int int3, int int4) protected static voidTrunkPlacer.setToDirt(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos pos, TreeFeatureConfig config) protected voidTrunkPlacer.trySetState(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos.Mutable pos, TreeFeatureConfig config) -
Uses of Random in net.minecraft.world.poi
Methods in net.minecraft.world.poi with parameters of type RandomModifier and TypeMethodDescriptionPointOfInterestStorage.getPosition(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage.OccupationStatus occupationStatus, BlockPos pos, int radius, Random random) -
Uses of Random in net.minecraft.world.spawner
Methods in net.minecraft.world.spawner with parameters of type RandomModifier and TypeMethodDescriptionprivate booleanPatrolSpawner.spawnPillager(ServerWorld world, BlockPos pos, Random random, boolean captain)
AbstractBlock.AbstractBlockState.randomTick(net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.util.math.random.Random)instead.