接口 ServerWorldAccess
-
- 所有超级接口:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RegistryWorldView,TestableWorld,WorldAccess,WorldView
- 所有已知子接口:
StructureWorldAccess
- 所有已知实现类:
ChunkRegion,ServerWorld
public interface ServerWorldAccess extends WorldAccess
Represents access to a world on a logical Minecraft server.- Mappings:
Namespace Name official bwfintermediary net/minecraft/class_5425named net/minecraft/world/ServerWorldAccess
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default voidspawnEntityAndPassengers(Entity entity)Spawns an entity and all its passengers (recursively) into the world.ServerWorldtoServerWorld()-
从接口继承的方法 net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
-
从接口继承的方法 net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
-
从接口继承的方法 net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
-
从接口继承的方法 net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, intersectsEntities, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_33594
-
从接口继承的方法 net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
-
从接口继承的方法 net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
从接口继承的方法 net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngle
-
从接口继承的方法 net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntity
-
从接口继承的方法 net.minecraft.world.RegistryWorldView
getBiomeKey, getBlockEntity, getEntityCollisions, getRegistryManager, getTopPosition, intersectsEntities
-
从接口继承的方法 net.minecraft.world.TestableWorld
testBlockState, testFluidState
-
从接口继承的方法 net.minecraft.world.WorldAccess
addParticle, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, getBlockTickScheduler, getChunkManager, getDifficulty, getFluidTickScheduler, getLevelProperties, getLocalDifficulty, getLogicalHeight, getLunarTime, getRandom, getServer, isChunkLoaded, playSound, syncWorldEvent, syncWorldEvent, updateNeighbors
-
从接口继承的方法 net.minecraft.world.WorldView
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getSeaLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
-
-
-
方法详细资料
-
toServerWorld
ServerWorld toServerWorld()
- Mappings:
Namespace Name Mixin selector official GLbwf;G()Labj;intermediary method_8410Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;named toServerWorldLnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
-
spawnEntityAndPassengers
default void spawnEntityAndPassengers(Entity entity)
Spawns an entity and all its passengers (recursively) into the world.- Mappings:
Namespace Name Mixin selector official hLbwf;h(Lasl;)Vintermediary method_30771Lnet/minecraft/class_5425;method_30771(Lnet/minecraft/class_1297;)Vnamed spawnEntityAndPassengersLnet/minecraft/world/ServerWorldAccess;spawnEntityAndPassengers(Lnet/minecraft/entity/Entity;)V
-
-