Interface WorldAccess

All Superinterfaces:
BiomeAccess.Storage, BlockRenderView, BlockView, CollisionView, EntityView, HeightLimitView, LunarWorldView, ModifiableTestableWorld, ModifiableWorld, RedstoneView, RegistryWorldView, ScheduledTickView, TestableWorld, WorldView
All Known Subinterfaces:
ServerWorldAccess, StructureWorldAccess
All Known Implementing Classes:
ChunkRegion, ClientWorld, ServerWorld, World

public interface WorldAccess extends RegistryWorldView, LunarWorldView, ScheduledTickView
Mappings:
Namespace Name
named net/minecraft/world/WorldAccess
intermediary net/minecraft/class_1936
official dkk
  • Method Details Link icon

    • getLunarTime Link icon

      default long getLunarTime()
      Specified by:
      getLunarTime in interface LunarWorldView
      Mappings:
      Namespace Name Mixin selector
      named getLunarTime Lnet/minecraft/world/LunarWorldView;getLunarTime()J
      intermediary method_30271 Lnet/minecraft/class_5424;method_30271()J
      official am Ldkq;am()J
    • getTickOrder Link icon

      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 I_ Ldkk;I_()J
    • createOrderedTick Link icon

      default <T> OrderedTick<T> createOrderedTick(BlockPos pos, T type, int delay, TickPriority priority)
      Specified by:
      createOrderedTick in interface ScheduledTickView
      Mappings:
      Namespace Name Mixin selector
      named createOrderedTick Lnet/minecraft/world/tick/ScheduledTickView;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_10225;method_39284(Lnet/minecraft/class_2338;Ljava/lang/Object;ILnet/minecraft/class_1953;)Lnet/minecraft/class_6760;
      official a Ldky;a(Liw;Ljava/lang/Object;ILfhy;)Lfhu;
    • createOrderedTick Link icon

      default <T> OrderedTick<T> createOrderedTick(BlockPos pos, T type, int delay)
      Specified by:
      createOrderedTick in interface ScheduledTickView
      Mappings:
      Namespace Name Mixin selector
      named createOrderedTick Lnet/minecraft/world/tick/ScheduledTickView;createOrderedTick(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;I)Lnet/minecraft/world/tick/OrderedTick;
      intermediary method_39283 Lnet/minecraft/class_10225;method_39283(Lnet/minecraft/class_2338;Ljava/lang/Object;I)Lnet/minecraft/class_6760;
      official a Ldky;a(Liw;Ljava/lang/Object;I)Lfhu;
    • getLevelProperties Link icon

      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 C_ Ldkk;C_()Lfad;
    • getLocalDifficulty Link icon

      LocalDifficulty getLocalDifficulty(BlockPos pos)
      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_ Ldkk;d_(Liw;)Lbva;
    • getServer Link icon

      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 p Ldkk;p()Lnet/minecraft/server/MinecraftServer;
    • getDifficulty Link icon

      default Difficulty 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 an Ldkk;an()Lbuz;
    • getChunkManager Link icon

      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 S Ldkk;S()Ledr;
    • isChunkLoaded Link icon

      default boolean isChunkLoaded(int chunkX, int chunkZ)
      Specified by:
      isChunkLoaded in interface WorldView
      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 Ldkm;b(II)Z
    • getRandom Link icon

      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 G_ Ldkk;G_()Lbai;
    • updateNeighbors Link icon

      default void updateNeighbors(BlockPos pos, Block block)
      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 a Ldkk;a(Liw;Ldno;)V
    • replaceWithStateForNeighborUpdate Link icon

      default void replaceWithStateForNeighborUpdate(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int flags, int maxUpdateDepth)
      Mappings:
      Namespace Name Mixin selector
      named replaceWithStateForNeighborUpdate Lnet/minecraft/world/WorldAccess;replaceWithStateForNeighborUpdate(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)V
      intermediary method_42308 Lnet/minecraft/class_1936;method_42308(Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)V
      official a Ldkk;a(Ljc;Liw;Liw;Lebq;II)V
    • playSound Link icon

      default void playSound(@Nullable @Nullable Entity source, BlockPos pos, SoundEvent sound, SoundCategory category)
      Mappings:
      Namespace Name Mixin selector
      named playSound Lnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/Entity;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_1297;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;)V
      official a Ldkk;a(Lbxe;Liw;Lawx;Lawz;)V
    • playSound Link icon

      void playSound(@Nullable @Nullable Entity 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/Entity;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_1297;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
      official a Ldkk;a(Lbxe;Liw;Lawx;Lawz;FF)V
    • addParticleClient Link icon

      void addParticleClient(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
      Adds a particle to the client's world renderer. Does nothing on the server.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named addParticleClient Lnet/minecraft/world/WorldAccess;addParticleClient(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
      intermediary method_8406 Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)V
      official a Ldkk;a(Llx;DDDDDD)V
    • syncWorldEvent Link icon

      void syncWorldEvent(@Nullable @Nullable Entity source, int eventId, BlockPos pos, int data)
      Mappings:
      Namespace Name Mixin selector
      named syncWorldEvent Lnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/Entity;ILnet/minecraft/util/math/BlockPos;I)V
      intermediary method_8444 Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1297;ILnet/minecraft/class_2338;I)V
      official a Ldkk;a(Lbxe;ILiw;I)V
    • syncWorldEvent Link icon

      default void syncWorldEvent(int eventId, BlockPos pos, int data)
      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 Ldkk;c(ILiw;I)V
    • emitGameEvent Link icon

      void emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter)
      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 Ldkk;a(Ljg;Lfgc;Legq$a;)V
    • emitGameEvent Link icon

      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 Ldkk;a(Lbxe;Ljg;Lfgc;)V
    • emitGameEvent Link icon

      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 Ldkk;a(Lbxe;Ljg;Liw;)V
    • emitGameEvent Link icon

      default void emitGameEvent(RegistryEntry<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter)
      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 Ldkk;a(Ljg;Liw;Legq$a;)V
    • emitGameEvent Link icon

      default void emitGameEvent(RegistryKey<GameEvent> event, BlockPos pos, GameEvent.Emitter emitter)
      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 Ldkk;a(Lalq;Liw;Legq$a;)V