Package net.minecraft.world
Interface WorldAccess
- All Superinterfaces:
BiomeAccess.Storage
,BlockRenderView
,BlockView
,class_5423
,CollisionView
,EntityView
,HeightLimitView
,LunarWorldView
,ModifiableTestableWorld
,ModifiableWorld
,TestableWorld
,WorldView
- All Known Subinterfaces:
ServerWorldAccess
,StructureWorldAccess
- All Known Implementing Classes:
ChunkRegion
,ClientWorld
,ServerWorld
,World
public interface WorldAccess extends class_5423, LunarWorldView
- Mappings:
Namespace Name official btw
intermediary net/minecraft/class_1936
named net/minecraft/world/WorldAccess
-
Method Summary
Modifier and Type Method Description void
addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
default void
emitGameEvent(Entity entity, GameEvent event, Entity emitter)
void
emitGameEvent(Entity entity, GameEvent event, BlockPos pos)
default void
emitGameEvent(GameEvent event, BlockPos pos)
TickScheduler<Block>
getBlockTickScheduler()
ChunkManager
getChunkManager()
default Difficulty
getDifficulty()
TickScheduler<Fluid>
getFluidTickScheduler()
WorldProperties
getLevelProperties()
LocalDifficulty
getLocalDifficulty(BlockPos pos)
default long
getLunarTime()
Random
getRandom()
default boolean
isChunkLoaded(int chunkX, int chunkZ)
default void
method_33596(GameEvent gameEvent, Entity entity)
void
playSound(PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
default void
syncWorldEvent(int eventId, BlockPos pos, int data)
void
syncWorldEvent(PlayerEntity player, int eventId, BlockPos pos, int data)
default void
updateNeighbors(BlockPos pos, Block block)
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.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
-
getLunarTime
default long getLunarTime()- Specified by:
getLunarTime
in interfaceLunarWorldView
- Mappings:
Namespace Name Mixin selector official ae
Lbuc;ae()J
intermediary method_30271
Lnet/minecraft/class_5424;method_30271()J
named getLunarTime
Lnet/minecraft/world/LunarWorldView;getLunarTime()J
-
getBlockTickScheduler
TickScheduler<Block> getBlockTickScheduler()- Mappings:
Namespace Name Mixin selector official N
Lbtw;N()Lbun;
intermediary method_8397
Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_1951;
named getBlockTickScheduler
Lnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/TickScheduler;
-
getFluidTickScheduler
TickScheduler<Fluid> getFluidTickScheduler()- Mappings:
Namespace Name Mixin selector official M
Lbtw;M()Lbun;
intermediary method_8405
Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_1951;
named getFluidTickScheduler
Lnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/TickScheduler;
-
getLevelProperties
WorldProperties getLevelProperties()- Mappings:
Namespace Name Mixin selector official g
Lbtw;g()Lddr;
intermediary method_8401
Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;
named getLevelProperties
Lnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
-
getLocalDifficulty
- Mappings:
Namespace Name Mixin selector official d
Lbtw;d(Lfx;)Lapo;
intermediary method_8404
Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;
named getLocalDifficulty
Lnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
-
getDifficulty
- Mappings:
Namespace Name Mixin selector official af
Lbtw;af()Lapn;
intermediary method_8407
Lnet/minecraft/class_1936;method_8407()Lnet/minecraft/class_1267;
named getDifficulty
Lnet/minecraft/world/WorldAccess;getDifficulty()Lnet/minecraft/world/Difficulty;
-
getChunkManager
ChunkManager getChunkManager()- Mappings:
Namespace Name Mixin selector official L
Lbtw;L()Lcjo;
intermediary method_8398
Lnet/minecraft/class_1936;method_8398()Lnet/minecraft/class_2802;
named getChunkManager
Lnet/minecraft/world/WorldAccess;getChunkManager()Lnet/minecraft/world/chunk/ChunkManager;
-
isChunkLoaded
default boolean isChunkLoaded(int chunkX, int chunkZ)- Specified by:
isChunkLoaded
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official b
Lbty;b(II)Z
intermediary method_8393
Lnet/minecraft/class_4538;method_8393(II)Z
named isChunkLoaded
Lnet/minecraft/world/WorldView;isChunkLoaded(II)Z
-
getRandom
Random getRandom()- Mappings:
Namespace Name Mixin selector official i
Lbtw;i()Ljava/util/Random;
intermediary method_8409
Lnet/minecraft/class_1936;method_8409()Ljava/util/Random;
named getRandom
Lnet/minecraft/world/WorldAccess;getRandom()Ljava/util/Random;
-
updateNeighbors
- Mappings:
Namespace Name Mixin selector official a
Lbtw;a(Lfx;Lbwu;)V
intermediary method_8408
Lnet/minecraft/class_1936;method_8408(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
named updateNeighbors
Lnet/minecraft/world/WorldAccess;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
playSound
void playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)- Mappings:
Namespace Name Mixin selector official a
Lbtw;a(Lbhl;Lfx;Laef;Laeh;FF)V
intermediary method_8396
Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
named playSound
Lnet/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 a
Lbtw;a(Lhj;DDDDDD)V
intermediary method_8406
Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)V
named addParticle
Lnet/minecraft/world/WorldAccess;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
-
syncWorldEvent
- Mappings:
Namespace Name Mixin selector official a
Lbtw;a(Lbhl;ILfx;I)V
intermediary method_8444
Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)V
named syncWorldEvent
Lnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
-
syncWorldEvent
- Mappings:
Namespace Name Mixin selector official c
Lbtw;c(ILfx;I)V
intermediary method_20290
Lnet/minecraft/class_1936;method_20290(ILnet/minecraft/class_2338;I)V
named syncWorldEvent
Lnet/minecraft/world/WorldAccess;syncWorldEvent(ILnet/minecraft/util/math/BlockPos;I)V
-
emitGameEvent
- Mappings:
Namespace Name Mixin selector official a
Lbtw;a(Laqv;Lclt;Lfx;)V
intermediary method_32888
Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)V
named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;)V
-
emitGameEvent
- Mappings:
Namespace Name Mixin selector official a
Lbtw;a(Lclt;Lfx;)V
intermediary method_32889
Lnet/minecraft/class_1936;method_32889(Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)V
named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;)V
-
method_33596
- Mappings:
Namespace Name Mixin selector official a
Lbtw;a(Lclt;Laqv;)V
intermediary method_33596
Lnet/minecraft/class_1936;method_33596(Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)V
named method_33596
Lnet/minecraft/world/WorldAccess;method_33596(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)V
-
emitGameEvent
- Mappings:
Namespace Name Mixin selector official a
Lbtw;a(Laqv;Lclt;Laqv;)V
intermediary method_32887
Lnet/minecraft/class_1936;method_32887(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)V
named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;)V
-