Package net.minecraft.server.level
Class ServerLevel
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<Level>
net.minecraft.world.level.Level
net.minecraft.server.level.ServerLevel
- All Implemented Interfaces:
- AutoCloseable,- BiomeManager.NoiseBiomeSource,- BlockAndTintGetter,- BlockGetter,- CollisionGetter,- CommonLevelAccessor,- EntityGetter,- LevelAccessor,- LevelHeightAccessor,- LevelReader,- LevelSimulatedReader,- LevelSimulatedRW,- LevelTimeAccess,- LevelWriter,- ServerLevelAccessor,- SignalGetter,- WorldGenLevel,- IForgeBlockAndTintGetter,- ICapabilityProvider,- ICapabilityProviderImpl<Level>,- IForgeBlockGetter,- IForgeLevel
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.world.level.LevelLevel.ExplosionInteractionNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProviderCapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectLinkedOpenHashSet<BlockEventData>private final List<BlockEventData>private final LevelTicks<Block>private LevelCapabilityDataprivate final ServerChunkCacheprivate final List<CustomSpawner>private EndDragonFight(package private) final it.unimi.dsi.fastutil.ints.Int2ObjectMap<PartEntity<?>>private static final intprivate intstatic final BlockPosprivate final PersistentEntitySectionManager<Entity>(package private) final EntityTickListprivate final LevelTicks<Fluid>private final GameEventDispatcherprivate boolean(package private) booleanprivate static final org.slf4j.Loggerprivate static final intboolean(package private) final List<ServerPlayer>private final PortalForcerprotected final Raidsstatic final IntProviderstatic final IntProviderprivate final RandomSequencesprivate final MinecraftServerprivate final ServerLevelDataprivate final SleepStatusprivate final StructureCheckprivate final StructureManagerprivate static final IntProviderstatic final IntProviderprivate final booleanFields inherited from class net.minecraft.world.level.Leveladdend, blockEntityTickers, captureBlockSnapshots, capturedBlockSnapshots, END, isClientSide, levelData, LONG_PARTICLE_CLIP_RANGE, MAX_BRIGHTNESS, MAX_ENTITY_SPAWN_Y, MAX_LEVEL_SIZE, MIN_ENTITY_SPAWN_Y, neighborUpdater, NETHER, oRainLevel, oThunderLevel, OVERWORLD, rainLevel, random, randValue, RESOURCE_KEY_CODEC, restoringBlockSnapshots, SHORT_PARTICLE_CLIP_RANGE, thunderLevel, TICKS_PER_DAYFields inherited from interface net.minecraft.world.level.SignalGetterDIRECTIONS
- 
Constructor SummaryConstructorsConstructorDescriptionServerLevel(MinecraftServer p_214999_, Executor p_215000_, LevelStorageSource.LevelStorageAccess p_215001_, ServerLevelData p_215002_, ResourceKey<Level> p_215003_, LevelStem p_215004_, ChunkProgressListener p_215005_, boolean p_215006_, long p_215007_, List<CustomSpawner> p_215008_, boolean p_215009_, RandomSequences p_288977_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDuringCommandTeleport(ServerPlayer p_8623_) voidaddDuringPortalTeleport(ServerPlayer p_8818_) voidaddDuringTeleport(Entity p_143335_) private booleanbooleanaddFreshEntity(Entity p_8837_) voidaddLegacyChunkEntities(Stream<Entity> p_143312_) voidaddNewPlayer(ServerPlayer p_8835_) private voidaddPlayer(ServerPlayer p_8854_) voidaddRespawnedPlayer(ServerPlayer p_8846_) booleanaddWithUUID(Entity p_8848_) voidaddWorldGenChunkEntities(Stream<Entity> p_143328_) private voidprivate voidbooleanareEntitiesLoaded(long p_143320_) voidblockEvent(BlockPos p_8746_, Block p_8747_, int p_8748_, int p_8749_) voidblockUpdated(BlockPos p_8743_, Block p_8744_) voidbroadcastDamageEvent(Entity p_270420_, DamageSource p_270311_) voidbroadcastEntityEvent(Entity p_8650_, byte p_8651_) booleanvoidclearBlockEvents(BoundingBox p_8723_) voidclose()voiddestroyBlockProgress(int p_8612_, BlockPos p_8613_, int p_8614_) private booleandoBlockEvent(BlockEventData p_8699_) private voiddumpBlockEntityTickers(Writer p_143300_) private static voiddumpEntities(Writer p_8782_, Iterable<Entity> p_8783_) explode(Entity p_256039_, DamageSource p_255778_, ExplosionDamageCalculator p_256002_, double p_256067_, double p_256370_, double p_256153_, float p_256045_, boolean p_255686_, Level.ExplosionInteraction p_255827_) findClosestBiome3d(Predicate<Holder<Biome>> p_215070_, BlockPos p_215071_, int p_215072_, int p_215073_, int p_215074_) findLightningRod(BlockPos p_143249_) protected BlockPosfindLightningTargetAround(BlockPos p_143289_) findNearestMapStructure(TagKey<Structure> p_215012_, BlockPos p_215013_, int p_215014_, boolean p_215015_) voidgameEvent(GameEvent p_215041_, Vec3 p_215042_, GameEvent.Context p_215043_) List<? extends EnderDragon>getEntities(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) <T extends Entity>
 voidgetEntities(EntityTypeTest<Entity, T> p_262152_, Predicate<? super T> p_261808_, List<? super T> p_261583_) <T extends Entity>
 voidgetEntities(EntityTypeTest<Entity, T> p_261842_, Predicate<? super T> p_262091_, List<? super T> p_261703_, int p_261907_) getEntity(int p_8597_) getEntityOrPart(int p_143318_) Deprecated.it.unimi.dsi.fastutil.longs.LongSetintgetLevel()intgetMapData(String p_8785_) Collection<PartEntity<?>>All part entities in this world.getPlayers(Predicate<? super ServerPlayer> p_8796_) getPlayers(Predicate<? super ServerPlayer> p_261698_, int p_262035_) getRaids()getRandomSequence(ResourceLocation p_287689_) longgetSeed()floatprivate static <T> StringgetTypeCount(Iterable<T> p_143302_, Function<T, String> p_143303_) getUncachedNoiseBiome(int p_203775_, int p_203776_, int p_203777_) voidglobalLevelEvent(int p_8811_, BlockPos p_8812_, int p_8813_) protected voidbooleanisCloseToVillage(BlockPos p_8737_, int p_8738_) booleanisFlat()booleanbooleanisNaturalSpawningAllowed(BlockPos p_201919_) booleanisNaturalSpawningAllowed(ChunkPos p_201917_) booleanisPositionEntityTicking(BlockPos p_143341_) private booleanisPositionTickingWithEntitiesLoaded(long p_184111_) booleanbooleanbooleanisVillage(SectionPos p_8763_) voidlevelEvent(Player p_8684_, int p_8685_, BlockPos p_8686_, int p_8687_) static voidmakeObsidianPlatform(ServerLevel p_8618_) booleanmayInteract(Player p_8696_, BlockPos p_8697_) voidneighborChanged(BlockPos p_215048_, Block p_215049_, BlockPos p_215050_) voidneighborChanged(BlockState p_215035_, BlockPos p_215036_, Block p_215037_, BlockPos p_215038_, boolean p_215039_) booleannoSave()voidonBlockStateChange(BlockPos p_8751_, BlockState p_8752_, BlockState p_8753_) voidonReputationEvent(ReputationEventType p_8671_, Entity p_8672_, ReputationEventHandler p_8673_) voidonStructureStartsAvailable(ChunkAccess p_196558_) players()voidplaySeededSound(Player p_263330_, double p_263393_, double p_263369_, double p_263354_, Holder<SoundEvent> p_263412_, SoundSource p_263338_, float p_263352_, float p_263390_, long p_263403_) voidplaySeededSound(Player p_263545_, Entity p_263544_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) voidremovePlayerImmediately(ServerPlayer p_143262_, Entity.RemovalReason p_143263_) voidprivate voidprivate voidvoidsave(ProgressListener p_8644_, boolean p_8645_, boolean p_8646_) voidsaveDebugReport(Path p_8787_) private voidintsectionsToVillage(SectionPos p_8829_) voidsendBlockUpdated(BlockPos p_8755_, BlockState p_8756_, BlockState p_8757_, int p_8758_) private booleansendParticles(ServerPlayer p_8637_, boolean p_8638_, double p_8639_, double p_8640_, double p_8641_, Packet<?> p_8642_) <T extends ParticleOptions>
 booleansendParticles(ServerPlayer p_8625_, T p_8626_, boolean p_8627_, double p_8628_, double p_8629_, double p_8630_, int p_8631_, double p_8632_, double p_8633_, double p_8634_, double p_8635_) <T extends ParticleOptions>
 intsendParticles(T p_8768_, double p_8769_, double p_8770_, double p_8771_, int p_8772_, double p_8773_, double p_8774_, double p_8775_, double p_8776_) booleansetChunkForced(int p_8603_, int p_8604_, boolean p_8605_) voidsetDayTime(long p_8616_) voidsetDefaultSpawnPos(BlockPos p_8734_, float p_8735_) voidsetDragonFight(EndDragonFight p_287779_) Deprecated.voidsetMapData(String p_143305_, MapItemSavedData p_143306_) voidsetWeatherParameters(int p_8607_, int p_8608_, boolean p_8609_, boolean p_8610_) private booleanshouldDiscardEntity(Entity p_143343_) booleanshouldTickBlocksAt(long p_184059_) voidstartTickingChunk(LevelChunk p_184103_) voidtick(BooleanSupplier p_8794_) private voidvoidtickChunk(LevelChunk p_8715_, int p_8716_) voidtickCustomSpawners(boolean p_8800_, boolean p_8801_) private voidprivate voidtickIceAndSnow(boolean p_298297_, BlockPos p_300602_) voidtickNonPassenger(Entity p_8648_) private voidtickPassenger(Entity p_8663_, Entity p_8664_) protected voidtickTime()toString()booleantryAddFreshEntityWithPassengers(Entity p_8861_) voidunload(LevelChunk p_8713_) voidupdateNeighborsAt(BlockPos p_215045_, Block p_215046_) voidupdateNeighborsAtExceptFromFacing(BlockPos p_215052_, Block p_215053_, Direction p_215054_) voidprivate voidMethods inherited from class net.minecraft.world.level.LeveladdAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntityTicker, addDestroyBlockEffect, addFreshBlockEntities, addParticle, addParticle, blockEntityChanged, createFireworks, damageSources, destroyBlock, dimension, dimensionType, dimensionTypeId, dimensionTypeRegistration, disconnect, explode, explode, explode, explode, fillReportDetails, getBiomeManager, getBlockEntity, getBlockRandomPos, getBlockState, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getEntities, getEntities, getEntities, getEntities, getFluidState, getGameRules, getGameTime, getHeight, getLevelData, getLightEngine, getMaxEntityRadius, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getSharedSpawnAngle, getSharedSpawnPos, getSkyDarken, getSunAngle, getThunderLevel, getWorldBorder, guardEntityTick, increaseMaxEntityRadius, isClientSide, isDay, isDebug, isFluidAtPosition, isInSpawnableBounds, isInWorldBounds, isLoaded, isNight, isRaining, isRainingAt, isStateAtPosition, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, neighborShapeChanged, nextSubTickCount, playLocalSound, playLocalSound, playSeededSound, playSound, playSound, playSound, playSound, prepareWeather, registryAccess, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, shouldTickBlocksAt, shouldTickDeath, tickBlockEntities, updateNeighbourForOutputSignal, updateSkyBrightnessMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProviderareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockAndTintGettercanSeeSky, getBrightness, getLightEngine, getRawBrightnessMethods inherited from interface net.minecraft.world.level.BlockGetterclip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGettercollidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraft.world.level.CommonLevelAccessorgetBlockEntity, getEntityCollisions, getHeightmapPos, isUnobstructedMethods inherited from interface net.minecraft.world.level.EntityGettergetEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayerMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability, getCapabilityMethods inherited from interface net.minecraftforge.client.extensions.IForgeBlockAndTintGettergetShadeMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGettergetExistingBlockEntity, getModelDataManagerMethods inherited from interface net.minecraft.world.level.LevelAccessoraddParticle, dayTime, gameEvent, gameEvent, gameEvent, getCurrentDifficultyAt, getDifficulty, getLevelData, getRandom, hasChunk, levelEvent, neighborShapeChanged, nextSubTickCount, playSound, playSound, scheduleTick, scheduleTick, scheduleTick, scheduleTickMethods inherited from interface net.minecraft.world.level.LevelHeightAccessorgetMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeightMethods inherited from interface net.minecraft.world.level.LevelReadercanSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getHeight, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getPathfindingCostFromLightLevels, getSeaLevel, getSkyDarken, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAt, registryAccessMethods inherited from interface net.minecraft.world.level.LevelSimulatedReaderisFluidAtPosition, isStateAtPositionMethods inherited from interface net.minecraft.world.level.LevelTimeAccessgetMoonBrightness, getMoonPhase, getTimeOfDayMethods inherited from interface net.minecraft.world.level.LevelWriterdestroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlockMethods inherited from interface net.minecraft.world.level.ServerLevelAccessoraddFreshEntityWithPassengersMethods inherited from interface net.minecraft.world.level.SignalGettergetBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignalMethods inherited from interface net.minecraft.world.level.WorldGenLevelensureCanWrite, setCurrentlyGenerating
- 
Field Details- 
END_SPAWN_POINT
- 
RAIN_DELAY
- 
RAIN_DURATION
- 
THUNDER_DELAY
- 
THUNDER_DURATION
- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
EMPTY_TIME_NO_TICKprivate static final int EMPTY_TIME_NO_TICK- See Also:
 
- 
MAX_SCHEDULED_TICKS_PER_TICKprivate static final int MAX_SCHEDULED_TICKS_PER_TICK- See Also:
 
- 
players
- 
chunkSource
- 
server
- 
serverLevelData
- 
entityTickList
- 
entityManager
- 
gameEventDispatcher
- 
noSavepublic boolean noSave
- 
sleepStatus
- 
emptyTimeprivate int emptyTime
- 
portalForcer
- 
blockTicks
- 
fluidTicks
- 
raids
- 
blockEvents
- 
blockEventsToReschedule
- 
handlingTickprivate boolean handlingTick
- 
customSpawners
- 
dragonFight
- 
dragonParts
- 
structureManager
- 
structureCheck
- 
tickTimeprivate final boolean tickTime
- 
randomSequences
- 
capabilityData
 
- 
- 
Constructor Details- 
ServerLevelpublic ServerLevel(MinecraftServer p_214999_, Executor p_215000_, LevelStorageSource.LevelStorageAccess p_215001_, ServerLevelData p_215002_, ResourceKey<Level> p_215003_, LevelStem p_215004_, ChunkProgressListener p_215005_, boolean p_215006_, long p_215007_, List<CustomSpawner> p_215008_, boolean p_215009_, @Nullable RandomSequences p_288977_) 
 
- 
- 
Method Details- 
setDragonFightDeprecated.
- 
setWeatherParameterspublic void setWeatherParameters(int p_8607_, int p_8608_, boolean p_8609_, boolean p_8610_) 
- 
getUncachedNoiseBiome- Specified by:
- getUncachedNoiseBiomein interface- LevelReader
 
- 
structureManager
- 
tick
- 
shouldTickBlocksAtpublic boolean shouldTickBlocksAt(long p_184059_) - Overrides:
- shouldTickBlocksAtin class- Level
 
- 
tickTimeprotected void tickTime()
- 
setDayTimepublic void setDayTime(long p_8616_) 
- 
tickCustomSpawnerspublic void tickCustomSpawners(boolean p_8800_, boolean p_8801_) 
- 
shouldDiscardEntity
- 
wakeUpAllPlayersprivate void wakeUpAllPlayers()
- 
tickChunk
- 
tickIceAndSnow
- 
findLightningRod
- 
findLightningTargetAround
- 
isHandlingTickpublic boolean isHandlingTick()
- 
canSleepThroughNightspublic boolean canSleepThroughNights()
- 
announceSleepStatusprivate void announceSleepStatus()
- 
updateSleepingPlayerListpublic void updateSleepingPlayerList()
- 
getScoreboard- Specified by:
- getScoreboardin class- Level
 
- 
advanceWeatherCycleprivate void advanceWeatherCycle()
- 
resetWeatherCycleprivate void resetWeatherCycle()
- 
resetEmptyTimepublic void resetEmptyTime()
- 
tickFluid
- 
tickBlock
- 
tickNonPassenger
- 
tickPassenger
- 
mayInteract- Overrides:
- mayInteractin class- Level
 
- 
save
- 
saveLevelDataprivate void saveLevelData()
- 
getEntitiespublic <T extends Entity> List<? extends T> getEntities(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) 
- 
getEntitiespublic <T extends Entity> void getEntities(EntityTypeTest<Entity, T> p_262152_, Predicate<? super T> p_261808_, List<? super T> p_261583_) 
- 
getEntitiespublic <T extends Entity> void getEntities(EntityTypeTest<Entity, T> p_261842_, Predicate<? super T> p_262091_, List<? super T> p_261703_, int p_261907_) 
- 
getDragons
- 
getPlayers
- 
getPlayers
- 
getRandomPlayer
- 
addFreshEntity- Specified by:
- addFreshEntityin interface- LevelWriter
 
- 
addWithUUID
- 
addDuringTeleport
- 
addDuringCommandTeleport
- 
addDuringPortalTeleport
- 
addNewPlayer
- 
addRespawnedPlayer
- 
addPlayer
- 
addEntity
- 
tryAddFreshEntityWithPassengers
- 
unload
- 
removePlayerImmediately
- 
destroyBlockProgress- Specified by:
- destroyBlockProgressin class- Level
 
- 
playSeededSoundpublic void playSeededSound(@Nullable Player p_263330_, double p_263393_, double p_263369_, double p_263354_, Holder<SoundEvent> p_263412_, SoundSource p_263338_, float p_263352_, float p_263390_, long p_263403_) - Specified by:
- playSeededSoundin class- Level
 
- 
playSeededSoundpublic void playSeededSound(@Nullable Player p_263545_, Entity p_263544_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) - Specified by:
- playSeededSoundin class- Level
 
- 
globalLevelEvent- Overrides:
- globalLevelEventin class- Level
 
- 
levelEvent- Specified by:
- levelEventin interface- LevelAccessor
 
- 
getLogicalHeightpublic int getLogicalHeight()
- 
gameEvent- Specified by:
- gameEventin interface- LevelAccessor
 
- 
sendBlockUpdated- Specified by:
- sendBlockUpdatedin class- Level
 
- 
updateNeighborsAt- Overrides:
- updateNeighborsAtin class- Level
 
- 
updateNeighborsAtExceptFromFacingpublic void updateNeighborsAtExceptFromFacing(BlockPos p_215052_, Block p_215053_, Direction p_215054_) - Overrides:
- updateNeighborsAtExceptFromFacingin class- Level
 
- 
neighborChanged- Overrides:
- neighborChangedin class- Level
 
- 
neighborChangedpublic void neighborChanged(BlockState p_215035_, BlockPos p_215036_, Block p_215037_, BlockPos p_215038_, boolean p_215039_) - Overrides:
- neighborChangedin class- Level
 
- 
broadcastEntityEvent- Overrides:
- broadcastEntityEventin class- Level
 
- 
broadcastDamageEvent- Overrides:
- broadcastDamageEventin class- Level
 
- 
getChunkSource- Specified by:
- getChunkSourcein interface- LevelAccessor
 
- 
explodepublic Explosion explode(@Nullable Entity p_256039_, @Nullable DamageSource p_255778_, @Nullable ExplosionDamageCalculator p_256002_, double p_256067_, double p_256370_, double p_256153_, float p_256045_, boolean p_255686_, Level.ExplosionInteraction p_255827_) 
- 
blockEvent- Overrides:
- blockEventin class- Level
 
- 
runBlockEventsprivate void runBlockEvents()
- 
doBlockEvent
- 
getBlockTicks- Specified by:
- getBlockTicksin interface- LevelAccessor
 
- 
getFluidTicks- Specified by:
- getFluidTicksin interface- LevelAccessor
 
- 
getServer- Specified by:
- getServerin interface- LevelAccessor
- Overrides:
- getServerin class- Level
 
- 
getPortalForcer
- 
getStructureManager
- 
sendParticlespublic <T extends ParticleOptions> int sendParticles(T p_8768_, double p_8769_, double p_8770_, double p_8771_, int p_8772_, double p_8773_, double p_8774_, double p_8775_, double p_8776_) 
- 
sendParticlespublic <T extends ParticleOptions> boolean sendParticles(ServerPlayer p_8625_, T p_8626_, boolean p_8627_, double p_8628_, double p_8629_, double p_8630_, int p_8631_, double p_8632_, double p_8633_, double p_8634_, double p_8635_) 
- 
sendParticlesprivate boolean sendParticles(ServerPlayer p_8637_, boolean p_8638_, double p_8639_, double p_8640_, double p_8641_, Packet<?> p_8642_) 
- 
getEntity
- 
getEntityOrPartDeprecated.
- 
getEntity
- 
findNearestMapStructure
- 
findClosestBiome3d
- 
getRecipeManager- Specified by:
- getRecipeManagerin class- Level
 
- 
noSavepublic boolean noSave()
- 
getDataStorage
- 
getMapData- Specified by:
- getMapDatain class- Level
 
- 
setMapData- Specified by:
- setMapDatain class- Level
 
- 
getFreeMapIdpublic int getFreeMapId()- Specified by:
- getFreeMapIdin class- Level
 
- 
setDefaultSpawnPos
- 
getForcedChunkspublic it.unimi.dsi.fastutil.longs.LongSet getForcedChunks()
- 
setChunkForcedpublic boolean setChunkForced(int p_8603_, int p_8604_, boolean p_8605_) 
- 
players- Specified by:
- playersin interface- EntityGetter
 
- 
onBlockStateChange- Overrides:
- onBlockStateChangein class- Level
 
- 
getPoiManager
- 
isVillage
- 
isVillage
- 
isCloseToVillage
- 
sectionsToVillage
- 
getRaids
- 
getRaidAt
- 
isRaided
- 
onReputationEventpublic void onReputationEvent(ReputationEventType p_8671_, Entity p_8672_, ReputationEventHandler p_8673_) 
- 
saveDebugReport- Throws:
- IOException
 
- 
dumpEntities- Throws:
- IOException
 
- 
dumpBlockEntityTickers- Throws:
- IOException
 
- 
clearBlockEvents
- 
blockUpdated- Specified by:
- blockUpdatedin interface- LevelAccessor
 
- 
getShade- Specified by:
- getShadein interface- BlockAndTintGetter
 
- 
getAllEntities
- 
toString
- 
isFlatpublic boolean isFlat()
- 
getSeedpublic long getSeed()- Specified by:
- getSeedin interface- WorldGenLevel
 
- 
getDragonFight
- 
getLevel- Specified by:
- getLevelin interface- ServerLevelAccessor
 
- 
getWatchdogStats
- 
getTypeCount
- 
makeObsidianPlatform
- 
initCapabilitiesprotected void initCapabilities()
- 
getEntities- Specified by:
- getEntitiesin class- Level
 
- 
addLegacyChunkEntities
- 
addWorldGenChunkEntities
- 
startTickingChunk
- 
onStructureStartsAvailable
- 
close- Specified by:
- closein interface- AutoCloseable
- Overrides:
- closein class- Level
- Throws:
- IOException
 
- 
gatherChunkSourceStats- Specified by:
- gatherChunkSourceStatsin class- Level
 
- 
areEntitiesLoadedpublic boolean areEntitiesLoaded(long p_143320_) 
- 
isPositionTickingWithEntitiesLoadedprivate boolean isPositionTickingWithEntitiesLoaded(long p_184111_) 
- 
isPositionEntityTicking
- 
isNaturalSpawningAllowed
- 
isNaturalSpawningAllowed
- 
enabledFeatures- Specified by:
- enabledFeaturesin interface- LevelReader
 
- 
getRandomSequence
- 
getRandomSequences
- 
getPartEntitiesDescription copied from interface:IForgeLevelAll part entities in this world. Used when collecting entities in an AABB to fix parts being ignored whose parent entity is in a chunk that does not intersect with the AABB.- Specified by:
- getPartEntitiesin interface- IForgeLevel
 
 
-