接口 WorldAccess
-
- 所有超级接口:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RegistryWorldView,TestableWorld,WorldView
- 所有已知子接口:
ServerWorldAccess,StructureWorldAccess
- 所有已知实现类:
ChunkRegion,ClientWorld,ServerWorld,World
public interface WorldAccess extends RegistryWorldView, LunarWorldView
- Mappings:
Namespace Name official bvsintermediary net/minecraft/class_1936named net/minecraft/world/WorldAccess
-
-
方法概要
-
从接口继承的方法 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.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
-
-
-
-
方法详细资料
-
getLunarTime
default long getLunarTime()
- 指定者:
getLunarTime在接口中LunarWorldView- Mappings:
Namespace Name Mixin selector official aeLbvy;ae()Jintermediary method_30271Lnet/minecraft/class_5424;method_30271()Jnamed getLunarTimeLnet/minecraft/world/LunarWorldView;getLunarTime()J
-
getBlockTickScheduler
TickScheduler<Block> getBlockTickScheduler()
- Mappings:
Namespace Name Mixin selector official NLbvs;N()Lbwj;intermediary method_8397Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_1951;named getBlockTickSchedulerLnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/TickScheduler;
-
getFluidTickScheduler
TickScheduler<Fluid> getFluidTickScheduler()
- Mappings:
Namespace Name Mixin selector official MLbvs;M()Lbwj;intermediary method_8405Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_1951;named getFluidTickSchedulerLnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/TickScheduler;
-
getLevelProperties
WorldProperties getLevelProperties()
- Mappings:
Namespace Name Mixin selector official gLbvs;g()Ldgy;intermediary method_8401Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;named getLevelPropertiesLnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
-
getLocalDifficulty
LocalDifficulty getLocalDifficulty(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official dLbvs;d(Lgb;)Lare;intermediary method_8404Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;named getLocalDifficultyLnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
-
getServer
@Nullable @Nullable MinecraftServer getServer()
- Mappings:
Namespace Name Mixin selector official nLbvs;n()Lnet/minecraft/server/MinecraftServer;intermediary method_8503Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;named getServerLnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
-
getDifficulty
default Difficulty getDifficulty()
- Mappings:
Namespace Name Mixin selector official afLbvs;af()Lard;intermediary method_8407Lnet/minecraft/class_1936;method_8407()Lnet/minecraft/class_1267;named getDifficultyLnet/minecraft/world/WorldAccess;getDifficulty()Lnet/minecraft/world/Difficulty;
-
getChunkManager
ChunkManager getChunkManager()
- Mappings:
Namespace Name Mixin selector official LLbvs;L()Lcln;intermediary method_8398Lnet/minecraft/class_1936;method_8398()Lnet/minecraft/class_2802;named getChunkManagerLnet/minecraft/world/WorldAccess;getChunkManager()Lnet/minecraft/world/chunk/ChunkManager;
-
isChunkLoaded
default boolean isChunkLoaded(int chunkX, int chunkZ)- 指定者:
isChunkLoaded在接口中WorldView- Mappings:
Namespace Name Mixin selector official bLbvu;b(II)Zintermediary method_8393Lnet/minecraft/class_4538;method_8393(II)Znamed isChunkLoadedLnet/minecraft/world/WorldView;isChunkLoaded(II)Z
-
getRandom
Random getRandom()
- Mappings:
Namespace Name Mixin selector official iLbvs;i()Ljava/util/Random;intermediary method_8409Lnet/minecraft/class_1936;method_8409()Ljava/util/Random;named getRandomLnet/minecraft/world/WorldAccess;getRandom()Ljava/util/Random;
-
updateNeighbors
default void updateNeighbors(BlockPos pos, Block block)
- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lgb;Lbyq;)Vintermediary method_8408Lnet/minecraft/class_1936;method_8408(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)Vnamed updateNeighborsLnet/minecraft/world/WorldAccess;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
playSound
void playSound(@Nullable @Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lbjf;Lgb;Laev;Laex;FF)Vintermediary method_8396Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
addParticle
void addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lho;DDDDDD)Vintermediary method_8406Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)Vnamed addParticleLnet/minecraft/world/WorldAccess;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
-
syncWorldEvent
void syncWorldEvent(@Nullable @Nullable PlayerEntity player, int eventId, BlockPos pos, int data)
- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lbjf;ILgb;I)Vintermediary method_8444Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)Vnamed syncWorldEventLnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
-
getLogicalHeight
default int getLogicalHeight()
- Mappings:
Namespace Name Mixin selector official jLbvs;j()Iintermediary method_32819Lnet/minecraft/class_1936;method_32819()Inamed getLogicalHeightLnet/minecraft/world/WorldAccess;getLogicalHeight()I
-
syncWorldEvent
default void syncWorldEvent(int eventId, BlockPos pos, int data)- Mappings:
Namespace Name Mixin selector official cLbvs;c(ILgb;I)Vintermediary method_20290Lnet/minecraft/class_1936;method_20290(ILnet/minecraft/class_2338;I)Vnamed syncWorldEventLnet/minecraft/world/WorldAccess;syncWorldEvent(ILnet/minecraft/util/math/BlockPos;I)V
-
emitGameEvent
void emitGameEvent(@Nullable @Nullable Entity entity, GameEvent event, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lasl;Lcnt;Lgb;)Vintermediary method_32888Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;)V
-
emitGameEvent
default void emitGameEvent(GameEvent event, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lcnt;Lgb;)Vintermediary method_32889Lnet/minecraft/class_1936;method_32889(Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;)V
-
emitGameEvent
default void emitGameEvent(GameEvent event, Entity emitter)
- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lcnt;Lasl;)Vintermediary method_33596Lnet/minecraft/class_1936;method_33596(Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)V
-
emitGameEvent
default void emitGameEvent(@Nullable @Nullable Entity entity, GameEvent event, Entity emitter)
- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lasl;Lcnt;Lasl;)Vintermediary method_32887Lnet/minecraft/class_1936;method_32887(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)Vnamed emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)V
-
-