Package net.minecraft.world
Interface ServerWorldAccess
- All Superinterfaces:
BiomeAccess.Storage
,BlockRenderView
,BlockView
,class_5423
,CollisionView
,EntityView
,HeightLimitView
,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.
- Mappings:
Namespace Name official buj
intermediary net/minecraft/class_5425
named net/minecraft/world/ServerWorldAccess
-
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.biome.source.BiomeAccess.Storage
method_31609
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, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.class_5423
getBiomeKey, getEntityCollisions, getRegistryManager, getTopPosition, intersectsEntities
Methods inherited from interface net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, intersectsEntities, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_33594
Methods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
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, emitGameEvent, emitGameEvent, emitGameEvent, getBlockTickScheduler, getChunkManager, getDifficulty, getFluidTickScheduler, getLevelProperties, getLocalDifficulty, getLunarTime, getRandom, isChunkLoaded, method_33596, playSound, syncWorldEvent, syncWorldEvent, updateNeighbors
Methods inherited from interface net.minecraft.world.WorldView
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getSeaLevel, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater, method_29556, method_33597, method_33598
-
Method Details
-
toServerWorld
ServerWorld toServerWorld()- Mappings:
Namespace Name Mixin selector official G
Lbuj;G()Laav;
intermediary method_8410
Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;
named toServerWorld
Lnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
spawnEntityAndPassengers
Spawns an entity and all its passengers (recursively) into the world.- Mappings:
Namespace Name Mixin selector official h
Lbuj;h(Laqv;)V
intermediary method_30771
Lnet/minecraft/class_5425;method_30771(Lnet/minecraft/class_1297;)V
named spawnEntityAndPassengers
Lnet/minecraft/world/ServerWorldAccess;spawnEntityAndPassengers(Lnet/minecraft/entity/Entity;)V
-