Package net.minecraft.world
Interface ServerWorldAccess
- All Superinterfaces:
BiomeAccess.Storage
,BlockRenderView
,BlockView
,class_5423
,CollisionView
,EntityView
,LunarWorldView
,ModifiableTestableWorld
,ModifiableWorld
,TestableWorld
,WorldAccess
,WorldView
- All Known Subinterfaces:
StructureWorldAccess
- All Known Implementing Classes:
ChunkRegion
,ServerWorld
public interface ServerWorldAccess extends WorldAccess
Represents access to a world on a logical Minecraft server.
-
Method Summary
Modifier and Type Method Description default void
spawnEntityAndPassengers(Entity entity)
Spawns an entity and all its passengers (recursively) into the world.ServerWorld
toServerWorld()
Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycastBlock
Methods inherited from interface net.minecraft.class_5423
getEntityCollisions, getRegistryManager, getTopPosition, intersectsEntities, method_31081
Methods inherited from interface net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, intersectsEntities, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty
Methods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestEntityIncludingUngeneratedChunks, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesIncludingUngeneratedChunks, getEntitiesIncludingUngeneratedChunks, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
Methods inherited from interface net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngle
Methods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntity
Methods inherited from interface net.minecraft.world.TestableWorld
testBlockState
Methods inherited from interface net.minecraft.world.WorldAccess
addParticle, getBlockTickScheduler, getChunkManager, getDifficulty, getDimensionHeight, getFluidTickScheduler, getLevelProperties, getLocalDifficulty, getLunarTime, getRandom, isChunkLoaded, playSound, syncWorldEvent, syncWorldEvent, updateNeighbors
Methods inherited from interface net.minecraft.world.WorldView
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBrightness, getChunk, getChunk, getChunk, getChunk, getColor, getDimension, getExistingChunk, getGeneratorStoredBiome, getLightLevel, getLightLevel, getSeaLevel, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater, method_29556
-
Method Details
-
toServerWorld
ServerWorld toServerWorld() -
spawnEntityAndPassengers
Spawns an entity and all its passengers (recursively) into the world.
-