net.minecraft.world

public abstract class World

implements WorldAccess, AutoCloseable

net.minecraft.world.level.Level
net.minecraft.class_1937
net.minecraft.world.World

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RegistryKey<World>>
RESOURCE_KEY_CODEC
field_25178
CODEC
public static final RegistryKey<World>
OVERWORLD
field_25179
OVERWORLD
public static final RegistryKey<World>
NETHER
field_25180
NETHER
public static final RegistryKey<World>
END
field_25181
END
public static final int
MAX_LEVEL_SIZE
field_30965
HORIZONTAL_LIMIT
public static final int
LONG_PARTICLE_CLIP_RANGE
field_30966
MAX_UPDATE_DEPTH
public static final int
SHORT_PARTICLE_CLIP_RANGE
field_30967
field_30967
public static final int
MAX_BRIGHTNESS
field_30968
field_30968
public static final int
MAX_ENTITY_SPAWN_Y
field_30970
MAX_Y
public static final int
MIN_ENTITY_SPAWN_Y
field_30971
MIN_Y
private static final Pool<BlockParticleEffect>
DEFAULT_EXPLOSION_BLOCK_PARTICLES
field_61989
EXPLOSION_BLOCK_PARTICLES
protected final List<BlockEntityTickInvoker>
blockEntityTickers
field_27082
blockEntityTickers
protected final ChainRestrictedNeighborUpdater
neighborUpdater
field_38226
neighborUpdater
private final List<BlockEntityTickInvoker>
pendingBlockEntityTickers
field_27081
pendingBlockEntityTickers
private boolean
tickingBlockEntities
field_9249
iteratingTickingBlockEntities
private final Thread
thread
field_17086
thread
private final boolean
isDebug
field_24496
debugWorld
private int
skyDarken
field_9226
ambientDarkness
protected int
randValue
field_9256
lcgBlockSeed
protected final int
addend
field_9238
lcgBlockSeedIncrement
protected float
oRainLevel
field_9253
lastRainGradient
protected float
rainLevel
field_9235
rainGradient
protected float
oThunderLevel
field_9251
lastThunderGradient
protected float
thunderLevel
field_9234
thunderGradient
protected final Random
random
field_9229
random
private final Random
soundSeedGenerator
field_38861
threadSafeRandom
private final RegistryEntry<DimensionType>
dimensionTypeRegistration
field_36402
dimensionEntry
protected final MutableWorldProperties
levelData
field_9232
properties
private final boolean
isClientSide
field_9236
isClient
private final BiomeAccess
biomeManager
field_20639
biomeAccess
private final RegistryKey<World>
dimension
field_25176
registryKey
private final DynamicRegistryManager
registryAccess
field_42475
registryManager
private final DamageSources
damageSources
field_42476
damageSources
private final PalettesFactory
palettedContainerFactory
field_62535
palettesFactory
private long
subTickCount
field_35455
tickOrder

Constructor summary

ModifierConstructor
protected (MutableWorldProperties properties, RegistryKey<World> registryRef, DynamicRegistryManager registryManager, RegistryEntry<DimensionType> dimensionEntry, boolean isClient, boolean debugWorld, long seed, int maxChainedNeighborUpdates)

Method summary

