类 ServerLevel
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<Level>
net.minecraft.world.level.Level
net.minecraft.server.level.ServerLevel
- 所有已实现的接口:
AutoCloseable
,ServerEntityGetter
,BiomeManager.NoiseBiomeSource
,BlockAndTintGetter
,BlockGetter
,CollisionGetter
,CommonLevelAccessor
,EntityGetter
,LevelAccessor
,LevelHeightAccessor
,LevelReader
,LevelSimulatedReader
,LevelSimulatedRW
,LevelTimeAccess
,LevelWriter
,ScheduledTickAccess
,ServerLevelAccessor
,SignalGetter
,WorldGenLevel
,IForgeBlockAndTintGetter
,ICapabilityProvider
,ICapabilityProviderImpl<Level>
,IForgeBlockGetter
,IForgeLevel
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.Level
Level.ExplosionInteraction
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
字段概要
字段修饰符和类型字段说明private final it.unimi.dsi.fastutil.objects.ObjectLinkedOpenHashSet
<BlockEventData> private final List
<BlockEventData> private final LevelTicks
<Block> private LevelCapabilityData
private final ServerChunkCache
private final List
<CustomSpawner> private EndDragonFight
(专用程序包) final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<EnderDragonPart> private static final int
private int
static final BlockPos
private final PersistentEntitySectionManager
<Entity> (专用程序包) final EntityTickList
private final LevelTicks
<Fluid> private final GameEventDispatcher
private boolean
(专用程序包) boolean
private int
private static final org.slf4j.Logger
private static final int
boolean
(专用程序包) final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<PartEntity<?>> private final PathTypeCache
(专用程序包) final List
<ServerPlayer> private final PortalForcer
protected final Raids
static final IntProvider
static final IntProvider
private final RandomSequences
private final MinecraftServer
private final ServerLevelData
private final SleepStatus
private final StructureCheck
private final StructureManager
private static final IntProvider
static final IntProvider
private final boolean
从类继承的字段 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, neighborUpdater, NETHER, oRainLevel, oThunderLevel, OVERWORLD, rainLevel, random, randValue, RESOURCE_KEY_CODEC, restoringBlockSnapshots, SHORT_PARTICLE_CLIP_RANGE, thunderLevel, TICKS_PER_DAY
从接口继承的字段 net.minecraft.world.level.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
从接口继承的字段 net.minecraft.world.level.SignalGetter
DIRECTIONS
-
构造器概要
构造器构造器说明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_, RandomSequences p_288977_) -
方法概要
修饰符和类型方法说明void
addDuringTeleport
(Entity p_143335_) private boolean
boolean
addFreshEntity
(Entity p_8837_) void
addLegacyChunkEntities
(Stream<Entity> p_143312_) void
addNewPlayer
(ServerPlayer p_8835_) private void
addPlayer
(ServerPlayer p_8854_) void
addRespawnedPlayer
(ServerPlayer p_8846_) boolean
addWithUUID
(Entity p_8848_) void
addWorldGenChunkEntities
(Stream<Entity> p_143328_) private void
private void
boolean
areEntitiesLoaded
(long p_143320_) void
blockEvent
(BlockPos p_8746_, Block p_8747_, int p_8748_, int p_8749_) void
blockUpdated
(BlockPos p_8743_, Block p_8744_) void
broadcastDamageEvent
(Entity p_270420_, DamageSource p_270311_) void
broadcastEntityEvent
(Entity p_8650_, byte p_8651_) boolean
void
clearBlockEvents
(BoundingBox p_8723_) void
close()
void
destroyBlockProgress
(int p_8612_, BlockPos p_8613_, int p_8614_) private boolean
doBlockEvent
(BlockEventData p_8699_) private void
dumpBlockEntityTickers
(Writer p_143300_) private static void
dumpEntities
(Writer p_8782_, Iterable<Entity> p_8783_) void
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_, ParticleOptions p_310962_, ParticleOptions p_310322_, Holder<SoundEvent> p_333158_) fillReportDetails
(CrashReport p_311549_) findClosestBiome3d
(Predicate<Holder<Biome>> p_215070_, BlockPos p_215071_, int p_215072_, int p_215073_, int p_215074_) findLightningRod
(BlockPos p_143249_) protected BlockPos
findLightningTargetAround
(BlockPos p_143289_) findNearestMapStructure
(TagKey<Structure> p_215012_, BlockPos p_215013_, int p_215014_, boolean p_215015_) void
gameEvent
(Holder<GameEvent> p_334475_, Vec3 p_215042_, GameEvent.Context p_215043_) private Explosion.BlockInteraction
getDestroyType
(GameRules.Key<GameRules.BooleanValue> p_368408_) 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_) 已过时。it.unimi.dsi.fastutil.longs.LongSet
getLevel()
int
getMapData
(MapId p_330550_) 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_) int
long
getSeed()
float
private static <T> String
getTypeCount
(Iterable<T> p_143302_, Function<T, String> p_143303_) getUncachedNoiseBiome
(int p_203775_, int p_203776_, int p_203777_) void
globalLevelEvent
(int p_8811_, BlockPos p_8812_, int p_8813_) protected void
boolean
isCloseToVillage
(BlockPos p_8737_, int p_8738_) boolean
isFlat()
boolean
boolean
isNaturalSpawningAllowed
(BlockPos p_201919_) boolean
isNaturalSpawningAllowed
(ChunkPos p_201917_) boolean
isPositionEntityTicking
(BlockPos p_143341_) private boolean
isPositionTickingWithEntitiesLoaded
(long p_184111_) boolean
boolean
boolean
isVillage
(SectionPos p_8763_) void
levelEvent
(Player p_8684_, int p_8685_, BlockPos p_8686_, int p_8687_) boolean
mayInteract
(Player p_8696_, BlockPos p_8697_) void
neighborChanged
(BlockPos p_215048_, Block p_215049_, Orientation p_368434_) void
neighborChanged
(BlockState p_215035_, BlockPos p_215036_, Block p_215037_, Orientation p_369243_, boolean p_215039_) boolean
noSave()
void
onBlockStateChange
(BlockPos p_8751_, BlockState p_8752_, BlockState p_8753_) void
onReputationEvent
(ReputationEventType p_8671_, Entity p_8672_, ReputationEventHandler p_8673_) void
onStructureStartsAvailable
(ChunkAccess p_196558_) players()
void
playSeededSound
(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_) void
playSeededSound
(Player p_263545_, Entity p_263544_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) void
removePlayerImmediately
(ServerPlayer p_143262_, Entity.RemovalReason p_143263_) void
void
private void
void
save
(ProgressListener p_8644_, boolean p_8645_, boolean p_8646_) void
saveDebugReport
(Path p_8787_) private void
saveLevelData
(boolean p_365704_) int
sectionsToVillage
(SectionPos p_8829_) void
sendBlockUpdated
(BlockPos p_8755_, BlockState p_8756_, BlockState p_8757_, int p_8758_) private boolean
sendParticles
(ServerPlayer p_8637_, boolean p_8638_, double p_8639_, double p_8640_, double p_8641_, Packet<?> p_8642_) <T extends ParticleOptions>
booleansendParticles
(ServerPlayer p_376717_, T p_375887_, boolean p_376188_, boolean p_378707_, double p_378284_, double p_377685_, double p_375756_, int p_377117_, double p_378090_, double p_376820_, double p_376920_, double p_377557_) <T extends ParticleOptions>
intsendParticles
(T p_8626_, boolean p_8627_, boolean p_378427_, 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_) boolean
setChunkForced
(int p_8603_, int p_8604_, boolean p_8605_) void
setDayTime
(long p_8616_) void
setDefaultSpawnPos
(BlockPos p_8734_, float p_8735_) void
setDragonFight
(EndDragonFight p_287779_) 已过时。void
setMapData
(MapId p_331590_, MapItemSavedData p_143306_) void
setWeatherParameters
(int p_8607_, int p_8608_, boolean p_8609_, boolean p_8610_) boolean
shouldTickBlocksAt
(long p_184059_) void
startTickingChunk
(LevelChunk p_184103_) void
tick
(BooleanSupplier p_8794_) private void
void
tickChunk
(LevelChunk p_8715_, int p_8716_) void
tickCustomSpawners
(boolean p_8800_, boolean p_8801_) private void
void
tickNonPassenger
(Entity p_8648_) private void
tickPassenger
(Entity p_8663_, Entity p_8664_) void
tickPrecipitation
(BlockPos p_300602_) protected void
tickTime()
toString()
boolean
tryAddFreshEntityWithPassengers
(Entity p_8861_) void
unload
(LevelChunk p_8713_) void
updateNeighborsAt
(BlockPos p_215045_, Block p_215046_) void
updateNeighborsAt
(BlockPos p_362530_, Block p_362552_, Orientation p_367766_) void
updateNeighborsAtExceptFromFacing
(BlockPos p_215052_, Block p_215053_, Direction p_215054_, Orientation p_370072_) void
private void
从类继承的方法 net.minecraft.world.level.Level
addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntityTicker, addDestroyBlockEffect, addFreshBlockEntities, addParticle, addParticle, blockEntityChanged, createFireworks, damageSources, destroyBlock, dimension, dimensionType, dimensionTypeRegistration, disconnect, explode, explode, explode, explode, getBiomeManager, getBlockEntity, getBlockRandomPos, getBlockState, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getEntities, getEntities, getEntities, getEntities, getFluidState, getGameTime, getHeight, getLevelData, getLightEngine, getMaxEntityRadius, getRainLevel, getRandom, 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, playLocalSound, playSeededSound, playSound, playSound, playSound, playSound, playSound, playSound, prepareWeather, registryAccess, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, shouldTickBlocksAt, shouldTickDeath, tickBlockEntities, updateNeighbourForOutputSignal, updateSkyBrightness
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.BlockAndTintGetter
canSeeSky, getBrightness, getLightEngine, getRawBrightness
从接口继承的方法 net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, isBlockInLine
从接口继承的方法 net.minecraft.world.level.CollisionGetter
clipIncludingBorder, collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockAndLiquidCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollision
从接口继承的方法 net.minecraft.world.level.CommonLevelAccessor
getBlockEntity, getEntityCollisions, getHeightmapPos, isUnobstructed
从接口继承的方法 net.minecraft.world.level.EntityGetter
getEntities, getEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayer
从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
从接口继承的方法 net.minecraftforge.client.extensions.IForgeBlockAndTintGetter
getShade
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManager
从接口继承的方法 net.minecraft.world.level.LevelAccessor
addParticle, createTick, createTick, dayTime, gameEvent, gameEvent, gameEvent, gameEvent, getCurrentDifficultyAt, getDifficulty, getLevelData, getRandom, hasChunk, levelEvent, neighborShapeChanged, nextSubTickCount, playSound, playSound
从接口继承的方法 net.minecraft.world.level.LevelHeightAccessor
getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
从接口继承的方法 net.minecraft.world.level.LevelReader
canSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getHeight, getHeight, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinY, getNoiseBiome, getPathfindingCostFromLightLevels, getSkyDarken, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAt, registryAccess
从接口继承的方法 net.minecraft.world.level.LevelSimulatedReader
isFluidAtPosition, isStateAtPosition
从接口继承的方法 net.minecraft.world.level.LevelTimeAccess
getMoonBrightness, getMoonPhase, getTimeOfDay
从接口继承的方法 net.minecraft.world.level.LevelWriter
destroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlock
从接口继承的方法 net.minecraft.world.level.ScheduledTickAccess
scheduleTick, scheduleTick, scheduleTick, scheduleTick
从接口继承的方法 net.minecraft.server.level.ServerEntityGetter
getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer
从接口继承的方法 net.minecraft.world.level.ServerLevelAccessor
addFreshEntityWithPassengers
从接口继承的方法 net.minecraft.world.level.SignalGetter
getBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
从接口继承的方法 net.minecraft.world.level.WorldGenLevel
ensureCanWrite, setCurrentlyGenerating
-
字段详细资料
-
END_SPAWN_POINT
-
RAIN_DELAY
-
RAIN_DURATION
-
THUNDER_DELAY
-
THUNDER_DURATION
-
LOGGER
private static final org.slf4j.Logger LOGGER -
EMPTY_TIME_NO_TICK
private static final int EMPTY_TIME_NO_TICK- 另请参阅:
-
MAX_SCHEDULED_TICKS_PER_TICK
private static final int MAX_SCHEDULED_TICKS_PER_TICK- 另请参阅:
-
players
-
chunkSource
-
server
-
serverLevelData
-
lastSpawnChunkRadius
private int lastSpawnChunkRadius -
entityTickList
-
entityManager
-
gameEventDispatcher
-
noSave
public boolean noSave -
sleepStatus
-
emptyTime
private int emptyTime -
portalForcer
-
blockTicks
-
fluidTicks
-
pathTypesByPosCache
-
raids
-
blockEvents
-
blockEventsToReschedule
-
handlingTick
private boolean handlingTick -
customSpawners
-
dragonFight
-
dragonParts
-
partEntities
-
structureManager
-
structureCheck
-
tickTime
private final boolean tickTime -
randomSequences
-
capabilityData
-
-
构造器详细资料
-
ServerLevel
public 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_)
-
-
方法详细资料
-
initCapabilities
protected void initCapabilities() -
setDragonFight
已过时。 -
setWeatherParameters
public void setWeatherParameters(int p_8607_, int p_8608_, boolean p_8609_, boolean p_8610_) -
getUncachedNoiseBiome
- 指定者:
getUncachedNoiseBiome
在接口中LevelReader
-
structureManager
-
tick
-
shouldTickBlocksAt
public boolean shouldTickBlocksAt(long p_184059_) - 覆盖:
shouldTickBlocksAt
在类中Level
-
tickTime
protected void tickTime() -
setDayTime
public void setDayTime(long p_8616_) -
tickCustomSpawners
public void tickCustomSpawners(boolean p_8800_, boolean p_8801_) -
wakeUpAllPlayers
private void wakeUpAllPlayers() -
tickChunk
-
tickPrecipitation
-
findLightningRod
-
findLightningTargetAround
-
isHandlingTick
public boolean isHandlingTick() -
canSleepThroughNights
public boolean canSleepThroughNights() -
announceSleepStatus
private void announceSleepStatus() -
updateSleepingPlayerList
public void updateSleepingPlayerList() -
getScoreboard
- 指定者:
getScoreboard
在类中Level
-
advanceWeatherCycle
private void advanceWeatherCycle() -
resetWeatherCycle
public void resetWeatherCycle() -
resetEmptyTime
public void resetEmptyTime() -
tickFluid
-
tickBlock
-
tickNonPassenger
-
tickPassenger
-
mayInteract
- 覆盖:
mayInteract
在类中Level
-
save
-
saveLevelData
private void saveLevelData(boolean p_365704_) -
getEntities
public <T extends Entity> List<? extends T> getEntities(EntityTypeTest<Entity, T> p_143281_, Predicate<? super T> p_143282_) -
getEntities
public <T extends Entity> void getEntities(EntityTypeTest<Entity, T> p_262152_, Predicate<? super T> p_261808_, List<? super T> p_261583_) -
getEntities
public <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
- 指定者:
addFreshEntity
在接口中LevelWriter
-
addWithUUID
-
addDuringTeleport
-
addNewPlayer
-
addRespawnedPlayer
-
addPlayer
-
addEntity
-
tryAddFreshEntityWithPassengers
-
unload
-
removePlayerImmediately
-
destroyBlockProgress
- 指定者:
destroyBlockProgress
在类中Level
-
playSeededSound
public 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_) - 指定者:
playSeededSound
在类中Level
-
playSeededSound
public 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_) - 指定者:
playSeededSound
在类中Level
-
globalLevelEvent
- 覆盖:
globalLevelEvent
在类中Level
-
levelEvent
- 指定者:
levelEvent
在接口中LevelAccessor
-
getLogicalHeight
public int getLogicalHeight() -
gameEvent
- 指定者:
gameEvent
在接口中LevelAccessor
-
sendBlockUpdated
- 指定者:
sendBlockUpdated
在类中Level
-
updateNeighborsAt
- 覆盖:
updateNeighborsAt
在类中Level
-
updateNeighborsAt
- 覆盖:
updateNeighborsAt
在类中Level
-
updateNeighborsAtExceptFromFacing
public void updateNeighborsAtExceptFromFacing(BlockPos p_215052_, Block p_215053_, Direction p_215054_, @Nullable Orientation p_370072_) -
neighborChanged
- 覆盖:
neighborChanged
在类中Level
-
neighborChanged
public void neighborChanged(BlockState p_215035_, BlockPos p_215036_, Block p_215037_, @Nullable Orientation p_369243_, boolean p_215039_) - 覆盖:
neighborChanged
在类中Level
-
broadcastEntityEvent
- 覆盖:
broadcastEntityEvent
在类中Level
-
broadcastDamageEvent
- 覆盖:
broadcastDamageEvent
在类中Level
-
getChunkSource
- 指定者:
getChunkSource
在接口中LevelAccessor
-
explode
public void 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_, ParticleOptions p_310962_, ParticleOptions p_310322_, Holder<SoundEvent> p_333158_) -
getDestroyType
-
blockEvent
- 覆盖:
blockEvent
在类中Level
-
runBlockEvents
private void runBlockEvents() -
doBlockEvent
-
getBlockTicks
- 指定者:
getBlockTicks
在接口中ScheduledTickAccess
-
getFluidTicks
- 指定者:
getFluidTicks
在接口中ScheduledTickAccess
-
getServer
- 指定者:
getServer
在接口中LevelAccessor
- 覆盖:
getServer
在类中Level
-
getPortalForcer
-
getStructureManager
-
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> int sendParticles(T p_8626_, boolean p_8627_, boolean p_378427_, 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
public <T extends ParticleOptions> boolean sendParticles(ServerPlayer p_376717_, T p_375887_, boolean p_376188_, boolean p_378707_, double p_378284_, double p_377685_, double p_375756_, int p_377117_, double p_378090_, double p_376820_, double p_376920_, double p_377557_) -
sendParticles
private boolean sendParticles(ServerPlayer p_8637_, boolean p_8638_, double p_8639_, double p_8640_, double p_8641_, Packet<?> p_8642_) -
getEntity
-
getEntity
-
getEntityOrPart
已过时。 -
dragonParts
- 指定者:
dragonParts
在类中Level
-
findNearestMapStructure
-
findClosestBiome3d
-
recipeAccess
- 指定者:
recipeAccess
在类中Level
-
tickRateManager
- 指定者:
tickRateManager
在类中Level
-
noSave
public boolean noSave() -
getDataStorage
-
getMapData
- 指定者:
getMapData
在类中Level
-
setMapData
- 指定者:
setMapData
在类中Level
-
getFreeMapId
- 指定者:
getFreeMapId
在类中Level
-
setDefaultSpawnPos
-
getForcedChunks
public it.unimi.dsi.fastutil.longs.LongSet getForcedChunks() -
setChunkForced
public boolean setChunkForced(int p_8603_, int p_8604_, boolean p_8605_) -
players
- 指定者:
players
在接口中EntityGetter
-
onBlockStateChange
- 覆盖:
onBlockStateChange
在类中Level
-
getPoiManager
-
isVillage
-
isVillage
-
isCloseToVillage
-
sectionsToVillage
-
getRaids
-
getRaidAt
-
isRaided
-
onReputationEvent
public void onReputationEvent(ReputationEventType p_8671_, Entity p_8672_, ReputationEventHandler p_8673_) -
saveDebugReport
- 抛出:
IOException
-
dumpEntities
- 抛出:
IOException
-
dumpBlockEntityTickers
- 抛出:
IOException
-
clearBlockEvents
-
blockUpdated
- 指定者:
blockUpdated
在接口中LevelAccessor
-
getShade
- 指定者:
getShade
在接口中BlockAndTintGetter
-
getAllEntities
-
toString
-
isFlat
public boolean isFlat() -
getSeed
public long getSeed()- 指定者:
getSeed
在接口中WorldGenLevel
-
getDragonFight
-
getLevel
- 指定者:
getLevel
在接口中ServerEntityGetter
- 指定者:
getLevel
在接口中ServerLevelAccessor
-
getWatchdogStats
-
getTypeCount
-
getEntities
- 指定者:
getEntities
在类中Level
-
addLegacyChunkEntities
-
addWorldGenChunkEntities
-
startTickingChunk
-
onStructureStartsAvailable
-
getPathTypeCache
-
close
- 指定者:
close
在接口中AutoCloseable
- 覆盖:
close
在类中Level
- 抛出:
IOException
-
gatherChunkSourceStats
- 指定者:
gatherChunkSourceStats
在类中Level
-
areEntitiesLoaded
public boolean areEntitiesLoaded(long p_143320_) -
isPositionTickingWithEntitiesLoaded
private boolean isPositionTickingWithEntitiesLoaded(long p_184111_) -
isPositionEntityTicking
-
isNaturalSpawningAllowed
-
isNaturalSpawningAllowed
-
enabledFeatures
- 指定者:
enabledFeatures
在接口中LevelReader
-
potionBrewing
- 指定者:
potionBrewing
在类中Level
-
fuelValues
- 指定者:
fuelValues
在类中Level
-
getRandomSequence
-
getRandomSequences
-
getGameRules
-
fillReportDetails
- 覆盖:
fillReportDetails
在类中Level
-
getSeaLevel
public int getSeaLevel()- 指定者:
getSeaLevel
在接口中LevelReader
-
getPartEntities
从接口复制的说明:IForgeLevel
All 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.- 指定者:
getPartEntities
在接口中IForgeLevel
-