net.minecraft.server.level

public class WorldGenRegion

implements WorldGenLevel

afv
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.slf4j.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 RandomSource
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 StructureManager
o
structureManager
field_26822
structureAccessor
f_215157_
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_
private static final ResourceLocation
t
WORLDGEN_REGION_RANDOM
field_38683
field_38683
f_215158_

Constructor summary

ModifierConstructor
public (ServerLevel world, List<ChunkAccess> chunks, ChunkStatus status, int placementRadius)

Method summary

Modifier and TypeMethod
public boolean
a(cfh arg0, int arg1)
isOldChunkAround(ChunkPos arg0, int arg1)
method_42109(class_1923 arg0, int arg1)
needsBlending(ChunkPos chunkPos, int checkRadius)
m_215159_(C_1560_ p_215161_, int arg1)
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_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)
public ChunkAccess
a(int arg0, int arg1, cwq 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_(gt arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
m_8055_(C_4675_ arg0)
public FluidState
b_(gt 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<baq> 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 Holder<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_203675_(int p_203788_, int p_203789_, int arg2)
public float
a(gy 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(gt arg0, boolean arg1, baq 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_(gt arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
m_7702_(C_4675_ arg0)
public boolean
e_(gt arg0)
ensureCanWrite(BlockPos arg0)
method_37368(class_2338 arg0)
isValidForSetBlock(BlockPos arg0)
m_180807_(C_4675_ arg0)
public boolean
a(gt arg0, cur 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(gt arg0)
markPosForPostprocessing(BlockPos arg0)
method_14338(class_2338 arg0)
markBlockForPostProcessing(BlockPos pos)
m_9591_(C_4675_ arg0)
public boolean
b(baq arg0)
addFreshEntity(Entity arg0)
method_8649(class_1297 arg0)
spawnEntity(Entity arg0)
m_7967_(C_507_ arg0)
public boolean
a(gt 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
D()
getLevel()
method_8410()
toServerWorld()
m_6018_()
public RegistryAccess
s()
registryAccess()
method_30349()
getRegistryManager()
m_5962_()
public LevelData
n_()
getLevelData()
method_8401()
getLevelProperties()
m_6106_()
public DifficultyInstance
d_(gt 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_7654_()
public ChunkSource
I()
getChunkSource()
method_8398()
getChunkManager()
m_7726_()
public long
B()
getSeed()
method_8412()
getSeed()
m_7328_()
public LevelTickAccess<Block>
K()
getBlockTicks()
method_8397()
getBlockTickScheduler()
m_183326_()
public LevelTickAccess<Fluid>
J()
getFluidTicks()
method_8405()
getFluidTickScheduler()
m_183324_()
public int
m_()
getSeaLevel()
method_8615()
getSeaLevel()
m_5736_()
public RandomSource
r_()
getRandom()
method_8409()
getRandom()
m_213780_()
public int
a(czu$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_2191_ p_9536_, int p_9537_, int arg2)
public void
a(btf arg0, gt arg1, ajd arg2, ajf 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(im 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(btf arg0, int arg1, gt 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(cyy arg0, dvt arg1, cyy$a arg2)
gameEvent(GameEvent arg0, Vec3 arg1, GameEvent$Context arg2)
method_32888(class_5712 arg0, class_243 arg1, class_5712$class_7397 arg2)
emitGameEvent(GameEvent arg0, Vec3d arg1, GameEvent$Emitter arg2)
m_214171_(C_141307_ p_215164_, C_3046_ p_215165_, C_213130_ arg2)
public DimensionType
q_()
dimensionType()
method_8597()
getDimension()
m_6042_()
public boolean
a(gt arg0, Predicate<cur> 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(gt arg0, Predicate<doy> 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(cym<baq, T> arg0, dvo 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(baq arg0, dvo arg1, Predicate<? super baq> 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>
w()
players()
method_18456()
getPlayers()
m_6907_()
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_()