Modifier and TypeMethod
public boolean
isClientSide()
method_8608()
isClient()
public MinecraftServer
getServer()
method_8503()
getServer()
public boolean
isInWorldBounds(BlockPos pos)
method_24794(class_2338 arg0)
isInBuildLimit(BlockPos pos)
public boolean
isInValidBounds(BlockPos pos)
method_76805(class_2338 arg0)
isInLoadLimit(BlockPos pos)
public static boolean
isInSpawnableBounds(BlockPos pos)
method_25953(class_2338 arg0)
isValid(BlockPos pos)
private static boolean
isInWorldBoundsHorizontal(BlockPos pos)
method_8558(class_2338 arg0)
isValidHorizontally(BlockPos pos)
private static boolean
isInValidBoundsHorizontal(BlockPos pos)
method_76804(class_2338 arg0)
isChunkLoadable(BlockPos pos)
private static boolean
isOutsideSpawnableHeight(int y)
method_25952(int arg0)
isInvalidVertically(int y)
public WorldChunk
getChunkAt(BlockPos pos)
method_8500(class_2338 arg0)
getWorldChunk(BlockPos pos)
public WorldChunk
getChunk(int chunkX, int chunkZ)
method_8392(int arg0, int arg1)
getChunk(int arg0, int arg1)
public Chunk
getChunk(int chunkX, int chunkZ, ChunkStatus status, boolean loadOrGenerate)
method_8402(int arg0, int arg1, class_2806 arg2, boolean arg3)
getChunk(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
public boolean
setBlock(BlockPos pos, BlockState blockState, int updateFlags)
method_8652(class_2338 arg0, class_2680 arg1, int arg2)
setBlockState(BlockPos arg0, BlockState arg1, int arg2)
public boolean
setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit)
method_30092(class_2338 arg0, class_2680 arg1, int arg2, int arg3)
setBlockState(BlockPos arg0, BlockState arg1, int arg2, int arg3)
public void
updatePOIOnBlockStateChange(BlockPos pos, BlockState oldState, BlockState newState)
method_66016(class_2338 arg0, class_2680 arg1, class_2680 arg2)
onBlockStateChanged(BlockPos pos, BlockState oldState, BlockState newState)
public boolean
removeBlock(BlockPos pos, boolean movedByPiston)
method_8650(class_2338 arg0, boolean arg1)
removeBlock(BlockPos arg0, boolean arg1)
public boolean
destroyBlock(BlockPos pos, boolean dropResources, Entity breaker, int updateLimit)
method_30093(class_2338 arg0, boolean arg1, class_1297 arg2, int arg3)
breakBlock(BlockPos arg0, boolean arg1, Entity arg2, int arg3)
public void
addDestroyBlockEffect(BlockPos pos, BlockState blockState)
method_31595(class_2338 arg0, class_2680 arg1)
addBlockBreakParticles(BlockPos pos, BlockState state)
public boolean
setBlockAndUpdate(BlockPos pos, BlockState blockState)
method_8501(class_2338 arg0, class_2680 arg1)
setBlockState(BlockPos pos, BlockState state)
public abstract void
sendBlockUpdated(BlockPos pos, BlockState old, BlockState current, int updateFlags)
method_8413(class_2338 arg0, class_2680 arg1, class_2680 arg2, int arg3)
updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags)
public void
setBlocksDirty(BlockPos pos, BlockState oldState, BlockState newState)
method_16109(class_2338 arg0, class_2680 arg1, class_2680 arg2)
scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated)
public void
updateNeighborsAt(BlockPos pos, Block sourceBlock, Orientation orientation)
method_8452(class_2338 arg0, class_2248 arg1, class_9904 arg2)
updateNeighborsAlways(BlockPos pos, Block sourceBlock, WireOrientation orientation)
public void
updateNeighborsAtExceptFromFacing(BlockPos pos, Block blockObject, Direction skipDirection, Orientation orientation)
method_8508(class_2338 arg0, class_2248 arg1, class_2350 arg2, class_9904 arg3)
updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, WireOrientation orientation)
public void
neighborChanged(BlockPos pos, Block changedBlock, Orientation orientation)
method_8492(class_2338 arg0, class_2248 arg1, class_9904 arg2)
updateNeighbor(BlockPos pos, Block sourceBlock, WireOrientation orientation)
public void
neighborChanged(BlockState state, BlockPos pos, Block changedBlock, Orientation orientation, boolean movedByPiston)
method_41410(class_2680 arg0, class_2338 arg1, class_2248 arg2, class_9904 arg3, boolean arg4)
updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, WireOrientation orientation, boolean notify)
public void
neighborShapeChanged(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit)
method_42308(class_2350 arg0, class_2338 arg1, class_2338 arg2, class_2680 arg3, int arg4, int arg5)
replaceWithStateForNeighborUpdate(Direction arg0, BlockPos arg1, BlockPos arg2, BlockState arg3, int arg4, int arg5)
public int
getHeight(Heightmap$Types type, int x, int z)
method_8624(class_2902$class_2903 arg0, int arg1, int arg2)
getTopY(Heightmap$Type arg0, int arg1, int arg2)
public LightingProvider
getLightEngine()
method_22336()
getLightingProvider()
public BlockState
getBlockState(BlockPos pos)
method_8320(class_2338 arg0)
getBlockState(BlockPos arg0)
public FluidState
getFluidState(BlockPos pos)
method_8316(class_2338 arg0)
getFluidState(BlockPos arg0)
public boolean
isBrightOutside()
method_8530()
isDay()
public boolean
isDarkOutside()
method_23886()
isNight()
public void
playSound(Entity except, BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch)
method_8396(class_1297 arg0, class_2338 arg1, class_3414 arg2, class_3419 arg3, float arg4, float arg5)
playSound(Entity arg0, BlockPos arg1, SoundEvent arg2, SoundCategory arg3, float arg4, float arg5)
public abstract void
playSeededSound(Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed)
method_8465(class_1297 arg0, double arg1, double arg2, double arg3, class_6880<class_3414> arg4, class_3419 arg5, float arg6, float arg7, long arg8)
playSound(Entity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed)
public void
playSeededSound(Entity except, double x, double y, double z, SoundEvent sound, SoundSource source, float volume, float pitch, long seed)
method_47967(class_1297 arg0, double arg1, double arg2, double arg3, class_3414 arg4, class_3419 arg5, float arg6, float arg7, long arg8)
playSound(Entity source, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed)
public abstract void
playSeededSound(Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed)
method_8449(class_1297 arg0, class_1297 arg1, class_6880<class_3414> arg2, class_3419 arg3, float arg4, float arg5, long arg6)
playSoundFromEntity(Entity source, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed)
public void
playSound(Entity except, double x, double y, double z, SoundEvent sound, SoundSource source)
method_54762(class_1297 arg0, double arg1, double arg2, double arg3, class_3414 arg4, class_3419 arg5)
playSound(Entity source, double x, double y, double z, SoundEvent sound, SoundCategory category)
public void
playSound(Entity except, double x, double y, double z, SoundEvent sound, SoundSource source, float volume, float pitch)
method_43128(class_1297 arg0, double arg1, double arg2, double arg3, class_3414 arg4, class_3419 arg5, float arg6, float arg7)
playSound(Entity source, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)
public void
playSound(Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch)
method_60511(class_1297 arg0, double arg1, double arg2, double arg3, class_6880<class_3414> arg4, class_3419 arg5, float arg6, float arg7)
playSound(Entity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch)
public void
playSound(Entity except, Entity sourceEntity, SoundEvent sound, SoundSource source, float volume, float pitch)
method_43129(class_1297 arg0, class_1297 arg1, class_3414 arg2, class_3419 arg3, float arg4, float arg5)
playSoundFromEntity(Entity source, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)
public void
playLocalSound(BlockPos pos, SoundEvent sound, SoundSource source, float volume, float pitch, boolean distanceDelay)
method_45446(class_2338 arg0, class_3414 arg1, class_3419 arg2, float arg3, float arg4, boolean arg5)
playSoundAtBlockCenterClient(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
public void
playLocalSound(Entity sourceEntity, SoundEvent sound, SoundSource source, float volume, float pitch)
method_55116(class_1297 arg0, class_3414 arg1, class_3419 arg2, float arg3, float arg4)
playSoundFromEntityClient(Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)
public void
playLocalSound(double x, double y, double z, SoundEvent sound, SoundSource source, float volume, float pitch, boolean distanceDelay)
method_8486(double arg0, double arg1, double arg2, class_3414 arg3, class_3419 arg4, float arg5, float arg6, boolean arg7)
playSoundClient(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
public void
playPlayerSound(SoundEvent sound, SoundSource source, float volume, float pitch)
method_67392(class_3414 arg0, class_3419 arg1, float arg2, float arg3)
playSoundClient(SoundEvent sound, SoundCategory category, float volume, float pitch)
public void
addParticle(ParticleOptions particle, double x, double y, double z, double xd, double yd, double zd)
method_8406(class_2394 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addParticleClient(ParticleEffect arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
public void
addParticle(ParticleOptions particle, boolean overrideLimiter, boolean alwaysShow, double x, double y, double z, double xd, double yd, double zd)
method_8466(class_2394 arg0, boolean arg1, boolean arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8)
addParticleClient(ParticleEffect parameters, boolean force, boolean canSpawnOnMinimal, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
public void
addAlwaysVisibleParticle(ParticleOptions particle, double x, double y, double z, double xd, double yd, double zd)
method_8494(class_2394 arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6)
addImportantParticleClient(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
public void
addAlwaysVisibleParticle(ParticleOptions particle, boolean overrideLimiter, double x, double y, double z, double xd, double yd, double zd)
method_17452(class_2394 arg0, boolean arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7)
addImportantParticleClient(ParticleEffect parameters, boolean force, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
public void
addBlockEntityTicker(TickingBlockEntity ticker)
method_31594(class_5562 arg0)
addBlockEntityTicker(BlockEntityTickInvoker ticker)
public void
tickBlockEntities()
method_18471()
tickBlockEntities()
public <T extends Entity> void
guardEntityTick(Consumer<T> tick, T entity)
method_18472(Consumer<T> arg0, T arg1)
tickEntity(Consumer<T> tickConsumer, T entity)
public boolean
shouldTickDeath(Entity entity)
method_38989(class_1297 arg0)
shouldUpdatePostDeath(Entity entity)
public boolean
shouldTickBlocksAt(long chunkPos)
method_39425(long arg0)
shouldTickBlocksInChunk(long chunkPos)
public boolean
shouldTickBlocksAt(BlockPos pos)
method_41411(class_2338 arg0)
shouldTickBlockPos(BlockPos pos)
public void
explode(Entity source, double x, double y, double z, float r, Level$ExplosionInteraction blockInteraction)
method_8437(class_1297 arg0, double arg1, double arg2, double arg3, float arg4, class_1937$class_7867 arg5)
createExplosion(Entity entity, double x, double y, double z, float power, World$ExplosionSourceType explosionSourceType)
public void
explode(Entity source, double x, double y, double z, float r, boolean fire, Level$ExplosionInteraction blockInteraction)
method_8537(class_1297 arg0, double arg1, double arg2, double arg3, float arg4, boolean arg5, class_1937$class_7867 arg6)
createExplosion(Entity entity, double x, double y, double z, float power, boolean createFire, World$ExplosionSourceType explosionSourceType)
public void
explode(Entity source, DamageSource damageSource, ExplosionDamageCalculator damageCalculator, Vec3 boomPos, float r, boolean fire, Level$ExplosionInteraction blockInteraction)
method_46407(class_1297 arg0, class_1282 arg1, class_5362 arg2, class_243 arg3, float arg4, boolean arg5, class_1937$class_7867 arg6)
createExplosion(Entity entity, DamageSource damageSource, ExplosionBehavior behavior, Vec3d pos, float power, boolean createFire, World$ExplosionSourceType explosionSourceType)
public void
explode(Entity source, DamageSource damageSource, ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level$ExplosionInteraction interactionType)
method_55117(class_1297 arg0, class_1282 arg1, class_5362 arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, class_1937$class_7867 arg8)
createExplosion(Entity entity, DamageSource damageSource, ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World$ExplosionSourceType explosionSourceType)
public abstract void
explode(Entity source, DamageSource damageSource, ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level$ExplosionInteraction interactionType, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, WeightedList<ExplosionParticleInfo> blockParticles, Holder<SoundEvent> explosionSound)
method_8454(class_1297 arg0, class_1282 arg1, class_5362 arg2, double arg3, double arg4, double arg5, float arg6, boolean arg7, class_1937$class_7867 arg8, class_2394 arg9, class_2394 arg10, class_6012<class_11749> arg11, class_6880<class_3414> arg12)
createExplosion(Entity entity, DamageSource damageSource, ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World$ExplosionSourceType explosionSourceType, ParticleEffect smallParticle, ParticleEffect largeParticle, Pool<BlockParticleEffect> blockParticles, RegistryEntry<SoundEvent> soundEvent)
public abstract String
gatherChunkSourceStats()
method_31419()
asString()
public BlockEntity
getBlockEntity(BlockPos pos)
method_8321(class_2338 arg0)
getBlockEntity(BlockPos arg0)
public void
setBlockEntity(BlockEntity blockEntity)
method_8438(class_2586 arg0)
addBlockEntity(BlockEntity blockEntity)
public void
removeBlockEntity(BlockPos pos)
method_8544(class_2338 arg0)
removeBlockEntity(BlockPos pos)
public boolean
isLoaded(BlockPos pos)
method_8477(class_2338 arg0)
isPosLoaded(BlockPos pos)
public boolean
loadedAndEntityCanStandOnFace(BlockPos pos, Entity entity, Direction faceDirection)
method_24368(class_2338 arg0, class_1297 arg1, class_2350 arg2)
isDirectionSolid(BlockPos pos, Entity entity, Direction direction)
public boolean
loadedAndEntityCanStandOn(BlockPos pos, Entity entity)
method_8515(class_2338 arg0, class_1297 arg1)
isTopSolid(BlockPos pos, Entity entity)
public void
updateSkyBrightness()
method_8533()
calculateAmbientDarkness()
public void
setSpawnSettings(boolean spawnEnemies)
method_8424(boolean arg0)
setMobSpawnOptions(boolean spawnMonsters)
public abstract void
setRespawnData(LevelData$RespawnData respawnData)
method_27873(class_5217$class_12064 arg0)
setSpawnPoint(WorldProperties$SpawnPoint spawnPoint)
public abstract WorldProperties$SpawnPoint
getRespawnData()
method_74854()
getSpawnPoint()
public WorldProperties$SpawnPoint
getWorldBorderAdjustedRespawnData(LevelData$RespawnData respawnData)
method_74891(class_5217$class_12064 arg0)
ensureWithinBorder(WorldProperties$SpawnPoint spawnPoint)
public void
close()
public BlockView
getChunkForCollisions(int chunkX, int chunkZ)
method_22338(int arg0, int arg1)
getChunkAsView(int arg0, int arg1)
public List<Entity>
getEntities(Entity except, AABB bb, Predicate<? super Entity> selector)
method_8333(class_1297 arg0, class_238 arg1, Predicate<? super class_1297> arg2)
getOtherEntities(Entity arg0, Box arg1, Predicate<? super Entity> arg2)
public <T extends Entity> List<T>
getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector)
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 <T extends Entity> void
getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector, List<? super T> output)
method_47574(class_5575<class_1297, T> arg0, class_238 arg1, Predicate<? super T> arg2, List<? super T> arg3)
collectEntitiesByType(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate, List<? super T> result)
public <T extends Entity> void
getEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector, List<? super T> output, int maxResults)
method_47575(class_5575<class_1297, T> arg0, class_238 arg1, Predicate<? super T> arg2, List<? super T> arg3, int arg4)
collectEntitiesByType(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate, List<? super T> result, int limit)
public <T extends Entity> boolean
hasEntities(EntityTypeTest<Entity, T> type, AABB bb, Predicate<? super T> selector)
method_74143(class_5575<class_1297, T> arg0, class_238 arg1, Predicate<? super T> arg2)
hasEntities(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate)
public List<Entity>
getPushableEntities(Entity pusher, AABB boundingBox)
method_66349(class_1297 arg0, class_238 arg1)
getCrammedEntities(Entity entity, Box box)
public abstract Entity
getEntity(int id)
method_8469(int arg0)
getEntityById(int id)
public Entity
getEntity(UUID uuid)
method_66347(UUID arg0)
getEntity(UUID uuid)
public Entity
getEntityInAnyDimension(UUID uuid)
method_73284(UUID arg0)
getEntityAnyDimension(UUID uuid)
public PlayerEntity
getPlayerInAnyDimension(UUID uuid)
method_73285(UUID arg0)
getPlayerAnyDimension(UUID uuid)
public abstract Collection<EnderDragonPart>
dragonParts()
method_65097()
getEnderDragonParts()
public void
blockEntityChanged(BlockPos pos)
method_8524(class_2338 arg0)
markDirty(BlockPos pos)
public void
onBlockEntityAdded(BlockEntity blockEntity)
method_71970(class_2586 arg0)
loadBlockEntity(BlockEntity blockEntity)
public long
getOverworldClockTime()
method_1_840()
getOverworldTime()
public long
getDefaultClockTime()
method_1_1159()
getDimensionTime()
private long
getClockTimeTicks(Optional<? extends Holder<WorldClock>> clock)
method_1_1158(Optional<? extends class_6880<class_1_94>> arg0)
getTime(Optional<? extends RegistryEntry<WorldClockKey>> clock)
public boolean
mayInteract(Entity entity, BlockPos pos)
method_8505(class_1297 arg0, class_2338 arg1)
canEntityModifyAt(Entity entity, BlockPos pos)
public void
broadcastEntityEvent(Entity entity, byte event)
method_8421(class_1297 arg0, byte arg1)
sendEntityStatus(Entity entity, byte status)
public void
broadcastDamageEvent(Entity entity, DamageSource source)
method_48760(class_1297 arg0, class_1282 arg1)
sendEntityDamage(Entity entity, DamageSource damageSource)
public void
blockEvent(BlockPos pos, Block block, int b0, int b1)
method_8427(class_2338 arg0, class_2248 arg1, int arg2, int arg3)
addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
public WorldProperties
getLevelData()
method_8401()
getLevelProperties()
public abstract TickManager
tickRateManager()
method_54719()
getTickManager()
public float
getThunderLevel(float a)
method_8478(float arg0)
getThunderGradient(float tickProgress)
public void
setThunderLevel(float thunderLevel)
method_8496(float arg0)
setThunderGradient(float thunderGradient)
public float
getRainLevel(float a)
method_8430(float arg0)
getRainGradient(float tickProgress)
public void
setRainLevel(float rainLevel)
method_8519(float arg0)
setRainGradient(float rainGradient)
public boolean
canHaveWeather()
method_63020()
canHaveWeather()
public boolean
isThundering()
method_8546()
isThundering()
public boolean
isRaining()
method_8419()
isRaining()
public boolean
isRainingAt(BlockPos pos)
method_8520(class_2338 arg0)
hasRain(BlockPos pos)
public Biome$Precipitation
precipitationAt(BlockPos pos)
method_70745(class_2338 arg0)
getPrecipitation(BlockPos pos)
public abstract MapState
getMapData(MapId id)
method_17891(class_9209 arg0)
getMapState(MapIdComponent id)
public void
globalLevelEvent(int type, BlockPos pos, int data)
method_8474(int arg0, class_2338 arg1, int arg2)
syncGlobalEvent(int eventId, BlockPos pos, int data)
public CrashReportSection
fillReportDetails(CrashReport report)
method_8538(class_128 arg0)
addDetailsToCrashReport(CrashReport report)
public abstract void
destroyBlockProgress(int id, BlockPos blockPos, int progress)
method_8517(int arg0, class_2338 arg1, int arg2)
setBlockBreakingInfo(int entityId, BlockPos pos, int progress)
public void
createFireworks(double x, double y, double z, double xd, double yd, double zd, List<FireworkExplosion> explosions)
method_8547(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, List<class_9283> arg6)
addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, List<FireworkExplosionComponent> explosions)
public abstract Scoreboard
getScoreboard()
method_8428()
getScoreboard()
public void
updateNeighbourForOutputSignal(BlockPos pos, Block changedBlock)
method_8455(class_2338 arg0, class_2248 arg1)
updateComparators(BlockPos pos, Block block)
public int
getSkyDarken()
method_8594()
getAmbientDarkness()
public void
setSkyFlashTime(int skyFlashTime)
method_8509(int arg0)
setLightningTicksLeft(int lightningTicksLeft)
public void
sendPacketToServer(Packet<?> packet)
method_8522(class_2596<?> arg0)
sendPacket(Packet<?> packet)
public DimensionType
dimensionType()
method_8597()
getDimension()
public RegistryEntry<DimensionType>
dimensionTypeRegistration()
method_40134()
getDimensionEntry()
public RegistryKey<World>
dimension()
method_27983()
getRegistryKey()
public Random
getRandom()
method_8409()
getRandom()
public boolean
isStateAtPosition(BlockPos pos, Predicate<BlockState> predicate)
method_16358(class_2338 arg0, Predicate<class_2680> arg1)
testBlockState(BlockPos arg0, Predicate<BlockState> arg1)
public boolean
isFluidAtPosition(BlockPos pos, Predicate<FluidState> predicate)
method_35237(class_2338 arg0, Predicate<class_3610> arg1)
testFluidState(BlockPos arg0, Predicate<FluidState> arg1)
public abstract RecipeManager
recipeAccess()
method_8433()
getRecipeManager()
public BlockPos
getBlockRandomPos(int xo, int yo, int zo, int yMask)
method_8536(int arg0, int arg1, int arg2, int arg3)
getRandomPosInChunk(int x, int y, int z, int yMask)
public boolean
noSave()
method_8458()
isSavingDisabled()
public BiomeAccess
getBiomeManager()
method_22385()
getBiomeAccess()
public final boolean
isDebug()
method_27982()
isDebugWorld()
protected abstract EntityLookup<Entity>
getEntities()
method_31592()
getEntityLookup()
public long
nextSubTickCount()
method_39224()
getTickOrder()
public DynamicRegistryManager
registryAccess()
method_30349()
getRegistryManager()
public DamageSources
damageSources()
method_48963()
getDamageSources()
public abstract ClockQueryable
clockManager()
method_1_839()
getClocks()
public abstract WorldEnvironmentAttributeAccess
environmentAttributes()
method_75598()
getEnvironmentAttributes()
public abstract BrewingRecipeRegistry
potionBrewing()
method_59547()
getBrewingRecipeRegistry()
public abstract FuelRegistry
fuelValues()
method_61269()
getFuelRegistry()
public int
getClientLeafTintColor(BlockPos pos)
method_67233(class_2338 arg0)
getBlockColor(BlockPos pos)
public PalettesFactory
palettedContainerFactory()
method_74142()
getPalettesFactory()
public EnvironmentAttributeAccess
environmentAttributes()
method_75598()
getEnvironmentAttributes()
public Chunk
getChunk(int chunkX, int chunkZ)
method_8392(int arg0, int arg1)
getChunk(int arg0, int arg1)
private String
lambda$fillReportDetails$2()
method_1_841()
method_1_841()
private String
lambda$fillReportDetails$1()
method_20783()
method_20783()
private String
lambda$fillReportDetails$0()
method_8484()
method_8484()
private Long
lambda$getClockTimeTicks$0(Holder arg0)
method_1_1160(class_6880 arg0)
method_1_1160(RegistryEntry clock)
private static LazyIterationConsumer$NextIteration
lambda$hasEntities$0(Predicate arg0, org.apache.commons.lang3.mutable.MutableBoolean arg1, EntityTypeTest arg2, Entity arg3)
method_74141(Predicate arg0, org.apache.commons.lang3.mutable.MutableBoolean arg1, class_5575 arg2, class_1297 arg3)
method_74141(Predicate arg0, org.apache.commons.lang3.mutable.MutableBoolean arg1, TypeFilter arg2, Entity entity)
private static LazyIterationConsumer$NextIteration
lambda$getEntities$1(Predicate arg0, List arg1, int arg2, EntityTypeTest arg3, Entity arg4)
method_47576(Predicate arg0, List arg1, int arg2, class_5575 arg3, class_1297 arg4)
method_47576(Predicate arg0, List arg1, int arg2, TypeFilter arg3, Entity entity)
private static void
lambda$getEntities$0(Entity arg0, Predicate arg1, List arg2, Entity arg3)
method_31593(class_1297 arg0, Predicate arg1, List arg2, class_1297 arg3)
method_31593(Entity arg0, Predicate arg1, List arg2, Entity entity)