net.minecraft.server.level

public class WorldGenRegion

implements WorldGenLevel

adp
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 ChunkAccess
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 WorldGenTickAccess<Block>
j
blockTicks
field_14099
blockTickScheduler
f_9484_
private final WorldGenTickAccess<Fluid>
k
fluidTicks
field_14094
fluidTickScheduler
f_184181_
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
status
f_143480_
private final int
q
writeRadiusCutoff
field_33755
placementRadius
f_143481_
private Supplier<String>
r
currentlyGenerating
field_33756
currentlyGeneratingStructureName
f_143482_
private final AtomicLong
s
subTickCount
field_35442
tickOrder
f_184182_

Constructor summary

ModifierConstructor
public (ServerLevel world, List<ChunkAccess> chunks, ChunkStatus status, 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)
setCurrentlyGeneratingStructureName(Supplier<String> arg0)
m_183406_(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)
public ChunkAccess
a(int arg0, int arg1, cqb 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)
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)
public BlockState
a_(gh arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
m_8055_(C_4675_ arg0)
public FluidState
b_(gh arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos arg0)
m_6425_(C_4675_ arg0)
public Player
a(double arg0, double arg1, double arg2, double arg3, Predicate<awt> 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
o_()
getSkyDarken()
method_8594()
getAmbientDarkness()
m_7445_()
public BiomeManager
s_()
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(gm 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
l_()
getLightEngine()
method_22336()
getLightingProvider()
m_5518_()
public boolean
a(gh arg0, boolean arg1, awt 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_(gh arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
m_7702_(C_4675_ arg0)
public boolean
e_(gh arg0)
ensureCanWrite(BlockPos arg0)
method_37368(class_2338 arg0)
isValidForSetBlock(BlockPos arg0)
m_180807_(C_4675_ arg0)
public boolean
a(gh arg0, coc 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
j(gh arg0)
markPosForPostprocessing(BlockPos arg0)
method_14338(class_2338 arg0)
markBlockForPostProcessing(BlockPos pos)
m_9591_(C_4675_ arg0)
public boolean
b(awt arg0)
addFreshEntity(Entity arg0)
method_8649(class_1297 arg0)
spawnEntity(Entity arg0)
m_7967_(C_507_ arg0)
public boolean
a(gh 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
p_()
getWorldBorder()
method_8621()
getWorldBorder()
m_6857_()
public boolean
k_()
isClientSide()
method_8608()
isClient()
m_5776_()
public ServerLevel
G()
getLevel()
method_8410()
toServerWorld()
m_6018_()
public RegistryAccess
t()
registryAccess()
method_30349()
getRegistryManager()
m_5962_()
public LevelData
n_()
getLevelData()
method_8401()
getLevelProperties()
m_6106_()
public DifficultyInstance
d_(gh arg0)
getCurrentDifficultyAt(BlockPos arg0)
method_8404(class_2338 arg0)
getLocalDifficulty(BlockPos arg0)
m_6436_(C_4675_ arg0)
public MinecraftServer
n()
getServer()
method_8503()
getServer()
m_142572_()
public ChunkSource
L()
getChunkSource()
method_8398()
getChunkManager()
m_7726_()
public long
E()
getSeed()
method_8412()
getSeed()
m_7328_()
public LevelTickAccess<Block>
N()
getBlockTicks()
method_8397()
getBlockTickScheduler()
m_183326_()
public LevelTickAccess<Fluid>
M()
getFluidTicks()
method_8405()
getFluidTickScheduler()
m_183324_()
public int
m_()
getSeaLevel()
method_8615()
getSeaLevel()
m_5736_()
public Random
r_()
getRandom()
method_8409()
getRandom()
m_5822_()
public int
a(ctc$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(bnr arg0, gh arg1, agu arg2, agw 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)
public void
a(hv 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)
public void
a(bnr arg0, int arg1, gh 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(awt arg0, csg arg1, gh 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
q_()
dimensionType()
method_8597()
getDimension()
m_6042_()
public boolean
a(gh arg0, Predicate<coc> 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(gh arg0, Predicate<dhv> 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(crv<awt, T> arg0, doh 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(awt arg0, doh arg1, Predicate<? super awt> 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)
public List<Player>
z()
players()
method_18456()
getPlayers()
m_6907_()
public List<? extends StructureStart<?>>
a(ha arg0, cyi<?> arg1)
startsForFeature(SectionPos arg0, StructureFeature<?> arg1)
method_30275(class_4076 arg0, class_3195<?> arg1)
getStructures(ChunkSectionPos arg0, StructureFeature<?> arg1)
m_183409_(C_4710_ p_184187_, C_2304_<?> arg1)
public int
u_()
getMinBuildHeight()
method_31607()
getBottomY()
m_141937_()
public int
v_()
getHeight()
method_31605()
getHeight()
m_141928_()
public long
t_()
nextSubTickCount()
method_39224()
getTickOrder()
m_183596_()