Package net.minecraft.world
Interface ServerWorldAccess
- All Superinterfaces:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RedstoneView,RegistryWorldView,TestableWorld,WorldAccess,WorldView
- All Known Subinterfaces:
StructureWorldAccess
- All Known Implementing Classes:
ChunkRegion,ServerWorld
Represents access to a world on a logical Minecraft server.
- Mappings:
Namespace Name named net/minecraft/world/ServerWorldAccessintermediary net/minecraft/class_5425official ddl
-
Field Summary
Fields inherited from interface net.minecraft.world.RedstoneView
DIRECTIONS -
Method Summary
Modifier and TypeMethodDescriptiondefault voidspawnEntityAndPassengers(Entity entity) Spawns an entity and all its passengers (recursively) into the world.Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRangeMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngleMethods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntityMethods inherited from interface net.minecraft.world.RedstoneView
getEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.RegistryWorldView
doesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPositionMethods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidStateMethods inherited from interface net.minecraft.world.WorldAccess
addParticle, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, getBlockTickScheduler, getChunkManager, getDifficulty, getFluidTickScheduler, getLevelProperties, getLocalDifficulty, getLunarTime, getRandom, getServer, getTickOrder, isChunkLoaded, playSound, playSound, replaceWithStateForNeighborUpdate, scheduleBlockTick, scheduleBlockTick, scheduleFluidTick, scheduleFluidTick, syncWorldEvent, syncWorldEvent, updateNeighborsMethods inherited from interface net.minecraft.world.WorldView
containsFluid, createCommandRegistryWrapper, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getEnabledFeatures, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getPhototaxisFavor, getRegistryManager, getSeaLevel, getStatesInBoxIfLoaded, getTopY, isAir, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Method Details
-
toServerWorld
ServerWorld toServerWorld()- Mappings:
Namespace Name Mixin selector named toServerWorldLnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;intermediary method_8410Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;official ELddl;E()Laqu;
-
spawnEntityAndPassengers
Spawns an entity and all its passengers (recursively) into the world.- Mappings:
Namespace Name Mixin selector named spawnEntityAndPassengersLnet/minecraft/world/ServerWorldAccess;spawnEntityAndPassengers(Lnet/minecraft/entity/Entity;)Vintermediary method_30771Lnet/minecraft/class_5425;method_30771(Lnet/minecraft/class_1297;)Vofficial a_Lddl;a_(Lbsr;)V
-