Interface WorldAccess

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

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

    • getLunarTime

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

      long getTickOrder()
      Mappings:
      Namespace Name Mixin selector
      official t_ Lcaw;t_()J
      intermediary method_39224 Lnet/minecraft/class_1936;method_39224()J
      named getTickOrder Lnet/minecraft/world/WorldAccess;getTickOrder()J
    • getBlockTickScheduler

      QueryableTickScheduler<Block> getBlockTickScheduler()
      Mappings:
      Namespace Name Mixin selector
      official M Lcaw;M()Ldqu;
      intermediary method_8397 Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_6756;
      named getBlockTickScheduler Lnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
    • createOrderedTick

      private <T> OrderedTick<T> createOrderedTick(BlockPos pos, T type, int delay, TickPriority priority)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lgj;Ljava/lang/Object;ILdrc;)Ldqy;
      intermediary method_39284 Lnet/minecraft/class_1936;method_39284(Lnet/minecraft/class_2338;Ljava/lang/Object;ILnet/minecraft/class_1953;)Lnet/minecraft/class_6760;
      named createOrderedTick Lnet/minecraft/world/WorldAccess;createOrderedTick(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/TickPriority;)Lnet/minecraft/world/tick/OrderedTick;
    • createOrderedTick

      private <T> OrderedTick<T> createOrderedTick(BlockPos pos, T type, int delay)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lgj;Ljava/lang/Object;I)Ldqy;
      intermediary method_39283 Lnet/minecraft/class_1936;method_39283(Lnet/minecraft/class_2338;Ljava/lang/Object;I)Lnet/minecraft/class_6760;
      named createOrderedTick Lnet/minecraft/world/WorldAccess;createOrderedTick(Lnet/minecraft/util/math/BlockPos;Ljava/lang/Object;I)Lnet/minecraft/world/tick/OrderedTick;
    • createAndScheduleBlockTick

      default void createAndScheduleBlockTick(BlockPos pos, Block block, int delay, TickPriority priority)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lgj;Lcdq;ILdrc;)V
      intermediary method_39280 Lnet/minecraft/class_1936;method_39280(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;ILnet/minecraft/class_1953;)V
      named createAndScheduleBlockTick Lnet/minecraft/world/WorldAccess;createAndScheduleBlockTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;ILnet/minecraft/world/TickPriority;)V
    • createAndScheduleBlockTick

      default void createAndScheduleBlockTick(BlockPos pos, Block block, int delay)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lgj;Lcdq;I)V
      intermediary method_39279 Lnet/minecraft/class_1936;method_39279(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;I)V
      named createAndScheduleBlockTick Lnet/minecraft/world/WorldAccess;createAndScheduleBlockTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;I)V
    • getFluidTickScheduler

      QueryableTickScheduler<Fluid> getFluidTickScheduler()
      Mappings:
      Namespace Name Mixin selector
      official L Lcaw;L()Ldqu;
      intermediary method_8405 Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_6756;
      named getFluidTickScheduler Lnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
    • createAndScheduleFluidTick

      default void createAndScheduleFluidTick(BlockPos pos, Fluid fluid, int delay, TickPriority priority)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lgj;Ldiw;ILdrc;)V
      intermediary method_39282 Lnet/minecraft/class_1936;method_39282(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;ILnet/minecraft/class_1953;)V
      named createAndScheduleFluidTick Lnet/minecraft/world/WorldAccess;createAndScheduleFluidTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;ILnet/minecraft/world/TickPriority;)V
    • createAndScheduleFluidTick

      default void createAndScheduleFluidTick(BlockPos pos, Fluid fluid, int delay)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lgj;Ldiw;I)V
      intermediary method_39281 Lnet/minecraft/class_1936;method_39281(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;I)V
      named createAndScheduleFluidTick Lnet/minecraft/world/WorldAccess;createAndScheduleFluidTick(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;I)V
    • getLevelProperties

      WorldProperties getLevelProperties()
      Mappings:
      Namespace Name Mixin selector
      official n_ Lcaw;n_()Ldkm;
      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

      LocalDifficulty getLocalDifficulty(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official d_ Lcaw;d_(Lgj;)Lawf;
      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;
    • getServer

      Mappings:
      Namespace Name Mixin selector
      official n Lcaw;n()Lnet/minecraft/server/MinecraftServer;
      intermediary method_8503 Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;
      named getServer Lnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
    • getDifficulty

      default Difficulty getDifficulty()
      Mappings:
      Namespace Name Mixin selector
      official af Lcaw;af()Lawe;
      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 K Lcaw;K()Lcqs;
      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 interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official b Lcay;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 r_ Lcaw;r_()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

      default void updateNeighbors(BlockPos pos, Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lgj;Lcdq;)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 @Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lboj;Lgj;Lahj;Lahl;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 Lcaw;a(Lia;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

      void syncWorldEvent(@Nullable @Nullable PlayerEntity player, int eventId, BlockPos pos, int data)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lboj;ILgj;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

      default void syncWorldEvent(int eventId, BlockPos pos, int data)
      Mappings:
      Namespace Name Mixin selector
      official c Lcaw;c(ILgj;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

      void emitGameEvent(@Nullable @Nullable Entity entity, GameEvent event, BlockPos pos)
      Emits an game event.
      Parameters:
      entity - the entity that triggered the game event, or null for events not triggered by entities (such as dispensers)
      event - the game event
      pos - the position where the event occurred
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Laxk;Lcsy;Lgj;)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

      default void emitGameEvent(GameEvent event, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcsy;Lgj;)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
    • emitGameEvent

      default void emitGameEvent(GameEvent event, Entity emitter)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcsy;Laxk;)V
      intermediary method_33596 Lnet/minecraft/class_1936;method_33596(Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)V
      named emitGameEvent Lnet/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 a Lcaw;a(Laxk;Lcsy;Laxk;)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