net.minecraft.server.level

public class WorldGenRegion

implements WorldGenLevel

abx
net.minecraft.server.level.WorldGenRegion
net.minecraft.class_3233
net.minecraft.world.ChunkRegion
net.minecraft.src.C_19_
net.minecraft.server.level.RegionLimitedWorldAccess

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_14092
LOGGER
f_9474_
private final List<ChunkAccess>
b
cache
field_14098
chunks
f_9475_
private final ChunkPos
c
center
field_28557
centerPos
f_143479_
private final int
d
size
field_14088
width
f_9478_
private final ServerLevel
e
level
field_14093
world
f_9479_
private final long
f
seed
field_14087
seed
f_9480_
private final LevelData
g
levelData
field_14097
levelProperties
f_9481_
private final Random
h
random
field_14091
random
f_9482_
private final DimensionType
i
dimensionType
field_14096
dimension
f_9483_
private final TickList<Block>
j
blockTicks
field_14099
blockTickScheduler
f_9484_
private final TickList<Fluid>
k
liquidTicks
field_14094
fluidTickScheduler
f_9485_
private final BiomeManager
l
biomeManager
field_20668
biomeAccess
f_9486_
private final ChunkPos
m
firstPos
field_23788
lowerCorner
f_9487_
private final ChunkPos
n
lastPos
field_23789
upperCorner
f_9488_
private final StructureFeatureManager
o
structureFeatureManager
field_26822
structureAccessor
f_9489_
private final ChunkStatus
p
generatingStatus
field_33754
field_33754
f_143480_
private final int
q
writeRadiusCutoff
field_33755
placementRadius
f_143481_
private Supplier<String>
r
currentlyGenerating
field_33756
field_33756
f_143482_

Constructor summary

ModifierConstructor
public (ServerLevel world, List<ChunkAccess> p_143486_, ChunkStatus p_143487_, int placementRadius)

Method summary

