Package net.minecraft.world
Interface WorldAccess
- All Superinterfaces:
BiomeAccess.Storage
,BlockRenderView
,BlockView
,CollisionView
,EntityView
,HeightLimitView
,LunarWorldView
,ModifiableTestableWorld
,ModifiableWorld
,RedstoneView
,RegistryWorldView
,TestableWorld
,WorldView
- All Known Subinterfaces:
ServerWorldAccess
,StructureWorldAccess
- All Known Implementing Classes:
ChunkRegion
,ClientWorld
,ServerWorld
,World
- Mappings:
Namespace Name named net/minecraft/world/WorldAccess
intermediary net/minecraft/class_1936
official dcx
-
Field Summary
Fields inherited from interface net.minecraft.world.RedstoneView
DIRECTIONS
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) private <T> OrderedTick
<T> createOrderedTick
(BlockPos pos, T type, int delay) private <T> OrderedTick
<T> createOrderedTick
(BlockPos pos, T type, int delay, TickPriority priority) default void
emitGameEvent
(@Nullable Entity entity, RegistryEntry<GameEvent> event, BlockPos pos) default void
emitGameEvent
(@Nullable Entity entity, RegistryEntry<GameEvent> event, Vec3d pos) default void
emitGameEvent
(RegistryEntry<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) void
emitGameEvent
(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.default void
emitGameEvent
(RegistryKey<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter) default Difficulty
default long
long
default boolean
isChunkLoaded
(int chunkX, int chunkZ) default void
playSound
(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) void
playSound
(@Nullable PlayerEntity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) default void
replaceWithStateForNeighborUpdate
(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) default void
scheduleBlockTick
(BlockPos pos, Block block, int delay) default void
scheduleBlockTick
(BlockPos pos, Block block, int delay, TickPriority priority) default void
scheduleFluidTick
(BlockPos pos, Fluid fluid, int delay) default void
scheduleFluidTick
(BlockPos pos, Fluid fluid, int delay, TickPriority priority) default void
syncWorldEvent
(int eventId, BlockPos pos, int data) void
syncWorldEvent
(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) default void
updateNeighbors
(BlockPos pos, Block block) 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.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty
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.RedstoneView
getEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePower
Methods inherited from interface net.minecraft.world.RegistryWorldView
doesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPosition
Methods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidState
Methods 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
-
getLunarTime
default long getLunarTime()- Specified by:
getLunarTime
in interfaceLunarWorldView
- Mappings:
Namespace Name Mixin selector named getLunarTime
Lnet/minecraft/world/LunarWorldView;getLunarTime()J
intermediary method_30271
Lnet/minecraft/class_5424;method_30271()J
official ak
Lddd;ak()J
-
getTickOrder
long getTickOrder()- Mappings:
Namespace Name Mixin selector named getTickOrder
Lnet/minecraft/world/WorldAccess;getTickOrder()J
intermediary method_39224
Lnet/minecraft/class_1936;method_39224()J
official G_
Ldcx;G_()J
-
getBlockTickScheduler
QueryableTickScheduler<Block> getBlockTickScheduler()- Mappings:
Namespace Name Mixin selector named getBlockTickScheduler
Lnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
intermediary method_8397
Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_6756;
official P
Ldcx;P()Leyp;
-
createOrderedTick
private <T> OrderedTick<T> createOrderedTick(BlockPos pos, T type, int delay, TickPriority priority) - Mappings:
Namespace Name Mixin selector named createOrderedTick
Lnet/minecraft/world/WorldAccess;createOrderedTick(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/tick/TickPriority;)Lnet/minecraft/world/tick/OrderedTick;
intermediary method_39284
Lnet/minecraft/class_1936;method_39284(Lnet/minecraft/class_2338;Ljava/lang/Object;ILnet/minecraft/class_1953;)Lnet/minecraft/class_6760;
official a
Ldcx;a(Ljd;Ljava/lang/Object;ILeyx;)Leyt;
-
createOrderedTick
- Mappings:
Namespace Name Mixin selector named createOrderedTick
Lnet/minecraft/world/WorldAccess;createOrderedTick(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;I)Lnet/minecraft/world/tick/OrderedTick;
intermediary method_39283
Lnet/minecraft/class_1936;method_39283(Lnet/minecraft/class_2338;Ljava/lang/Object;I)Lnet/minecraft/class_6760;
official a
Ldcx;a(Ljd;Ljava/lang/Object;I)Leyt;
-
scheduleBlockTick
- Mappings:
Namespace Name Mixin selector named scheduleBlockTick
Lnet/minecraft/world/WorldAccess;scheduleBlockTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;ILnet/minecraft/world/tick/TickPriority;)V
intermediary method_39280
Lnet/minecraft/class_1936;method_39280(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;ILnet/minecraft/class_1953;)V
official a
Ldcx;a(Ljd;Ldfy;ILeyx;)V
-
scheduleBlockTick
- Mappings:
Namespace Name Mixin selector named scheduleBlockTick
Lnet/minecraft/world/WorldAccess;scheduleBlockTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;I)V
intermediary method_39279
Lnet/minecraft/class_1936;method_39279(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;I)V
official a
Ldcx;a(Ljd;Ldfy;I)V
-
getFluidTickScheduler
QueryableTickScheduler<Fluid> getFluidTickScheduler()- Mappings:
Namespace Name Mixin selector named getFluidTickScheduler
Lnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
intermediary method_8405
Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_6756;
official O
Ldcx;O()Leyp;
-
scheduleFluidTick
- Mappings:
Namespace Name Mixin selector named scheduleFluidTick
Lnet/minecraft/world/WorldAccess;scheduleFluidTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;ILnet/minecraft/world/tick/TickPriority;)V
intermediary method_39282
Lnet/minecraft/class_1936;method_39282(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;ILnet/minecraft/class_1953;)V
official a
Ldcx;a(Ljd;Lepd;ILeyx;)V
-
scheduleFluidTick
- Mappings:
Namespace Name Mixin selector named scheduleFluidTick
Lnet/minecraft/world/WorldAccess;scheduleFluidTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;I)V
intermediary method_39281
Lnet/minecraft/class_1936;method_39281(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;I)V
official a
Ldcx;a(Ljd;Lepd;I)V
-
getLevelProperties
WorldProperties getLevelProperties()- Mappings:
Namespace Name Mixin selector named getLevelProperties
Lnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
intermediary method_8401
Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;
official A_
Ldcx;A_()Lerb;
-
getLocalDifficulty
- Mappings:
Namespace Name Mixin selector named getLocalDifficulty
Lnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
intermediary method_8404
Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;
official d_
Ldcx;d_(Ljd;)Lbqp;
-
getServer
- Mappings:
Namespace Name Mixin selector named getServer
Lnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
intermediary method_8503
Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;
official o
Ldcx;o()Lnet/minecraft/server/MinecraftServer;
-
getDifficulty
- Mappings:
Namespace Name Mixin selector named getDifficulty
Lnet/minecraft/world/WorldAccess;getDifficulty()Lnet/minecraft/world/Difficulty;
intermediary method_8407
Lnet/minecraft/class_1936;method_8407()Lnet/minecraft/class_1267;
official al
Ldcx;al()Lbqo;
-
getChunkManager
ChunkManager getChunkManager()- Mappings:
Namespace Name Mixin selector named getChunkManager
Lnet/minecraft/world/WorldAccess;getChunkManager()Lnet/minecraft/world/chunk/ChunkManager;
intermediary method_8398
Lnet/minecraft/class_1936;method_8398()Lnet/minecraft/class_2802;
official N
Ldcx;N()Ldvc;
-
isChunkLoaded
default boolean isChunkLoaded(int chunkX, int chunkZ) - Specified by:
isChunkLoaded
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector named isChunkLoaded
Lnet/minecraft/world/WorldView;isChunkLoaded(II)Z
intermediary method_8393
Lnet/minecraft/class_4538;method_8393(II)Z
official b
Ldcz;b(II)Z
-
getRandom
Random getRandom()- Mappings:
Namespace Name Mixin selector named getRandom
Lnet/minecraft/world/WorldAccess;getRandom()Lnet/minecraft/util/math/random/Random;
intermediary method_8409
Lnet/minecraft/class_1936;method_8409()Lnet/minecraft/class_5819;
official E_
Ldcx;E_()Layw;
-
updateNeighbors
- Mappings:
Namespace Name Mixin selector named updateNeighbors
Lnet/minecraft/world/WorldAccess;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
intermediary method_8408
Lnet/minecraft/class_1936;method_8408(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
official b
Ldcx;b(Ljd;Ldfy;)V
-
replaceWithStateForNeighborUpdate
default void replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth) - Mappings:
Namespace Name Mixin selector named replaceWithStateForNeighborUpdate
Lnet/minecraft/world/WorldAccess;replaceWithStateForNeighborUpdate(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;II)V
intermediary method_42308
Lnet/minecraft/class_1936;method_42308(Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;II)V
official a
Ldcx;a(Lji;Ldtc;Ljd;Ljd;II)V
-
playSound
default void playSound(@Nullable @Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category) - Mappings:
Namespace Name Mixin selector 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;)V
intermediary method_45447
Lnet/minecraft/class_1936;method_45447(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)V
official a
Ldcx;a(Lcmx;Ljd;Lavo;Lavq;)V
-
playSound
void playSound(@Nullable @Nullable PlayerEntity source, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) - Mappings:
Namespace Name Mixin selector 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
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
official a
Ldcx;a(Lcmx;Ljd;Lavo;Lavq;FF)V
-
addParticle
void addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector named addParticle
Lnet/minecraft/world/WorldAccess;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
intermediary method_8406
Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)V
official a
Ldcx;a(Llk;DDDDDD)V
-
syncWorldEvent
- Mappings:
Namespace Name Mixin selector named syncWorldEvent
Lnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
intermediary method_8444
Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)V
official a
Ldcx;a(Lcmx;ILjd;I)V
-
syncWorldEvent
- Mappings:
Namespace Name Mixin selector named syncWorldEvent
Lnet/minecraft/world/WorldAccess;syncWorldEvent(ILnet/minecraft/util/math/BlockPos;I)V
intermediary method_20290
Lnet/minecraft/class_1936;method_20290(ILnet/minecraft/class_2338;I)V
official c
Ldcx;c(ILjd;I)V
-
emitGameEvent
Emits a game event.- Mappings:
Namespace Name Mixin selector named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/event/GameEvent$Emitter;)V
intermediary method_32888
Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_6880;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;)V
official a
Ldcx;a(Ljm;Lexc;Ldxz$a;)V
-
emitGameEvent
default void emitGameEvent(@Nullable @Nullable Entity entity, RegistryEntry<GameEvent> event, Vec3d pos) - Mappings:
Namespace Name Mixin selector named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_43275
Lnet/minecraft/class_1936;method_43275(Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_243;)V
official a
Ldcx;a(Lbsr;Ljm;Lexc;)V
-
emitGameEvent
default void emitGameEvent(@Nullable @Nullable Entity entity, RegistryEntry<GameEvent> event, BlockPos pos) - Mappings:
Namespace Name Mixin selector named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_33596
Lnet/minecraft/class_1936;method_33596(Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;)V
official a
Ldcx;a(Lbsr;Ljm;Ljd;)V
-
emitGameEvent
- Mappings:
Namespace Name Mixin selector named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent$Emitter;)V
intermediary method_43276
Lnet/minecraft/class_1936;method_43276(Lnet/minecraft/class_6880;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712$class_7397;)V
official a
Ldcx;a(Ljm;Ljd;Ldxz$a;)V
-
emitGameEvent
- Mappings:
Namespace Name Mixin selector named emitGameEvent
Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent$Emitter;)V
intermediary method_55764
Lnet/minecraft/class_1936;method_55764(Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712$class_7397;)V
official a
Ldcx;a(Lakq;Ljd;Ldxz$a;)V
-