net.minecraft.server.level

public class WorldGenRegion

implements WorldGenLevel

asp
net.minecraft.server.level.WorldGenRegion
net.minecraft.class_3233
net.minecraft.world.ChunkRegion
net.minecraft.server.level.RegionLimitedWorldAccess

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_14092
LOGGER
private final StaticCache2D<GenerationChunkHolder>
b
cache
field_14098
chunks
private final ChunkAccess
c
center
field_28557
centerPos
private final ServerLevel
d
level
field_14093
world
private final long
e
seed
field_14087
seed
private final LevelData
f
levelData
field_14097
levelProperties
private final RandomSource
h
random
field_14091
random
private final DimensionType
i
dimensionType
field_14096
dimension
private final WorldGenTickAccess<Block>
j
blockTicks
field_14099
blockTickScheduler
private final WorldGenTickAccess<Fluid>
k
fluidTicks
field_14094
fluidTickScheduler
private final BiomeManager
l
biomeManager
field_20668
biomeAccess
private final ChunkStep
m
generatingStep
field_51876
generationStep
private Supplier<String>
n
currentlyGenerating
field_33756
currentlyGeneratingStructureName
private final AtomicLong
o
subTickCount
field_35442
tickOrder
private static final ResourceLocation
p
WORLDGEN_REGION_RANDOM
field_38683
WORLDGEN_REGION_RANDOM_ID

Constructor summary

ModifierConstructor
public (ServerLevel world, StaticCache2D<GenerationChunkHolder> chunks, ChunkStep generationStep, ChunkAccess centerPos)

Method summary

Modifier and TypeMethod
public boolean
a(dgo arg0, int arg1)
isOldChunkAround(ChunkPos arg0, int arg1)
method_42109(class_1923 arg0, int arg1)
needsBlending(ChunkPos chunkPos, int checkRadius)
public ChunkPos
b()
getCenter()
method_33561()
getCenterPos()
public void
a(Supplier<String> arg0)
setCurrentlyGenerating(Supplier<String> arg0)
method_36972(Supplier<String> arg0)
setCurrentlyGeneratingStructureName(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)
public ChunkAccess
a(int arg0, int arg1, ear 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)
public boolean
b(int arg0, int arg1)
hasChunk(int arg0, int arg1)
method_8393(int arg0, int arg1)
isChunkLoaded(int arg0, int arg1)
public BlockState
a_(jh arg0)
getBlockState(BlockPos arg0)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
public FluidState
b_(jh arg0)
getFluidState(BlockPos arg0)
method_8316(class_2338 arg0)
getFluidState(BlockPos arg0)
public Player
a(double arg0, double arg1, double arg2, double arg3, Predicate<bvk> 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)
public int
E_()
getSkyDarken()
method_8594()
getAmbientDarkness()
public BiomeManager
I_()
getBiomeManager()
method_22385()
getBiomeAccess()
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)
public float
a(jm arg0, boolean arg1)
getShade(Direction arg0, boolean arg1)
method_24852(class_2350 arg0, boolean arg1)
getBrightness(Direction arg0, boolean arg1)
public LevelLightEngine
C_()
getLightEngine()
method_22336()
getLightingProvider()
public boolean
a(jh arg0, boolean arg1, bvk 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)
public BlockEntity
c_(jh arg0)
getBlockEntity(BlockPos arg0)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
public boolean
f_(jh arg0)
ensureCanWrite(BlockPos arg0)
method_37368(class_2338 arg0)
isValidForSetBlock(BlockPos arg0)
public boolean
a(jh arg0, dxv 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)
private void
f(jh arg0)
markPosForPostprocessing(BlockPos arg0)
method_14338(class_2338 arg0)
markBlockForPostProcessing(BlockPos pos)
public boolean
b(bvk arg0)
addFreshEntity(Entity arg0)
method_8649(class_1297 arg0)
spawnEntity(Entity arg0)
public boolean
a(jh arg0, boolean arg1)
removeBlock(BlockPos arg0, boolean arg1)
method_8650(class_2338 arg0, boolean arg1)
removeBlock(BlockPos arg0, boolean arg1)
public WorldBorder
F_()
getWorldBorder()
method_8621()
getWorldBorder()
public boolean
B_()
isClientSide()
method_8608()
isClient()
public ServerLevel
a()
getLevel()
method_8410()
toServerWorld()
public RegistryAccess
K_()
registryAccess()
method_30349()
getRegistryManager()
public FeatureFlagSet
J()
enabledFeatures()
method_45162()
getEnabledFeatures()
public LevelData
D_()
getLevelData()
method_8401()
getLevelProperties()
public DifficultyInstance
d_(jh arg0)
getCurrentDifficultyAt(BlockPos arg0)
method_8404(class_2338 arg0)
getLocalDifficulty(BlockPos arg0)
public MinecraftServer
p()
getServer()
method_8503()
getServer()
public ChunkSource
R()
getChunkSource()
method_8398()
getChunkManager()
public long
D()
getSeed()
method_8412()
getSeed()
public LevelTickAccess<Block>
T()
getBlockTicks()
method_8397()
getBlockTickScheduler()
public LevelTickAccess<Fluid>
S()
getFluidTicks()
method_8405()
getFluidTickScheduler()
public int
O()
getSeaLevel()
method_8615()
getSeaLevel()
public RandomSource
H_()
getRandom()
method_8409()
getRandom()
public int
a(edq$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)
public void
a(cpx arg0, jh arg1, axe arg2, axg 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)
public void
a(lq 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)
public void
a(cpx arg0, int arg1, jh 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)
public void
a(jq<ecr> arg0, fby arg1, ecr$a arg2)
gameEvent(Holder<GameEvent> arg0, Vec3 arg1, GameEvent$Context arg2)
method_32888(class_6880<class_5712> arg0, class_243 arg1, class_5712$class_7397 arg2)
emitGameEvent(RegistryEntry<GameEvent> arg0, Vec3d arg1, GameEvent$Emitter arg2)
public DimensionType
G_()
dimensionType()
method_8597()
getDimension()
public boolean
a(jh arg0, Predicate<dxv> arg1)
isStateAtPosition(BlockPos arg0, Predicate<BlockState> arg1)
method_16358(class_2338 arg0, Predicate<class_2680> arg1)
testBlockState(BlockPos arg0, Predicate<BlockState> arg1)
public boolean
b(jh arg0, Predicate<etx> arg1)
isFluidAtPosition(BlockPos arg0, Predicate<FluidState> arg1)
method_35237(class_2338 arg0, Predicate<class_3610> arg1)
testFluidState(BlockPos arg0, Predicate<FluidState> arg1)
public <T extends Entity> List<T>
a(ecf<bvk, T> arg0, fbt 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)
public List<Entity>
a(bvk arg0, fbt arg1, Predicate<? super bvk> 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)
public List<Player>
y()
players()
method_18456()
getPlayers()
public int
L_()
getMinY()
method_31607()
getBottomY()
public int
M_()
getHeight()
method_31605()
getHeight()
public long
J_()
nextSubTickCount()
method_39224()
getTickOrder()