Modifier and TypeMethod
public ChunkPos
a()
getCenter()
method_33561()
getCenterPos()
m_143488_()
public void
a(Supplier<String> arg0)
setCurrentlyGenerating(Supplier<String> arg0)
method_36972(Supplier<String> arg0)
method_36972(Supplier<String> arg0)
m_143497_(Supplier<String> arg0)
public ChunkAccess
a(int arg0, int arg1)
getChunk(int arg0, int arg1)
method_8392(int arg0, int arg1)
getChunk(int arg0, int arg1)
m_6325_(int p_9508_, int arg1)
getChunkAt(int arg0, int arg1)
public ChunkAccess
a(int arg0, int arg1, cmq arg2, boolean arg3)
getChunk(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
method_8402(int arg0, int arg1, class_2806 arg2, boolean arg3)
getChunk(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
m_6522_(int p_9515_, int p_9516_, C_2126_ p_9517_, boolean arg3)
getChunkAt(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
public boolean
b(int arg0, int arg1)
hasChunk(int arg0, int arg1)
method_8393(int arg0, int arg1)
isChunkLoaded(int arg0, int arg1)
m_7232_(int p_9575_, int arg1)
isChunkLoaded(int arg0, int arg1)
public BlockState
a_(gg arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
m_8055_(C_4675_ arg0)
getType(BlockPosition arg0)
public FluidState
b_(gg arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos arg0)
m_6425_(C_4675_ arg0)
getFluid(BlockPosition arg0)
public Player
a(double arg0, double arg1, double arg2, double arg3, Predicate<atg> arg4)
getNearestPlayer(double arg0, double arg1, double arg2, double arg3, Predicate<Entity> arg4)
method_8604(double arg0, double arg1, double arg2, double arg3, Predicate<class_1297> arg4)
getClosestPlayer(double arg0, double arg1, double arg2, double arg3, Predicate<Entity> arg4)
m_5788_(double p_9502_, double p_9504_, double arg2, double arg3, Predicate<C_507_> arg4)
public int
n_()
getSkyDarken()
method_8594()
getAmbientDarkness()
m_7445_()
public BiomeManager
r_()
getBiomeManager()
method_22385()
getBiomeAccess()
m_7062_()
public Biome
a(int arg0, int arg1, int arg2)
getUncachedNoiseBiome(int arg0, int arg1, int arg2)
method_22387(int arg0, int arg1, int arg2)
getGeneratorStoredBiome(int arg0, int arg1, int arg2)
m_6159_(int p_9511_, int p_9512_, int arg2)
public float
a(gl arg0, boolean arg1)
getShade(Direction arg0, boolean arg1)
method_24852(class_2350 arg0, boolean arg1)
getBrightness(Direction arg0, boolean arg1)
m_7717_(C_4687_ p_9556_, boolean arg1)
public LevelLightEngine
k_()
getLightEngine()
method_22336()
getLightingProvider()
m_5518_()
public boolean
a(gg arg0, boolean arg1, atg arg2, int arg3)
destroyBlock(BlockPos arg0, boolean arg1, Entity arg2, int arg3)
method_30093(class_2338 arg0, boolean arg1, class_1297 arg2, int arg3)
breakBlock(BlockPos arg0, boolean arg1, Entity arg2, int arg3)
m_7740_(C_4675_ p_9551_, boolean p_9552_, C_507_ p_9553_, int arg3)
public BlockEntity
c_(gg arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
m_7702_(C_4675_ arg0)
getTileEntity(BlockPosition arg0)
public boolean
e_(gg arg0)
ensureCanWrite(BlockPos arg0)
method_37368(class_2338 arg0)
isValidForSetBlock(BlockPos arg0)
m_180807_(C_4675_ arg0)
public boolean
a(gg arg0, ckt arg1, int arg2, int arg3)
setBlock(BlockPos arg0, BlockState arg1, int arg2, int arg3)
method_30092(class_2338 arg0, class_2680 arg1, int arg2, int arg3)
setBlockState(BlockPos arg0, BlockState arg1, int arg2, int arg3)
m_6933_(C_4675_ p_9540_, C_2064_ p_9541_, int p_9542_, int arg3)
private void
f(gg arg0)
markPosForPostprocessing(BlockPos arg0)
method_14338(class_2338 arg0)
markBlockForPostProcessing(BlockPos pos)
m_9591_(C_4675_ arg0)
public boolean
b(atg arg0)
addFreshEntity(Entity arg0)
method_8649(class_1297 arg0)
spawnEntity(Entity arg0)
m_7967_(C_507_ arg0)
addEntity(Entity arg0)
public boolean
a(gg arg0, boolean arg1)
removeBlock(BlockPos arg0, boolean arg1)
method_8650(class_2338 arg0, boolean arg1)
removeBlock(BlockPos arg0, boolean arg1)
m_7471_(C_4675_ p_9548_, boolean arg1)
public WorldBorder
o_()
getWorldBorder()
method_8621()
getWorldBorder()
m_6857_()
getWorldBorder()
public boolean
j_()
isClientSide()
method_8608()
isClient()
m_5776_()
isClientSide()
public ServerLevel
G()
getLevel()
method_8410()
toServerWorld()
m_6018_()
getLevel()
public RegistryAccess
t()
registryAccess()
method_30349()
getRegistryManager()
m_5962_()
public LevelData
m_()
getLevelData()
method_8401()
getLevelProperties()
m_6106_()
getWorldData()
public DifficultyInstance
d_(gg arg0)
getCurrentDifficultyAt(BlockPos arg0)
method_8404(class_2338 arg0)
getLocalDifficulty(BlockPos arg0)
m_6436_(C_4675_ arg0)
getDamageScaler(BlockPosition arg0)
public MinecraftServer
n()
getServer()
method_8503()
getServer()
m_142572_()
getMinecraftServer()
public ChunkSource
L()
getChunkSource()
method_8398()
getChunkManager()
m_7726_()
getChunkProvider()
public long
E()
getSeed()
method_8412()
getSeed()
m_7328_()
getSeed()
public TickList<Block>
N()
getBlockTicks()
method_8397()
getBlockTickScheduler()
m_6219_()
getBlockTickList()
public TickList<Fluid>
M()
getLiquidTicks()
method_8405()
getFluidTickScheduler()
m_6217_()
getFluidTickList()
public int
l_()
getSeaLevel()
method_8615()
getSeaLevel()
m_5736_()
getSeaLevel()
public Random
q_()
getRandom()
method_8409()
getRandom()
m_5822_()
getRandom()
public int
a(cpt$a arg0, int arg1, int arg2)
getHeight(Heightmap$Types arg0, int arg1, int arg2)
method_8624(class_2902$class_2903 arg0, int arg1, int arg2)
getTopY(Heightmap$Type arg0, int arg1, int arg2)
m_6924_(C_2190_$C_2191_ p_9536_, int p_9537_, int arg2)
public void
a(bke arg0, gg arg1, afd arg2, aff arg3, float arg4, float arg5)
playSound(Player arg0, BlockPos arg1, SoundEvent arg2, SoundSource arg3, float arg4, float arg5)
method_8396(class_1657 arg0, class_2338 arg1, class_3414 arg2, class_3419 arg3, float arg4, float arg5)
playSound(PlayerEntity arg0, BlockPos arg1, SoundEvent arg2, SoundCategory arg3, float arg4, float arg5)
m_5594_(C_1141_ p_9529_, C_4675_ p_9530_, C_123_ p_9531_, C_125_ p_9532_, float p_9533_, float arg5)
playSound(EntityHuman arg0, BlockPosition arg1, SoundEffect arg2, SoundCategory arg3, float arg4, float arg5)
public void
a(ht arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticle(ParticleOptions arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
method_8406(class_2394 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticle(ParticleEffect arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
m_7106_(C_4756_ p_9562_, double p_9563_, double p_9565_, double p_9567_, double arg4, double arg5, double arg6)
addParticle(ParticleParam arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
public void
a(bke arg0, int arg1, gg arg2, int arg3)
levelEvent(Player arg0, int arg1, BlockPos arg2, int arg3)
method_8444(class_1657 arg0, int arg1, class_2338 arg2, int arg3)
syncWorldEvent(PlayerEntity arg0, int arg1, BlockPos arg2, int arg3)
m_5898_(C_1141_ p_9524_, int p_9525_, C_4675_ p_9526_, int arg3)
public void
a(atg arg0, cow arg1, gg arg2)
gameEvent(Entity arg0, GameEvent arg1, BlockPos arg2)
method_32888(class_1297 arg0, class_5712 arg1, class_2338 arg2)
emitGameEvent(Entity arg0, GameEvent arg1, BlockPos arg2)
m_142346_(C_507_ p_143491_, C_141307_ p_143492_, C_4675_ arg2)
public DimensionType
p_()
dimensionType()
method_8597()
getDimension()
m_6042_()
getDimensionManager()
public boolean
a(gg arg0, Predicate<ckt> arg1)
isStateAtPosition(BlockPos arg0, Predicate<BlockState> arg1)
method_16358(class_2338 arg0, Predicate<class_2680> arg1)
testBlockState(BlockPos arg0, Predicate<BlockState> arg1)
m_7433_(C_4675_ p_9545_, Predicate<C_2064_> arg1)
public boolean
b(gg arg0, Predicate<des> arg1)
isFluidAtPosition(BlockPos arg0, Predicate<FluidState> arg1)
method_35237(class_2338 arg0, Predicate<class_3610> arg1)
testFluidState(BlockPos arg0, Predicate<FluidState> arg1)
m_142433_(C_4675_ p_143501_, Predicate<C_2691_> arg1)
public <T extends Entity> List<T>
a(cok<atg, T> arg0, dmv arg1, Predicate<? super T> arg2)
getEntities(EntityTypeTest<Entity, T> arg0, AABB arg1, Predicate<? super T> arg2)
method_18023(class_5575<class_1297, T> arg0, class_238 arg1, Predicate<? super T> arg2)
getEntitiesByType(TypeFilter<Entity, T> arg0, Box arg1, Predicate<? super T> arg2)
m_142425_(C_141287_<C_507_, T> p_143495_, C_3040_ p_143496_, Predicate<? super T> arg2)
public List<Entity>
a(atg arg0, dmv arg1, Predicate<? super atg> arg2)
getEntities(Entity arg0, AABB arg1, Predicate<? super Entity> arg2)
method_8333(class_1297 arg0, class_238 arg1, Predicate<? super class_1297> arg2)
getOtherEntities(Entity arg0, Box arg1, Predicate<? super Entity> arg2)
m_6249_(C_507_ p_9520_, C_3040_ p_9521_, Predicate<? super C_507_> arg2)
getEntities(Entity arg0, AxisAlignedBB arg1, Predicate<? super Entity> arg2)
public List<Player>
z()
players()
method_18456()
getPlayers()
m_6907_()
getPlayers()
public Stream<? extends StructureStart<?>>
a(gz arg0, cud<?> arg1)
startsForFeature(SectionPos arg0, StructureFeature<?> arg1)
method_30275(class_4076 arg0, class_3195<?> arg1)
getStructures(ChunkSectionPos arg0, StructureFeature<?> arg1)
m_7526_(C_4710_ p_9559_, C_2304_<?> arg1)
public int
s_()
getMinBuildHeight()
method_31607()
getBottomY()
m_141937_()
getMinBuildHeight()
public int
t_()
getHeight()
method_31605()
getHeight()
m_141928_()
getHeight()