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,WorldGenLevel,ICapabilityProvider,ICapabilityProviderImpl<Level>,IForgeBlockGetter,IForgeLevel
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectLinkedOpenHashSet<BlockEventData>private final List<BlockEventData>private final LevelTicks<Block>private WorldCapabilityDataprivate final ServerChunkCacheprivate final List<CustomSpawner>private final 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 boolean(package private) booleanprivate static final org.slf4j.Loggerprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intboolean(package private) final List<ServerPlayer>private final PortalForcerprotected final Raidsprivate final MinecraftServerprivate final ServerLevelDataprivate final SleepStatusprivate final StructureCheckprivate final StructureFeatureManagerprivate final booleanFields inherited from class net.minecraft.world.level.Level
addend, blockEntityTickers, captureBlockSnapshots, capturedBlockSnapshots, END, isClientSide, levelData, LONG_PARTICLE_CLIP_RANGE, MAX_BRIGHTNESS, MAX_ENTITY_SPAWN_Y, MAX_LEVEL_SIZE, MIN_ENTITY_SPAWN_Y, NETHER, oRainLevel, oThunderLevel, OVERWORLD, rainLevel, random, randValue, RESOURCE_KEY_CODEC, restoringBlockSnapshots, SHORT_PARTICLE_CLIP_RANGE, thunderLevel, TICKS_PER_DAY -
Constructor Summary
ConstructorsConstructorDescriptionServerLevel(MinecraftServer p_203762_, Executor p_203763_, LevelStorageSource.LevelStorageAccess p_203764_, ServerLevelData p_203765_, ResourceKey<Level> p_203766_, Holder<DimensionType> p_203767_, ChunkProgressListener p_203768_, ChunkGenerator p_203769_, boolean p_203770_, long p_203771_, List<CustomSpawner> p_203772_, boolean p_203773_) -
Method Summary
Modifier 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_) 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_8653_, DamageSource p_8654_, ExplosionDamageCalculator p_8655_, double p_8656_, double p_8657_, double p_8658_, float p_8659_, boolean p_8660_, Explosion.BlockInteraction p_8661_) findLightningRod(BlockPos p_143249_) protected BlockPosfindLightningTargetAround(BlockPos p_143289_) findNearestBiome(Predicate<Holder<Biome>> p_207572_, BlockPos p_207573_, int p_207574_, int p_207575_) findNearestMapFeature(TagKey<ConfiguredStructureFeature<?, ?>> p_207562_, BlockPos p_207563_, int p_207564_, boolean p_207565_) voidList<? extends EnderDragon>getEntities(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) 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_) getRaids()longgetSeed()floatfloatprivate 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_) 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()voidplaySound(Player p_8675_, double p_8676_, double p_8677_, double p_8678_, SoundEvent p_8679_, SoundSource p_8680_, float p_8681_, float p_8682_) voidplaySound(Player p_8689_, Entity p_8690_, SoundEvent p_8691_, SoundSource p_8692_, float p_8693_, float p_8694_) voidremoveEntity(Entity entity) Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.19.voidremoveEntity(Entity p_8868_, boolean keepData) Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.19.voidremoveEntityComplete(Entity p_8865_, boolean keepData) Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.19.voidremovePlayer(ServerPlayer p_8850_, boolean keepData) Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.19.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_) voidsendVibrationParticle(VibrationPath p_143284_) booleansetChunkForced(int p_8603_, int p_8604_, boolean p_8605_) voidsetDayTime(long p_8616_) voidsetDefaultSpawnPos(BlockPos p_8734_, float p_8735_) 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 voidvoidtickNonPassenger(Entity p_8648_) private voidtickPassenger(Entity p_8663_, Entity p_8664_) protected voidtickTime()toString()booleantryAddFreshEntityWithPassengers(Entity p_8861_) voidunload(LevelChunk p_8713_) voidprivate voidMethods inherited from class net.minecraft.world.level.Level
addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntityTicker, addDestroyBlockEffect, addFreshBlockEntities, addParticle, addParticle, blockEntityChanged, createFireworks, destroyBlock, dimension, dimensionType, dimensionTypeRegistration, disconnect, explode, explode, fillReportDetails, getBestNeighborSignal, getBiomeManager, getBlockEntity, getBlockRandomPos, getBlockState, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getDirectSignalTo, getEntities, getEntities, getFluidState, getGameRules, getGameTime, getHeight, getLevelData, getLightEngine, getMaxEntityRadius, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getSignal, getSkyDarken, getSunAngle, getThunderLevel, getWorldBorder, guardEntityTick, hasNeighborSignal, hasSignal, increaseMaxEntityRadius, isClientSide, isDay, isDebug, isFluidAtPosition, isHumidAt, isInSpawnableBounds, isInWorldBounds, isLoaded, isNight, isRaining, isRainingAt, isStateAtPosition, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, neighborChanged, nextSubTickCount, playLocalSound, playSound, postGameEventInRadius, prepareWeather, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, shouldTickDeath, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateNeighbourForOutputSignal, updateSkyBrightnessMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getLightEngine, getRawBrightnessMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGetter
collidesWithSuffocatingBlock, findFreePosition, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraft.world.level.CommonLevelAccessor
getBlockEntity, getEntityCollisions, getHeightmapPos, isUnobstructedMethods inherited from interface net.minecraft.world.level.EntityGetter
getEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayerMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntityMethods inherited from interface net.minecraft.world.level.LevelAccessor
addParticle, dayTime, gameEvent, gameEvent, gameEvent, getCurrentDifficultyAt, getDifficulty, getLevelData, getRandom, hasChunk, levelEvent, nextSubTickCount, playSound, scheduleTick, scheduleTick, scheduleTick, scheduleTickMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeightMethods inherited from interface net.minecraft.world.level.LevelReader
canSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getDirectSignal, getHeight, getHeight, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getSeaLevel, getSkyDarken, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAtMethods inherited from interface net.minecraft.world.level.LevelSimulatedReader
isFluidAtPosition, isStateAtPositionMethods inherited from interface net.minecraft.world.level.LevelTimeAccess
getMoonBrightness, getMoonPhase, getTimeOfDayMethods inherited from interface net.minecraft.world.level.LevelWriter
destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlockMethods inherited from interface net.minecraft.world.level.ServerLevelAccessor
addFreshEntityWithPassengersMethods inherited from interface net.minecraft.world.level.WorldGenLevel
ensureCanWrite, setCurrentlyGenerating
-
Field Details
-
END_SPAWN_POINT
-
MIN_RAIN_DELAY_TIME
private static final int MIN_RAIN_DELAY_TIME- See Also:
-
MAX_RAIN_DELAY_TIME
private static final int MAX_RAIN_DELAY_TIME- See Also:
-
MIN_RAIN_TIME
private static final int MIN_RAIN_TIME- See Also:
-
MAX_RAIN_TIME
private static final int MAX_RAIN_TIME- See Also:
-
MIN_THUNDER_DELAY_TIME
private static final int MIN_THUNDER_DELAY_TIME- See Also:
-
MAX_THUNDER_DELAY_TIME
private static final int MAX_THUNDER_DELAY_TIME- See Also:
-
MIN_THUNDER_TIME
private static final int MIN_THUNDER_TIME- See Also:
-
MAX_THUNDER_TIME
private static final int MAX_THUNDER_TIME- See Also:
-
LOGGER
private static final org.slf4j.Logger LOGGER -
EMPTY_TIME_NO_TICK
private static final int EMPTY_TIME_NO_TICK- See Also:
-
MAX_SCHEDULED_TICKS_PER_TICK
private static final int MAX_SCHEDULED_TICKS_PER_TICK- See Also:
-
players
-
chunkSource
-
server
-
serverLevelData
-
entityTickList
-
entityManager
-
noSave
public boolean noSave -
sleepStatus
-
emptyTime
private int emptyTime -
portalForcer
-
blockTicks
-
fluidTicks
-
raids
-
blockEvents
-
blockEventsToReschedule
-
handlingTick
private boolean handlingTick -
customSpawners
-
dragonFight
-
dragonParts
-
structureFeatureManager
-
structureCheck
-
tickTime
private final boolean tickTime -
capabilityData
-
-
Constructor Details
-
ServerLevel
public ServerLevel(MinecraftServer p_203762_, Executor p_203763_, LevelStorageSource.LevelStorageAccess p_203764_, ServerLevelData p_203765_, ResourceKey<Level> p_203766_, Holder<DimensionType> p_203767_, ChunkProgressListener p_203768_, ChunkGenerator p_203769_, boolean p_203770_, long p_203771_, List<CustomSpawner> p_203772_, boolean p_203773_)
-
-
Method Details
-
setWeatherParameters
public void setWeatherParameters(int p_8607_, int p_8608_, boolean p_8609_, boolean p_8610_) -
getUncachedNoiseBiome
- Specified by:
getUncachedNoiseBiomein interfaceLevelReader
-
structureFeatureManager
-
tick
-
shouldTickBlocksAt
public boolean shouldTickBlocksAt(long p_184059_) - Overrides:
shouldTickBlocksAtin classLevel
-
tickTime
protected void tickTime() -
setDayTime
public void setDayTime(long p_8616_) -
tickCustomSpawners
public void tickCustomSpawners(boolean p_8800_, boolean p_8801_) -
shouldDiscardEntity
-
wakeUpAllPlayers
private void wakeUpAllPlayers() -
tickChunk
-
findLightningRod
-
findLightningTargetAround
-
isHandlingTick
public boolean isHandlingTick() -
canSleepThroughNights
public boolean canSleepThroughNights() -
announceSleepStatus
private void announceSleepStatus() -
updateSleepingPlayerList
public void updateSleepingPlayerList() -
getScoreboard
- Specified by:
getScoreboardin classLevel
-
advanceWeatherCycle
private void advanceWeatherCycle() -
resetWeatherCycle
private void resetWeatherCycle() -
resetEmptyTime
public void resetEmptyTime() -
tickFluid
-
tickBlock
-
tickNonPassenger
-
tickPassenger
-
mayInteract
- Overrides:
mayInteractin classLevel
-
save
-
saveLevelData
private void saveLevelData() -
getEntities
public <T extends Entity> List<? extends T> getEntities(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) -
getDragons
-
getPlayers
-
getRandomPlayer
-
addFreshEntity
- Specified by:
addFreshEntityin interfaceLevelWriter
-
addWithUUID
-
addDuringTeleport
-
addDuringCommandTeleport
-
addDuringPortalTeleport
-
addNewPlayer
-
addRespawnedPlayer
-
removePlayer
@Deprecated(forRemoval=true, since="1.18.1") public void removePlayer(ServerPlayer p_8850_, boolean keepData) Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.19. SeeremovePlayerImmediately(ServerPlayer, Entity.RemovalReason)as a possible replacement. -
removeEntityComplete
@Deprecated(forRemoval=true, since="1.18.1") public void removeEntityComplete(Entity p_8865_, boolean keepData) Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.19. SeeEntity.setRemoved(Entity.RemovalReason)as a possible replacement. -
removeEntity
Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.19. SeeEntity.setRemoved(Entity.RemovalReason)as a possible replacement. -
removeEntity
@Deprecated(forRemoval=true, since="1.18.1") public void removeEntity(Entity p_8868_, boolean keepData) Deprecated, for removal: This API element is subject to removal in a future version.To be removed in 1.19. SeeEntity.setRemoved(Entity.RemovalReason)as a possible replacement. -
addPlayer
-
addEntity
-
tryAddFreshEntityWithPassengers
-
unload
-
removePlayerImmediately
-
destroyBlockProgress
- Specified by:
destroyBlockProgressin classLevel
-
playSound
public void playSound(@Nullable Player p_8675_, double p_8676_, double p_8677_, double p_8678_, SoundEvent p_8679_, SoundSource p_8680_, float p_8681_, float p_8682_) -
playSound
public void playSound(@Nullable Player p_8689_, Entity p_8690_, SoundEvent p_8691_, SoundSource p_8692_, float p_8693_, float p_8694_) -
globalLevelEvent
- Overrides:
globalLevelEventin classLevel
-
levelEvent
- Specified by:
levelEventin interfaceLevelAccessor
-
getLogicalHeight
public int getLogicalHeight() -
gameEvent
- Specified by:
gameEventin interfaceLevelAccessor
-
sendBlockUpdated
- Specified by:
sendBlockUpdatedin classLevel
-
broadcastEntityEvent
- Overrides:
broadcastEntityEventin classLevel
-
getChunkSource
- Specified by:
getChunkSourcein interfaceLevelAccessor
-
explode
public Explosion explode(@Nullable Entity p_8653_, @Nullable DamageSource p_8654_, @Nullable ExplosionDamageCalculator p_8655_, double p_8656_, double p_8657_, double p_8658_, float p_8659_, boolean p_8660_, Explosion.BlockInteraction p_8661_) -
blockEvent
- Overrides:
blockEventin classLevel
-
runBlockEvents
private void runBlockEvents() -
doBlockEvent
-
getBlockTicks
- Specified by:
getBlockTicksin interfaceLevelAccessor
-
getFluidTicks
- Specified by:
getFluidTicksin interfaceLevelAccessor
-
getServer
- Specified by:
getServerin interfaceLevelAccessor- Overrides:
getServerin classLevel
-
getPortalForcer
-
getStructureManager
-
sendVibrationParticle
-
sendParticles
public <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_) -
sendParticles
public <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_) -
sendParticles
private boolean sendParticles(ServerPlayer p_8637_, boolean p_8638_, double p_8639_, double p_8640_, double p_8641_, Packet<?> p_8642_) -
getEntity
-
getEntityOrPart
Deprecated. -
getEntity
-
findNearestMapFeature
@Nullable public BlockPos findNearestMapFeature(TagKey<ConfiguredStructureFeature<?, ?>> p_207562_, BlockPos p_207563_, int p_207564_, boolean p_207565_) -
findNearestBiome
-
getRecipeManager
- Specified by:
getRecipeManagerin classLevel
-
noSave
public boolean noSave() -
registryAccess
- Specified by:
registryAccessin interfaceCommonLevelAccessor
-
getDataStorage
-
getMapData
- Specified by:
getMapDatain classLevel
-
setMapData
- Specified by:
setMapDatain classLevel
-
getFreeMapId
public int getFreeMapId()- Specified by:
getFreeMapIdin classLevel
-
setDefaultSpawnPos
-
getForcedChunks
public it.unimi.dsi.fastutil.longs.LongSet getForcedChunks() -
setChunkForced
public boolean setChunkForced(int p_8603_, int p_8604_, boolean p_8605_) -
players
- Specified by:
playersin interfaceEntityGetter
-
onBlockStateChange
- Overrides:
onBlockStateChangein classLevel
-
getPoiManager
-
isVillage
-
isVillage
-
isCloseToVillage
-
sectionsToVillage
-
getRaids
-
getRaidAt
-
isRaided
-
onReputationEvent
public 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 interfaceLevelAccessor
-
getShade
- Specified by:
getShadein interfaceBlockAndTintGetter
-
getAllEntities
-
toString
-
isFlat
public boolean isFlat() -
getSeed
public long getSeed()- Specified by:
getSeedin interfaceWorldGenLevel
-
dragonFight
-
getLevel
- Specified by:
getLevelin interfaceServerLevelAccessor
-
getWatchdogStats
-
getTypeCount
-
makeObsidianPlatform
-
initCapabilities
protected void initCapabilities() -
getEntities
- Specified by:
getEntitiesin classLevel
-
addLegacyChunkEntities
-
addWorldGenChunkEntities
-
startTickingChunk
-
onStructureStartsAvailable
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classLevel- Throws:
IOException
-
gatherChunkSourceStats
- Specified by:
gatherChunkSourceStatsin classLevel
-
areEntitiesLoaded
public boolean areEntitiesLoaded(long p_143320_) -
isPositionTickingWithEntitiesLoaded
private boolean isPositionTickingWithEntitiesLoaded(long p_184111_) -
isPositionEntityTicking
-
isNaturalSpawningAllowed
-
isNaturalSpawningAllowed
-
getPartEntities
Description 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 interfaceIForgeLevel
-