Class World

java.lang.Object
net.minecraft.world.World
All Implemented Interfaces:
AutoCloseable, BiomeAccess.Storage, BlockRenderView, BlockView, CollisionView, EntityView, HeightLimitView, LunarWorldView, ModifiableTestableWorld, ModifiableWorld, RedstoneView, RegistryWorldView, TestableWorld, WorldAccess, WorldView
Direct Known Subclasses:
ClientWorld, ServerWorld

public abstract class World extends Object implements WorldAccess, AutoCloseable
Mappings:
Namespace Name
official cmf
intermediary net/minecraft/class_1937
named net/minecraft/world/World
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<RegistryKey<World>> CODEC
      Mappings:
      Namespace Name Mixin selector
      official g Lcmf;g:Lcom/mojang/serialization/Codec;
      intermediary field_25178 Lnet/minecraft/class_1937;field_25178:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/World;CODEC:Lcom/mojang/serialization/Codec;
    • OVERWORLD

      public static final RegistryKey<World> OVERWORLD
      Mappings:
      Namespace Name Mixin selector
      official h Lcmf;h:Lacp;
      intermediary field_25179 Lnet/minecraft/class_1937;field_25179:Lnet/minecraft/class_5321;
      named OVERWORLD Lnet/minecraft/world/World;OVERWORLD:Lnet/minecraft/registry/RegistryKey;
    • NETHER

      public static final RegistryKey<World> NETHER
      Mappings:
      Namespace Name Mixin selector
      official i Lcmf;i:Lacp;
      intermediary field_25180 Lnet/minecraft/class_1937;field_25180:Lnet/minecraft/class_5321;
      named NETHER Lnet/minecraft/world/World;NETHER:Lnet/minecraft/registry/RegistryKey;
    • END

      public static final RegistryKey<World> END
      Mappings:
      Namespace Name Mixin selector
      official j Lcmf;j:Lacp;
      intermediary field_25181 Lnet/minecraft/class_1937;field_25181:Lnet/minecraft/class_5321;
      named END Lnet/minecraft/world/World;END:Lnet/minecraft/registry/RegistryKey;
    • HORIZONTAL_LIMIT

      public static final int HORIZONTAL_LIMIT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lcmf;k:I
      intermediary field_30965 Lnet/minecraft/class_1937;field_30965:I
      named HORIZONTAL_LIMIT Lnet/minecraft/world/World;HORIZONTAL_LIMIT:I
    • MAX_UPDATE_DEPTH

      public static final int MAX_UPDATE_DEPTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lcmf;l:I
      intermediary field_30966 Lnet/minecraft/class_1937;field_30966:I
      named MAX_UPDATE_DEPTH Lnet/minecraft/world/World;MAX_UPDATE_DEPTH:I
    • field_30967

      public static final int field_30967
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lcmf;m:I
      intermediary field_30967 Lnet/minecraft/class_1937;field_30967:I
      named field_30967 Lnet/minecraft/world/World;field_30967:I
    • field_30968

      public static final int field_30968
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lcmf;n:I
      intermediary field_30968 Lnet/minecraft/class_1937;field_30968:I
      named field_30968 Lnet/minecraft/world/World;field_30968:I
    • field_30969

      public static final int field_30969
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official o Lcmf;o:I
      intermediary field_30969 Lnet/minecraft/class_1937;field_30969:I
      named field_30969 Lnet/minecraft/world/World;field_30969:I
    • MAX_Y

      public static final int MAX_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official p Lcmf;p:I
      intermediary field_30970 Lnet/minecraft/class_1937;field_30970:I
      named MAX_Y Lnet/minecraft/world/World;MAX_Y:I
    • MIN_Y

      public static final int MIN_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official q Lcmf;q:I
      intermediary field_30971 Lnet/minecraft/class_1937;field_30971:I
      named MIN_Y Lnet/minecraft/world/World;MIN_Y:I
    • blockEntityTickers

      protected final List<BlockEntityTickInvoker> blockEntityTickers
      Mappings:
      Namespace Name Mixin selector
      official r Lcmf;r:Ljava/util/List;
      intermediary field_27082 Lnet/minecraft/class_1937;field_27082:Ljava/util/List;
      named blockEntityTickers Lnet/minecraft/world/World;blockEntityTickers:Ljava/util/List;
    • neighborUpdater

      protected final NeighborUpdater neighborUpdater
      Mappings:
      Namespace Name Mixin selector
      official s Lcmf;s:Ldxy;
      intermediary field_38226 Lnet/minecraft/class_1937;field_38226:Lnet/minecraft/class_7165;
      named neighborUpdater Lnet/minecraft/world/World;neighborUpdater:Lnet/minecraft/world/block/NeighborUpdater;
    • pendingBlockEntityTickers

      private final List<BlockEntityTickInvoker> pendingBlockEntityTickers
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a:Ljava/util/List;
      intermediary field_27081 Lnet/minecraft/class_1937;field_27081:Ljava/util/List;
      named pendingBlockEntityTickers Lnet/minecraft/world/World;pendingBlockEntityTickers:Ljava/util/List;
    • iteratingTickingBlockEntities

      private boolean iteratingTickingBlockEntities
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b:Z
      intermediary field_9249 Lnet/minecraft/class_1937;field_9249:Z
      named iteratingTickingBlockEntities Lnet/minecraft/world/World;iteratingTickingBlockEntities:Z
    • thread

      private final Thread thread
      Mappings:
      Namespace Name Mixin selector
      official c Lcmf;c:Ljava/lang/Thread;
      intermediary field_17086 Lnet/minecraft/class_1937;field_17086:Ljava/lang/Thread;
      named thread Lnet/minecraft/world/World;thread:Ljava/lang/Thread;
    • debugWorld

      private final boolean debugWorld
      Mappings:
      Namespace Name Mixin selector
      official d Lcmf;d:Z
      intermediary field_24496 Lnet/minecraft/class_1937;field_24496:Z
      named debugWorld Lnet/minecraft/world/World;debugWorld:Z
    • ambientDarkness

      private int ambientDarkness
      Mappings:
      Namespace Name Mixin selector
      official e Lcmf;e:I
      intermediary field_9226 Lnet/minecraft/class_1937;field_9226:I
      named ambientDarkness Lnet/minecraft/world/World;ambientDarkness:I
    • lcgBlockSeed

      protected int lcgBlockSeed
      Mappings:
      Namespace Name Mixin selector
      official t Lcmf;t:I
      intermediary field_9256 Lnet/minecraft/class_1937;field_9256:I
      named lcgBlockSeed Lnet/minecraft/world/World;lcgBlockSeed:I
    • lcgBlockSeedIncrement

      protected final int lcgBlockSeedIncrement
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lcmf;u:I
      intermediary field_9238 Lnet/minecraft/class_1937;field_9238:I
      named lcgBlockSeedIncrement Lnet/minecraft/world/World;lcgBlockSeedIncrement:I
    • rainGradientPrev

      protected float rainGradientPrev
      Mappings:
      Namespace Name Mixin selector
      official v Lcmf;v:F
      intermediary field_9253 Lnet/minecraft/class_1937;field_9253:F
      named rainGradientPrev Lnet/minecraft/world/World;rainGradientPrev:F
    • rainGradient

      protected float rainGradient
      Mappings:
      Namespace Name Mixin selector
      official w Lcmf;w:F
      intermediary field_9235 Lnet/minecraft/class_1937;field_9235:F
      named rainGradient Lnet/minecraft/world/World;rainGradient:F
    • thunderGradientPrev

      protected float thunderGradientPrev
      Mappings:
      Namespace Name Mixin selector
      official x Lcmf;x:F
      intermediary field_9251 Lnet/minecraft/class_1937;field_9251:F
      named thunderGradientPrev Lnet/minecraft/world/World;thunderGradientPrev:F
    • thunderGradient

      protected float thunderGradient
      Mappings:
      Namespace Name Mixin selector
      official y Lcmf;y:F
      intermediary field_9234 Lnet/minecraft/class_1937;field_9234:F
      named thunderGradient Lnet/minecraft/world/World;thunderGradient:F
    • random

      public final Random random
      Mappings:
      Namespace Name Mixin selector
      official z Lcmf;z:Lapd;
      intermediary field_9229 Lnet/minecraft/class_1937;field_9229:Lnet/minecraft/class_5819;
      named random Lnet/minecraft/world/World;random:Lnet/minecraft/util/math/random/Random;
    • threadSafeRandom

      @Deprecated private final Random threadSafeRandom
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official f Lcmf;f:Lapd;
      intermediary field_38861 Lnet/minecraft/class_1937;field_38861:Lnet/minecraft/class_5819;
      named threadSafeRandom Lnet/minecraft/world/World;threadSafeRandom:Lnet/minecraft/util/math/random/Random;
    • dimension

      private final RegistryKey<DimensionType> dimension
      Mappings:
      Namespace Name Mixin selector
      official D Lcmf;D:Lacp;
      intermediary field_9247 Lnet/minecraft/class_1937;field_9247:Lnet/minecraft/class_5321;
      named dimension Lnet/minecraft/world/World;dimension:Lnet/minecraft/registry/RegistryKey;
    • dimensionEntry

      private final RegistryEntry<DimensionType> dimensionEntry
      Mappings:
      Namespace Name Mixin selector
      official E Lcmf;E:Lhe;
      intermediary field_36402 Lnet/minecraft/class_1937;field_36402:Lnet/minecraft/class_6880;
      named dimensionEntry Lnet/minecraft/world/World;dimensionEntry:Lnet/minecraft/registry/entry/RegistryEntry;
    • properties

      protected final MutableWorldProperties properties
      Mappings:
      Namespace Name Mixin selector
      official A Lcmf;A:Ldyx;
      intermediary field_9232 Lnet/minecraft/class_1937;field_9232:Lnet/minecraft/class_5269;
      named properties Lnet/minecraft/world/World;properties:Lnet/minecraft/world/MutableWorldProperties;
    • profiler

      private final Supplier<Profiler> profiler
      Mappings:
      Namespace Name Mixin selector
      official F Lcmf;F:Ljava/util/function/Supplier;
      intermediary field_16316 Lnet/minecraft/class_1937;field_16316:Ljava/util/function/Supplier;
      named profiler Lnet/minecraft/world/World;profiler:Ljava/util/function/Supplier;
    • isClient

      public final boolean isClient
      Mappings:
      Namespace Name Mixin selector
      official B Lcmf;B:Z
      intermediary field_9236 Lnet/minecraft/class_1937;field_9236:Z
      named isClient Lnet/minecraft/world/World;isClient:Z
    • border

      private final WorldBorder border
      Mappings:
      Namespace Name Mixin selector
      official G Lcmf;G:Lddk;
      intermediary field_9223 Lnet/minecraft/class_1937;field_9223:Lnet/minecraft/class_2784;
      named border Lnet/minecraft/world/World;border:Lnet/minecraft/world/border/WorldBorder;
    • biomeAccess

      private final BiomeAccess biomeAccess
      Mappings:
      Namespace Name Mixin selector
      official H Lcmf;H:Lcnf;
      intermediary field_20639 Lnet/minecraft/class_1937;field_20639:Lnet/minecraft/class_4543;
      named biomeAccess Lnet/minecraft/world/World;biomeAccess:Lnet/minecraft/world/biome/source/BiomeAccess;
    • registryKey

      private final RegistryKey<World> registryKey
      Mappings:
      Namespace Name Mixin selector
      official I Lcmf;I:Lacp;
      intermediary field_25176 Lnet/minecraft/class_1937;field_25176:Lnet/minecraft/class_5321;
      named registryKey Lnet/minecraft/world/World;registryKey:Lnet/minecraft/registry/RegistryKey;
    • registryManager

      private final DynamicRegistryManager registryManager
      Mappings:
      Namespace Name Mixin selector
      official J Lcmf;J:Lhs;
      intermediary field_42475 Lnet/minecraft/class_1937;field_42475:Lnet/minecraft/class_5455;
      named registryManager Lnet/minecraft/world/World;registryManager:Lnet/minecraft/registry/DynamicRegistryManager;
    • damageSources

      private final DamageSources damageSources
      Mappings:
      Namespace Name Mixin selector
      official K Lcmf;K:Lbej;
      intermediary field_42476 Lnet/minecraft/class_1937;field_42476:Lnet/minecraft/class_8109;
      named damageSources Lnet/minecraft/world/World;damageSources:Lnet/minecraft/entity/damage/DamageSources;
    • tickOrder

      private long tickOrder
      Mappings:
      Namespace Name Mixin selector
      official L Lcmf;L:J
      intermediary field_35455 Lnet/minecraft/class_1937;field_35455:J
      named tickOrder Lnet/minecraft/world/World;tickOrder:J
  • Constructor Details

    • World

      protected World(MutableWorldProperties properties, RegistryKey<World> registryRef, DynamicRegistryManager registryManager, RegistryEntry<DimensionType> dimensionEntry, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long biomeAccess, int maxChainedNeighborUpdates)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcmf;<init>(Ldyx;Lacp;Lhs;Lhe;Ljava/util/function/Supplier;ZZJI)V
      intermediary <init> Lnet/minecraft/class_1937;<init>(Lnet/minecraft/class_5269;Lnet/minecraft/class_5321;Lnet/minecraft/class_5455;Lnet/minecraft/class_6880;Ljava/util/function/Supplier;ZZJI)V
      named <init> Lnet/minecraft/world/World;<init>(Lnet/minecraft/world/MutableWorldProperties;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/function/Supplier;ZZJI)V
  • Method Details

    • isClient

      public boolean isClient()
      Checks if this world view is on the logical client.

      If the value returned is false, it is expected that this world is present on a logical server.

      Specified by:
      isClient in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official l_ Lcmi;l_()Z
      intermediary method_8608 Lnet/minecraft/class_4538;method_8608()Z
      named isClient Lnet/minecraft/world/WorldView;isClient()Z
    • getServer

      @Nullable public @Nullable MinecraftServer getServer()
      Specified by:
      getServer in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official n Lcmg;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;
    • isInBuildLimit

      public boolean isInBuildLimit(BlockPos pos)
      Returns whether the position is inside the build limit.
      Returns:
      whether the position is inside the build limit
      See Also:
      API Note:
      This method should be used for block placement. If the action involves a player interaction, additionally check for canPlayerModifyAt(net.minecraft.entity.player.PlayerEntity, net.minecraft.util.math.BlockPos) (which checks the spawn protection and world border).
      Implementation Note:
      In addition to the height limit, the position's X and Z coordinates must be greater than or equal to -30_000_000 and less than 30_000_000.
      Mappings:
      Namespace Name Mixin selector
      official j Lcmf;j(Lgu;)Z
      intermediary method_24794 Lnet/minecraft/class_1937;method_24794(Lnet/minecraft/class_2338;)Z
      named isInBuildLimit Lnet/minecraft/world/World;isInBuildLimit(Lnet/minecraft/util/math/BlockPos;)Z
    • isValid

      public static boolean isValid(BlockPos pos)
      Returns whether the position is valid.
      Returns:
      whether the position is valid
      See Also:
      API Note:
      This method should be used for teleportation. To test for block positions, use isInBuildLimit(net.minecraft.util.math.BlockPos) (which checks the height limit), and if the action involves a player interaction, additionally check for canPlayerModifyAt(net.minecraft.entity.player.PlayerEntity, net.minecraft.util.math.BlockPos) (which checks the spawn protection and world border).
      Implementation Note:
      The position is considered valid if the X and Z coordinates are greater than or equal to -30_000_000 and less than 30_000_000, and the Y coordinate is greater or equal to -20_000_000 and less than 20_000_000.
      Mappings:
      Namespace Name Mixin selector
      official k Lcmf;k(Lgu;)Z
      intermediary method_25953 Lnet/minecraft/class_1937;method_25953(Lnet/minecraft/class_2338;)Z
      named isValid Lnet/minecraft/world/World;isValid(Lnet/minecraft/util/math/BlockPos;)Z
    • isValidHorizontally

      private static boolean isValidHorizontally(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official D Lcmf;D(Lgu;)Z
      intermediary method_8558 Lnet/minecraft/class_1937;method_8558(Lnet/minecraft/class_2338;)Z
      named isValidHorizontally Lnet/minecraft/world/World;isValidHorizontally(Lnet/minecraft/util/math/BlockPos;)Z
    • isInvalidVertically

      private static boolean isInvalidVertically(int y)
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b(I)Z
      intermediary method_25952 Lnet/minecraft/class_1937;method_25952(I)Z
      named isInvalidVertically Lnet/minecraft/world/World;isInvalidVertically(I)Z
    • getWorldChunk

      public WorldChunk getWorldChunk(BlockPos pos)
      Returns the chunk that contains pos.
      Returns:
      the chunk that contains pos
      Mappings:
      Namespace Name Mixin selector
      official l Lcmf;l(Lgu;)Ldea;
      intermediary method_8500 Lnet/minecraft/class_1937;method_8500(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2818;
      named getWorldChunk Lnet/minecraft/world/World;getWorldChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/WorldChunk;
    • getChunk

      public WorldChunk getChunk(int int2, int int3)
      Description copied from interface: WorldView
      Returns the chunk with position chunkX and chunkZ.
      Specified by:
      getChunk in interface WorldView
      Returns:
      the chunk with position chunkX and chunkZ
      Mappings:
      Namespace Name Mixin selector
      official d Lcmf;d(II)Ldea;
      intermediary method_8497 Lnet/minecraft/class_1937;method_8497(II)Lnet/minecraft/class_2818;
      named getChunk Lnet/minecraft/world/World;getChunk(II)Lnet/minecraft/world/chunk/WorldChunk;
    • getChunk

      @Nullable public @Nullable Chunk getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
      Specified by:
      getChunk in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official a Lcmi;a(IILddu;Z)Lddp;
      intermediary method_8402 Lnet/minecraft/class_4538;method_8402(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;
      named getChunk Lnet/minecraft/world/WorldView;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
    • setBlockState

      public boolean setBlockState(BlockPos pos, BlockState state, int flags)
      Updates the block state at a position, calling appropriate callbacks.

      When called on the server, the new block state is stored and propagated to clients and listeners as dictated by the supplied flags. Note that calling this on the client will update the world locally, but may not see the change persisted across loads. It's recommended to check whether this world is client before interacting with the world in this way.

      The accepted values of these flags are:

      Specified by:
      setBlockState in interface ModifiableWorld
      Parameters:
      pos - the target position
      state - the block state to set
      flags - the bitwise flag combination, as described above
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmn;a(Lgu;Ldbt;I)Z
      intermediary method_8652 Lnet/minecraft/class_1945;method_8652(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Z
      named setBlockState Lnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Z
    • setBlockState

      public boolean setBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth)
      Updates the block state at a position, calling appropriate callbacks.

      When called on the server, the new block state is stored and propagated to clients and listeners as dictated by the supplied flags. Note that calling this on the client will update the world locally, but may not see the change persisted across loads. It's recommended to check whether this world is client before interacting with the world in this way.

      See ModifiableWorld.setBlockState(BlockPos, BlockState, int) for a list of accepted flags.

      Specified by:
      setBlockState in interface ModifiableWorld
      Parameters:
      pos - the target position
      state - the block state to set
      flags - the bitwise flag combination, as described above
      maxUpdateDepth - the limit for the cascading block updates
      Mappings:
      Namespace Name Mixin selector
      official a Lcmn;a(Lgu;Ldbt;II)Z
      intermediary method_30092 Lnet/minecraft/class_1945;method_30092(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Z
      named setBlockState Lnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)Z
    • onBlockChanged

      public void onBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock)
      Called when a block state changed.
      API Note:
      To implement logic for specific type of blocks, override AbstractBlock.onStateReplaced(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, boolean) instead.
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Ldbt;Ldbt;)V
      intermediary method_19282 Lnet/minecraft/class_1937;method_19282(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
      named onBlockChanged Lnet/minecraft/world/World;onBlockChanged(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
    • removeBlock

      public boolean removeBlock(BlockPos pos, boolean move)
      Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.
      Specified by:
      removeBlock in interface ModifiableWorld
      Parameters:
      move - whether the block was removed as part of piston moving blocks
      Returns:
      whether the block was removed successfully
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmn;a(Lgu;Z)Z
      intermediary method_8650 Lnet/minecraft/class_1945;method_8650(Lnet/minecraft/class_2338;Z)Z
      named removeBlock Lnet/minecraft/world/ModifiableWorld;removeBlock(Lnet/minecraft/util/math/BlockPos;Z)Z
    • breakBlock

      public boolean breakBlock(BlockPos pos, boolean drop, @Nullable @Nullable Entity breakingEntity, int maxUpdateDepth)
      Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist. Additionally, this emits the world event and the game event.
      Specified by:
      breakBlock in interface ModifiableWorld
      Returns:
      whether the block was removed successfully
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmn;a(Lgu;ZLbfd;I)Z
      intermediary method_30093 Lnet/minecraft/class_1945;method_30093(Lnet/minecraft/class_2338;ZLnet/minecraft/class_1297;I)Z
      named breakBlock Lnet/minecraft/world/ModifiableWorld;breakBlock(Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/entity/Entity;I)Z
    • addBlockBreakParticles

      public void addBlockBreakParticles(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Ldbt;)V
      intermediary method_31595 Lnet/minecraft/class_1937;method_31595(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named addBlockBreakParticles Lnet/minecraft/world/World;addBlockBreakParticles(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • setBlockState

      public boolean setBlockState(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b(Lgu;Ldbt;)Z
      intermediary method_8501 Lnet/minecraft/class_1937;method_8501(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
      named setBlockState Lnet/minecraft/world/World;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • updateListeners

      public abstract void updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Ldbt;Ldbt;I)V
      intermediary method_8413 Lnet/minecraft/class_1937;method_8413(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)V
      named updateListeners Lnet/minecraft/world/World;updateListeners(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;I)V
    • scheduleBlockRerenderIfNeeded

      public void scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated)
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b(Lgu;Ldbt;Ldbt;)V
      intermediary method_16109 Lnet/minecraft/class_1937;method_16109(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
      named scheduleBlockRerenderIfNeeded Lnet/minecraft/world/World;scheduleBlockRerenderIfNeeded(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
    • updateNeighborsAlways

      public void updateNeighborsAlways(BlockPos pos, Block sourceBlock)
      Emits a neighbor update to all 6 neighboring blocks of pos.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Lcpg;)V
      intermediary method_8452 Lnet/minecraft/class_1937;method_8452(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
      named updateNeighborsAlways Lnet/minecraft/world/World;updateNeighborsAlways(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
    • updateNeighborsExcept

      public void updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction)
      Emits a neighbor update to neighboring blocks of pos, except for the one in direction direction.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Lcpg;Lha;)V
      intermediary method_8508 Lnet/minecraft/class_1937;method_8508(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)V
      named updateNeighborsExcept Lnet/minecraft/world/World;updateNeighborsExcept(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;)V
    • updateNeighbor

      public void updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos sourcePos)
      Triggers a neighbor update originating from sourcePos at pos.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Lcpg;Lgu;)V
      intermediary method_8492 Lnet/minecraft/class_1937;method_8492(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
      named updateNeighbor Lnet/minecraft/world/World;updateNeighbor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • updateNeighbor

      public void updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Ldbt;Lgu;Lcpg;Lgu;Z)V
      intermediary method_41410 Lnet/minecraft/class_1937;method_41410(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
      named updateNeighbor Lnet/minecraft/world/World;updateNeighbor(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
    • replaceWithStateForNeighborUpdate

      public void replaceWithStateForNeighborUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int flags, int maxUpdateDepth)
      Specified by:
      replaceWithStateForNeighborUpdate in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official a Lcmg;a(Lha;Ldbt;Lgu;Lgu;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
      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
    • getTopY

      public int getTopY(Heightmap.Type heightmap, int x, int z)
      Returns the Y coordinate of the topmost block at the coordinates x and z using heightmap.
      Specified by:
      getTopY in interface WorldView
      Returns:
      the Y coordinate of the topmost block at the coordinates x and z using heightmap
      Mappings:
      Namespace Name Mixin selector
      official a Lcmi;a(Ldhc$a;II)I
      intermediary method_8624 Lnet/minecraft/class_4538;method_8624(Lnet/minecraft/class_2902$class_2903;II)I
      named getTopY Lnet/minecraft/world/WorldView;getTopY(Lnet/minecraft/world/Heightmap$Type;II)I
    • getLightingProvider

      public LightingProvider getLightingProvider()
      Specified by:
      getLightingProvider in interface BlockRenderView
      Mappings:
      Namespace Name Mixin selector
      official m_ Lcli;m_()Ldwl;
      intermediary method_22336 Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;
      named getLightingProvider Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Returns the block state at pos.
      Specified by:
      getBlockState in interface BlockView
      Returns:
      the block state at pos
      Mappings:
      Namespace Name Mixin selector
      official a_ Lcll;a_(Lgu;)Ldbt;
      intermediary method_8320 Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getFluidState

      public FluidState getFluidState(BlockPos pos)
      Returns the fluid state at pos.
      Specified by:
      getFluidState in interface BlockView
      Returns:
      the fluid state at pos
      Mappings:
      Namespace Name Mixin selector
      official b_ Lcll;b_(Lgu;)Ldww;
      intermediary method_8316 Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
    • isDay

      public boolean isDay()
      Mappings:
      Namespace Name Mixin selector
      official M Lcmf;M()Z
      intermediary method_8530 Lnet/minecraft/class_1937;method_8530()Z
      named isDay Lnet/minecraft/world/World;isDay()Z
    • isNight

      public boolean isNight()
      Mappings:
      Namespace Name Mixin selector
      official N Lcmf;N()Z
      intermediary method_23886 Lnet/minecraft/class_1937;method_23886()Z
      named isNight Lnet/minecraft/world/World;isNight()Z
    • playSound

      public void playSound(@Nullable @Nullable Entity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbfd;Lgu;Lame;Lamg;FF)V
      intermediary method_45445 Lnet/minecraft/class_1937;method_45445(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
      named playSound Lnet/minecraft/world/World;playSound(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
    • playSound

      public void playSound(@Nullable @Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
      Specified by:
      playSound in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official a Lcmg;a(Lbyi;Lgu;Lame;Lamg;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
    • playSound

      public abstract void playSound(@Nullable @Nullable PlayerEntity except, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed)
      Parameters:
      except - the player that should not receive the sound, or null
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbyi;DDDLhe;Lamg;FFJ)V
      intermediary method_8465 Lnet/minecraft/class_1937;method_8465(Lnet/minecraft/class_1657;DDDLnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)V
      named playSound Lnet/minecraft/world/World;playSound(Lnet/minecraft/entity/player/PlayerEntity;DDDLnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/sound/SoundCategory;FFJ)V
    • playSound

      public void playSound(@Nullable @Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbyi;DDDLame;Lamg;FFJ)V
      intermediary method_47967 Lnet/minecraft/class_1937;method_47967(Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFJ)V
      named playSound Lnet/minecraft/world/World;playSound(Lnet/minecraft/entity/player/PlayerEntity;DDDLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFJ)V
    • playSoundFromEntity

      public abstract void playSoundFromEntity(@Nullable @Nullable PlayerEntity except, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed)
      Parameters:
      except - the player that should not receive the sound, or null
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbyi;Lbfd;Lhe;Lamg;FFJ)V
      intermediary method_8449 Lnet/minecraft/class_1937;method_8449(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)V
      named playSoundFromEntity Lnet/minecraft/world/World;playSoundFromEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/sound/SoundCategory;FFJ)V
    • playSound

      public void playSound(@Nullable @Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbyi;DDDLame;Lamg;FF)V
      intermediary method_43128 Lnet/minecraft/class_1937;method_43128(Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
      named playSound Lnet/minecraft/world/World;playSound(Lnet/minecraft/entity/player/PlayerEntity;DDDLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
    • playSoundFromEntity

      public void playSoundFromEntity(@Nullable @Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbyi;Lbfd;Lame;Lamg;FF)V
      intermediary method_43129 Lnet/minecraft/class_1937;method_43129(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
      named playSoundFromEntity Lnet/minecraft/world/World;playSoundFromEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
    • playSoundAtBlockCenter

      public void playSoundAtBlockCenter(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Lame;Lamg;FFZ)V
      intermediary method_45446 Lnet/minecraft/class_1937;method_45446(Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
      named playSoundAtBlockCenter Lnet/minecraft/world/World;playSoundAtBlockCenter(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFZ)V
    • playSound

      public void playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(DDDLame;Lamg;FFZ)V
      intermediary method_8486 Lnet/minecraft/class_1937;method_8486(DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
      named playSound Lnet/minecraft/world/World;playSound(DDDLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFZ)V
    • addParticle

      public void addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
      Specified by:
      addParticle in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official a Lcmg;a(Lit;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
    • addParticle

      public void addParticle(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lit;ZDDDDDD)V
      intermediary method_8466 Lnet/minecraft/class_1937;method_8466(Lnet/minecraft/class_2394;ZDDDDDD)V
      named addParticle Lnet/minecraft/world/World;addParticle(Lnet/minecraft/particle/ParticleEffect;ZDDDDDD)V
    • addImportantParticle

      public void addImportantParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b(Lit;DDDDDD)V
      intermediary method_8494 Lnet/minecraft/class_1937;method_8494(Lnet/minecraft/class_2394;DDDDDD)V
      named addImportantParticle Lnet/minecraft/world/World;addImportantParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
    • addImportantParticle

      public void addImportantParticle(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b(Lit;ZDDDDDD)V
      intermediary method_17452 Lnet/minecraft/class_1937;method_17452(Lnet/minecraft/class_2394;ZDDDDDD)V
      named addImportantParticle Lnet/minecraft/world/World;addImportantParticle(Lnet/minecraft/particle/ParticleEffect;ZDDDDDD)V
    • getSkyAngleRadians

      public float getSkyAngleRadians(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(F)F
      intermediary method_8442 Lnet/minecraft/class_1937;method_8442(F)F
      named getSkyAngleRadians Lnet/minecraft/world/World;getSkyAngleRadians(F)F
    • addBlockEntityTicker

      public void addBlockEntityTicker(BlockEntityTickInvoker ticker)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Ldav;)V
      intermediary method_31594 Lnet/minecraft/class_1937;method_31594(Lnet/minecraft/class_5562;)V
      named addBlockEntityTicker Lnet/minecraft/world/World;addBlockEntityTicker(Lnet/minecraft/world/chunk/BlockEntityTickInvoker;)V
    • tickBlockEntities

      protected void tickBlockEntities()
      Mappings:
      Namespace Name Mixin selector
      official O Lcmf;O()V
      intermediary method_18471 Lnet/minecraft/class_1937;method_18471()V
      named tickBlockEntities Lnet/minecraft/world/World;tickBlockEntities()V
    • tickEntity

      public <T extends Entity> void tickEntity(Consumer<T> tickConsumer, T entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Ljava/util/function/Consumer;Lbfd;)V
      intermediary method_18472 Lnet/minecraft/class_1937;method_18472(Ljava/util/function/Consumer;Lnet/minecraft/class_1297;)V
      named tickEntity Lnet/minecraft/world/World;tickEntity(Ljava/util/function/Consumer;Lnet/minecraft/entity/Entity;)V
    • shouldUpdatePostDeath

      public boolean shouldUpdatePostDeath(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official h Lcmf;h(Lbfd;)Z
      intermediary method_38989 Lnet/minecraft/class_1937;method_38989(Lnet/minecraft/class_1297;)Z
      named shouldUpdatePostDeath Lnet/minecraft/world/World;shouldUpdatePostDeath(Lnet/minecraft/entity/Entity;)Z
    • shouldTickBlocksInChunk

      public boolean shouldTickBlocksInChunk(long chunkPos)
      Returns whether the blocks in the specified chunk should get ticked.
      Returns:
      whether the blocks in the specified chunk should get ticked
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(J)Z
      intermediary method_39425 Lnet/minecraft/class_1937;method_39425(J)Z
      named shouldTickBlocksInChunk Lnet/minecraft/world/World;shouldTickBlocksInChunk(J)Z
    • shouldTickBlockPos

      public boolean shouldTickBlockPos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official m Lcmf;m(Lgu;)Z
      intermediary method_41411 Lnet/minecraft/class_1937;method_41411(Lnet/minecraft/class_2338;)Z
      named shouldTickBlockPos Lnet/minecraft/world/World;shouldTickBlockPos(Lnet/minecraft/util/math/BlockPos;)Z
    • createExplosion

      public Explosion createExplosion(@Nullable @Nullable Entity entity, double x, double y, double z, float power, World.ExplosionSourceType explosionSourceType)
      Creates an explosion without creating fire.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbfd;DDDFLcmf$a;)Lclx;
      intermediary method_8437 Lnet/minecraft/class_1937;method_8437(Lnet/minecraft/class_1297;DDDFLnet/minecraft/class_1937$class_7867;)Lnet/minecraft/class_1927;
      named createExplosion Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;DDDFLnet/minecraft/world/World$ExplosionSourceType;)Lnet/minecraft/world/explosion/Explosion;
    • createExplosion

      public Explosion createExplosion(@Nullable @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType)
      Creates an explosion.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbfd;DDDFZLcmf$a;)Lclx;
      intermediary method_8537 Lnet/minecraft/class_1937;method_8537(Lnet/minecraft/class_1297;DDDFZLnet/minecraft/class_1937$class_7867;)Lnet/minecraft/class_1927;
      named createExplosion Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;DDDFZLnet/minecraft/world/World$ExplosionSourceType;)Lnet/minecraft/world/explosion/Explosion;
    • createExplosion

      public Explosion createExplosion(@Nullable @Nullable Entity entity, @Nullable @Nullable DamageSource damageSource, @Nullable @Nullable ExplosionBehavior behavior, Vec3d pos, float power, boolean createFire, World.ExplosionSourceType explosionSourceType)
      Creates an explosion.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbfd;Lbei;Lcly;Ledu;FZLcmf$a;)Lclx;
      intermediary method_46407 Lnet/minecraft/class_1937;method_46407(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;Lnet/minecraft/class_243;FZLnet/minecraft/class_1937$class_7867;)Lnet/minecraft/class_1927;
      named createExplosion Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/world/explosion/ExplosionBehavior;Lnet/minecraft/util/math/Vec3d;FZLnet/minecraft/world/World$ExplosionSourceType;)Lnet/minecraft/world/explosion/Explosion;
    • createExplosion

      public Explosion createExplosion(@Nullable @Nullable Entity entity, @Nullable @Nullable DamageSource damageSource, @Nullable @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType)
      Creates an explosion.
      Parameters:
      entity - the entity that exploded (like TNT) or null to indicate no entity exploded
      damageSource - the custom damage source, or null to use the default (DamageSources.explosion(Explosion))
      behavior - the explosion behavior, or null to use the default
      createFire - whether the explosion should create fire
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbfd;Lbei;Lcly;DDDFZLcmf$a;)Lclx;
      intermediary method_8454 Lnet/minecraft/class_1937;method_8454(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1937$class_7867;)Lnet/minecraft/class_1927;
      named createExplosion Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/world/explosion/ExplosionBehavior;DDDFZLnet/minecraft/world/World$ExplosionSourceType;)Lnet/minecraft/world/explosion/Explosion;
    • createExplosion

      public Explosion createExplosion(@Nullable @Nullable Entity entity, @Nullable @Nullable DamageSource damageSource, @Nullable @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, boolean particles)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbfd;Lbei;Lcly;DDDFZLcmf$a;Z)Lclx;
      intermediary method_46668 Lnet/minecraft/class_1937;method_46668(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1937$class_7867;Z)Lnet/minecraft/class_1927;
      named createExplosion Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/world/explosion/ExplosionBehavior;DDDFZLnet/minecraft/world/World$ExplosionSourceType;Z)Lnet/minecraft/world/explosion/Explosion;
    • getDestructionType

      private Explosion.DestructionType getDestructionType(GameRules.Key<GameRules.BooleanRule> gameRuleKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lcmb$e;)Lclx$a;
      intermediary method_46669 Lnet/minecraft/class_1937;method_46669(Lnet/minecraft/class_1928$class_4313;)Lnet/minecraft/class_1927$class_4179;
      named getDestructionType Lnet/minecraft/world/World;getDestructionType(Lnet/minecraft/world/GameRules$Key;)Lnet/minecraft/world/explosion/Explosion$DestructionType;
    • asString

      public abstract String asString()
      Mappings:
      Namespace Name Mixin selector
      official F Lcmf;F()Ljava/lang/String;
      intermediary method_31419 Lnet/minecraft/class_1937;method_31419()Ljava/lang/String;
      named asString Lnet/minecraft/world/World;asString()Ljava/lang/String;
    • getBlockEntity

      @Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos)
      Returns the block entity at pos, or null if there is none.
      Specified by:
      getBlockEntity in interface BlockView
      Returns:
      the block entity at pos, or null if there is none
      Mappings:
      Namespace Name Mixin selector
      official c_ Lcll;c_(Lgu;)Lczf;
      intermediary method_8321 Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
      named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • addBlockEntity

      public void addBlockEntity(BlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lczf;)V
      intermediary method_8438 Lnet/minecraft/class_1937;method_8438(Lnet/minecraft/class_2586;)V
      named addBlockEntity Lnet/minecraft/world/World;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
    • removeBlockEntity

      public void removeBlockEntity(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official n Lcmf;n(Lgu;)V
      intermediary method_8544 Lnet/minecraft/class_1937;method_8544(Lnet/minecraft/class_2338;)V
      named removeBlockEntity Lnet/minecraft/world/World;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
    • canSetBlock

      public boolean canSetBlock(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official o Lcmf;o(Lgu;)Z
      intermediary method_8477 Lnet/minecraft/class_1937;method_8477(Lnet/minecraft/class_2338;)Z
      named canSetBlock Lnet/minecraft/world/World;canSetBlock(Lnet/minecraft/util/math/BlockPos;)Z
    • isDirectionSolid

      public boolean isDirectionSolid(BlockPos pos, Entity entity, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Lbfd;Lha;)Z
      intermediary method_24368 Lnet/minecraft/class_1937;method_24368(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;Lnet/minecraft/class_2350;)Z
      named isDirectionSolid Lnet/minecraft/world/World;isDirectionSolid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Direction;)Z
    • isTopSolid

      public boolean isTopSolid(BlockPos pos, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Lbfd;)Z
      intermediary method_8515 Lnet/minecraft/class_1937;method_8515(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Z
      named isTopSolid Lnet/minecraft/world/World;isTopSolid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Z
    • calculateAmbientDarkness

      public void calculateAmbientDarkness()
      Mappings:
      Namespace Name Mixin selector
      official P Lcmf;P()V
      intermediary method_8533 Lnet/minecraft/class_1937;method_8533()V
      named calculateAmbientDarkness Lnet/minecraft/world/World;calculateAmbientDarkness()V
    • setMobSpawnOptions

      public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)
      Sets whether monsters or animals can spawn.
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b(ZZ)V
      intermediary method_8424 Lnet/minecraft/class_1937;method_8424(ZZ)V
      named setMobSpawnOptions Lnet/minecraft/world/World;setMobSpawnOptions(ZZ)V
    • getSpawnPos

      public BlockPos getSpawnPos()
      Mappings:
      Namespace Name Mixin selector
      official Q Lcmf;Q()Lgu;
      intermediary method_43126 Lnet/minecraft/class_1937;method_43126()Lnet/minecraft/class_2338;
      named getSpawnPos Lnet/minecraft/world/World;getSpawnPos()Lnet/minecraft/util/math/BlockPos;
    • getSpawnAngle

      public float getSpawnAngle()
      Mappings:
      Namespace Name Mixin selector
      official R Lcmf;R()F
      intermediary method_43127 Lnet/minecraft/class_1937;method_43127()F
      named getSpawnAngle Lnet/minecraft/world/World;getSpawnAngle()F
    • initWeatherGradients

      protected void initWeatherGradients()
      Mappings:
      Namespace Name Mixin selector
      official S Lcmf;S()V
      intermediary method_8543 Lnet/minecraft/class_1937;method_8543()V
      named initWeatherGradients Lnet/minecraft/world/World;initWeatherGradients()V
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException
    • getChunkAsView

      @Nullable public @Nullable BlockView getChunkAsView(int chunkX, int chunkZ)
      Specified by:
      getChunkAsView in interface CollisionView
      Specified by:
      getChunkAsView in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official c Lclp;c(II)Lcll;
      intermediary method_22338 Lnet/minecraft/class_1941;method_22338(II)Lnet/minecraft/class_1922;
      named getChunkAsView Lnet/minecraft/world/CollisionView;getChunkAsView(II)Lnet/minecraft/world/BlockView;
    • getOtherEntities

      public List<Entity> getOtherEntities(@Nullable @Nullable Entity except, Box box, Predicate<? super Entity> predicate)
      Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.
      Specified by:
      getOtherEntities in interface EntityView
      Parameters:
      except - the entity the box logically surrounds; this entity is ignored if it is inside the box
      box - the box in which to search for entities
      predicate - a predicate which entities must satisfy in order to be included in the returned list
      Returns:
      a list of entities within a box, excluding the given entity, all satisfying the given predicate
      Mappings:
      Namespace Name Mixin selector
      official a Lclw;a(Lbfd;Ledp;Ljava/util/function/Predicate;)Ljava/util/List;
      intermediary method_8333 Lnet/minecraft/class_1924;method_8333(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;
      named getOtherEntities Lnet/minecraft/world/EntityView;getOtherEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
    • getEntitiesByType

      public <T extends Entity> List<T> getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)
      Specified by:
      getEntitiesByType in interface EntityView
      Mappings:
      Namespace Name Mixin selector
      official a Lclw;a(Ldfr;Ledp;Ljava/util/function/Predicate;)Ljava/util/List;
      intermediary method_18023 Lnet/minecraft/class_1924;method_18023(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;
      named getEntitiesByType Lnet/minecraft/world/EntityView;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
    • collectEntitiesByType

      public <T extends Entity> void collectEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate, List<? super T> result)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Ldfr;Ledp;Ljava/util/function/Predicate;Ljava/util/List;)V
      intermediary method_47574 Lnet/minecraft/class_1937;method_47574(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;Ljava/util/List;)V
      named collectEntitiesByType Lnet/minecraft/world/World;collectEntitiesByType(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;Ljava/util/List;)V
    • collectEntitiesByType

      public <T extends Entity> void collectEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate, List<? super T> result, int limit)
      Collects entities of the given type in box, up to limit. Using this can improve performance, especially if limit is small.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Ldfr;Ledp;Ljava/util/function/Predicate;Ljava/util/List;I)V
      intermediary method_47575 Lnet/minecraft/class_1937;method_47575(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;Ljava/util/List;I)V
      named collectEntitiesByType Lnet/minecraft/world/World;collectEntitiesByType(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;Ljava/util/List;I)V
    • getEntityById

      @Nullable public abstract @Nullable Entity getEntityById(int id)
      Returns the entity using the entity ID, or null if none was found.

      Entity ID is ephemeral and changes after server restart. Use the UUID for persistent storage instead.

      Returns:
      the entity using the entity ID, or null if none was found
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(I)Lbfd;
      intermediary method_8469 Lnet/minecraft/class_1937;method_8469(I)Lnet/minecraft/class_1297;
      named getEntityById Lnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
    • markDirty

      public void markDirty(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official p Lcmf;p(Lgu;)V
      intermediary method_8524 Lnet/minecraft/class_1937;method_8524(Lnet/minecraft/class_2338;)V
      named markDirty Lnet/minecraft/world/World;markDirty(Lnet/minecraft/util/math/BlockPos;)V
    • getSeaLevel

      public int getSeaLevel()
      Specified by:
      getSeaLevel in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official n_ Lcmi;n_()I
      intermediary method_8615 Lnet/minecraft/class_4538;method_8615()I
      named getSeaLevel Lnet/minecraft/world/WorldView;getSeaLevel()I
    • disconnect

      public void disconnect()
      Mappings:
      Namespace Name Mixin selector
      official T Lcmf;T()V
      intermediary method_8525 Lnet/minecraft/class_1937;method_8525()V
      named disconnect Lnet/minecraft/world/World;disconnect()V
    • getTime

      public long getTime()
      Returns the time.

      Time is used to track scheduled ticks and cannot be modified or frozen.

      Returns:
      the time
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official U Lcmf;U()J
      intermediary method_8510 Lnet/minecraft/class_1937;method_8510()J
      named getTime Lnet/minecraft/world/World;getTime()J
    • getTimeOfDay

      public long getTimeOfDay()
      Returns the time of day.

      Time of day is different to "time", which is incremented on every tick and cannot be modified; Time of day affects the day-night cycle, can be changed using /time command, and can be frozen if doDaylightCycle gamerule is turned off. Time is used to track scheduled ticks and cannot be modified or frozen.

      Returns:
      the time of day
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official V Lcmf;V()J
      intermediary method_8532 Lnet/minecraft/class_1937;method_8532()J
      named getTimeOfDay Lnet/minecraft/world/World;getTimeOfDay()J
    • canPlayerModifyAt

      public boolean canPlayerModifyAt(PlayerEntity player, BlockPos pos)
      Returns whether player can modify blocks at pos.
      Returns:
      whether player can modify blocks at pos
      See Also:
      Implementation Note:
      This checks the spawn protection and the world border.
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbyi;Lgu;)Z
      intermediary method_8505 Lnet/minecraft/class_1937;method_8505(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;)Z
      named canPlayerModifyAt Lnet/minecraft/world/World;canPlayerModifyAt(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;)Z
    • sendEntityStatus

      public void sendEntityStatus(Entity entity, byte status)
      Sends the entity status to nearby players.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbfd;B)V
      intermediary method_8421 Lnet/minecraft/class_1937;method_8421(Lnet/minecraft/class_1297;B)V
      named sendEntityStatus Lnet/minecraft/world/World;sendEntityStatus(Lnet/minecraft/entity/Entity;B)V
    • sendEntityDamage

      public void sendEntityDamage(Entity entity, DamageSource damageSource)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lbfd;Lbei;)V
      intermediary method_48760 Lnet/minecraft/class_1937;method_48760(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)V
      named sendEntityDamage Lnet/minecraft/world/World;sendEntityDamage(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)V
    • addSyncedBlockEvent

      public void addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lgu;Lcpg;II)V
      intermediary method_8427 Lnet/minecraft/class_1937;method_8427(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)V
      named addSyncedBlockEvent Lnet/minecraft/world/World;addSyncedBlockEvent(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)V
    • getLevelProperties

      public WorldProperties getLevelProperties()
      Specified by:
      getLevelProperties in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official o_ Lcmg;o_()Ldyn;
      intermediary method_8401 Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;
      named getLevelProperties Lnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
    • getGameRules

      public GameRules getGameRules()
      Mappings:
      Namespace Name Mixin selector
      official W Lcmf;W()Lcmb;
      intermediary method_8450 Lnet/minecraft/class_1937;method_8450()Lnet/minecraft/class_1928;
      named getGameRules Lnet/minecraft/world/World;getGameRules()Lnet/minecraft/world/GameRules;
    • getThunderGradient

      public float getThunderGradient(float delta)
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b(F)F
      intermediary method_8478 Lnet/minecraft/class_1937;method_8478(F)F
      named getThunderGradient Lnet/minecraft/world/World;getThunderGradient(F)F
    • setThunderGradient

      public void setThunderGradient(float thunderGradient)
      Mappings:
      Namespace Name Mixin selector
      official c Lcmf;c(F)V
      intermediary method_8496 Lnet/minecraft/class_1937;method_8496(F)V
      named setThunderGradient Lnet/minecraft/world/World;setThunderGradient(F)V
    • getRainGradient

      public float getRainGradient(float delta)
      Mappings:
      Namespace Name Mixin selector
      official d Lcmf;d(F)F
      intermediary method_8430 Lnet/minecraft/class_1937;method_8430(F)F
      named getRainGradient Lnet/minecraft/world/World;getRainGradient(F)F
    • setRainGradient

      public void setRainGradient(float rainGradient)
      Mappings:
      Namespace Name Mixin selector
      official e Lcmf;e(F)V
      intermediary method_8519 Lnet/minecraft/class_1937;method_8519(F)V
      named setRainGradient Lnet/minecraft/world/World;setRainGradient(F)V
    • isThundering

      public boolean isThundering()
      Mappings:
      Namespace Name Mixin selector
      official X Lcmf;X()Z
      intermediary method_8546 Lnet/minecraft/class_1937;method_8546()Z
      named isThundering Lnet/minecraft/world/World;isThundering()Z
    • isRaining

      public boolean isRaining()
      Returns whether it is raining.
      Returns:
      whether it is raining
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official Y Lcmf;Y()Z
      intermediary method_8419 Lnet/minecraft/class_1937;method_8419()Z
      named isRaining Lnet/minecraft/world/World;isRaining()Z
    • hasRain

      public boolean hasRain(BlockPos pos)
      Returns whether it can rain at pos.
      Returns:
      whether it can rain at pos
      See Also:
      Implementation Note:
      This returns true if a rain is ongoing, the biome and the position allows it to rain, and there are no blocks above the position.
      Mappings:
      Namespace Name Mixin selector
      official q Lcmf;q(Lgu;)Z
      intermediary method_8520 Lnet/minecraft/class_1937;method_8520(Lnet/minecraft/class_2338;)Z
      named hasRain Lnet/minecraft/world/World;hasRain(Lnet/minecraft/util/math/BlockPos;)Z
    • getMapState

      @Nullable public abstract @Nullable MapState getMapState(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Ljava/lang/String;)Ldyg;
      intermediary method_17891 Lnet/minecraft/class_1937;method_17891(Ljava/lang/String;)Lnet/minecraft/class_22;
      named getMapState Lnet/minecraft/world/World;getMapState(Ljava/lang/String;)Lnet/minecraft/item/map/MapState;
    • putMapState

      public abstract void putMapState(String id, MapState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Ljava/lang/String;Ldyg;)V
      intermediary method_17890 Lnet/minecraft/class_1937;method_17890(Ljava/lang/String;Lnet/minecraft/class_22;)V
      named putMapState Lnet/minecraft/world/World;putMapState(Ljava/lang/String;Lnet/minecraft/item/map/MapState;)V
    • getNextMapId

      public abstract int getNextMapId()
      Mappings:
      Namespace Name Mixin selector
      official t Lcmf;t()I
      intermediary method_17889 Lnet/minecraft/class_1937;method_17889()I
      named getNextMapId Lnet/minecraft/world/World;getNextMapId()I
    • syncGlobalEvent

      public void syncGlobalEvent(int eventId, BlockPos pos, int data)
      Mappings:
      Namespace Name Mixin selector
      official b Lcmf;b(ILgu;I)V
      intermediary method_8474 Lnet/minecraft/class_1937;method_8474(ILnet/minecraft/class_2338;I)V
      named syncGlobalEvent Lnet/minecraft/world/World;syncGlobalEvent(ILnet/minecraft/util/math/BlockPos;I)V
    • addDetailsToCrashReport

      public CrashReportSection addDetailsToCrashReport(CrashReport report)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Lo;)Lp;
      intermediary method_8538 Lnet/minecraft/class_1937;method_8538(Lnet/minecraft/class_128;)Lnet/minecraft/class_129;
      named addDetailsToCrashReport Lnet/minecraft/world/World;addDetailsToCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReportSection;
    • setBlockBreakingInfo

      public abstract void setBlockBreakingInfo(int entityId, BlockPos pos, int progress)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(ILgu;I)V
      intermediary method_8517 Lnet/minecraft/class_1937;method_8517(ILnet/minecraft/class_2338;I)V
      named setBlockBreakingInfo Lnet/minecraft/world/World;setBlockBreakingInfo(ILnet/minecraft/util/math/BlockPos;I)V
    • addFireworkParticle

      public void addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable @Nullable NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(DDDDDDLqr;)V
      intermediary method_8547 Lnet/minecraft/class_1937;method_8547(DDDDDDLnet/minecraft/class_2487;)V
      named addFireworkParticle Lnet/minecraft/world/World;addFireworkParticle(DDDDDDLnet/minecraft/nbt/NbtCompound;)V
    • getScoreboard

      public abstract Scoreboard getScoreboard()
      Mappings:
      Namespace Name Mixin selector
      official H Lcmf;H()Lees;
      intermediary method_8428 Lnet/minecraft/class_1937;method_8428()Lnet/minecraft/class_269;
      named getScoreboard Lnet/minecraft/world/World;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
    • updateComparators

      public void updateComparators(BlockPos pos, Block block)
      Mappings:
      Namespace Name Mixin selector
      official c Lcmf;c(Lgu;Lcpg;)V
      intermediary method_8455 Lnet/minecraft/class_1937;method_8455(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
      named updateComparators Lnet/minecraft/world/World;updateComparators(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
    • getLocalDifficulty

      public LocalDifficulty getLocalDifficulty(BlockPos pos)
      Specified by:
      getLocalDifficulty in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official d_ Lcmg;d_(Lgu;)Lbds;
      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;
    • getAmbientDarkness

      public int getAmbientDarkness()
      Specified by:
      getAmbientDarkness in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official p_ Lcmi;p_()I
      intermediary method_8594 Lnet/minecraft/class_4538;method_8594()I
      named getAmbientDarkness Lnet/minecraft/world/WorldView;getAmbientDarkness()I
    • setLightningTicksLeft

      public void setLightningTicksLeft(int lightningTicksLeft)
      Mappings:
      Namespace Name Mixin selector
      official c Lcmf;c(I)V
      intermediary method_8509 Lnet/minecraft/class_1937;method_8509(I)V
      named setLightningTicksLeft Lnet/minecraft/world/World;setLightningTicksLeft(I)V
    • getWorldBorder

      public WorldBorder getWorldBorder()
      Specified by:
      getWorldBorder in interface CollisionView
      Mappings:
      Namespace Name Mixin selector
      official q_ Lclp;q_()Lddk;
      intermediary method_8621 Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;
      named getWorldBorder Lnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
    • sendPacket

      public void sendPacket(Packet<?> packet)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(Luo;)V
      intermediary method_8522 Lnet/minecraft/class_1937;method_8522(Lnet/minecraft/class_2596;)V
      named sendPacket Lnet/minecraft/world/World;sendPacket(Lnet/minecraft/network/packet/Packet;)V
    • getDimension

      public DimensionType getDimension()
      Specified by:
      getDimension in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official r_ Lcmi;r_()Ldfc;
      intermediary method_8597 Lnet/minecraft/class_4538;method_8597()Lnet/minecraft/class_2874;
      named getDimension Lnet/minecraft/world/WorldView;getDimension()Lnet/minecraft/world/dimension/DimensionType;
    • getDimensionKey

      public RegistryKey<DimensionType> getDimensionKey()
      Mappings:
      Namespace Name Mixin selector
      official Z Lcmf;Z()Lacp;
      intermediary method_44013 Lnet/minecraft/class_1937;method_44013()Lnet/minecraft/class_5321;
      named getDimensionKey Lnet/minecraft/world/World;getDimensionKey()Lnet/minecraft/registry/RegistryKey;
    • getDimensionEntry

      public RegistryEntry<DimensionType> getDimensionEntry()
      Mappings:
      Namespace Name Mixin selector
      official aa Lcmf;aa()Lhe;
      intermediary method_40134 Lnet/minecraft/class_1937;method_40134()Lnet/minecraft/class_6880;
      named getDimensionEntry Lnet/minecraft/world/World;getDimensionEntry()Lnet/minecraft/registry/entry/RegistryEntry;
    • getRegistryKey

      public RegistryKey<World> getRegistryKey()
      Mappings:
      Namespace Name Mixin selector
      official ab Lcmf;ab()Lacp;
      intermediary method_27983 Lnet/minecraft/class_1937;method_27983()Lnet/minecraft/class_5321;
      named getRegistryKey Lnet/minecraft/world/World;getRegistryKey()Lnet/minecraft/registry/RegistryKey;
    • getRandom

      public Random getRandom()
      Specified by:
      getRandom in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official s_ Lcmg;s_()Lapd;
      intermediary method_8409 Lnet/minecraft/class_1936;method_8409()Lnet/minecraft/class_5819;
      named getRandom Lnet/minecraft/world/WorldAccess;getRandom()Lnet/minecraft/util/math/random/Random;
    • testBlockState

      public boolean testBlockState(BlockPos pos, Predicate<BlockState> state)
      Specified by:
      testBlockState in interface TestableWorld
      Mappings:
      Namespace Name Mixin selector
      official a Lcml;a(Lgu;Ljava/util/function/Predicate;)Z
      intermediary method_16358 Lnet/minecraft/class_3746;method_16358(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
      named testBlockState Lnet/minecraft/world/TestableWorld;testBlockState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
    • testFluidState

      public boolean testFluidState(BlockPos pos, Predicate<FluidState> state)
      Specified by:
      testFluidState in interface TestableWorld
      Mappings:
      Namespace Name Mixin selector
      official b Lcml;b(Lgu;Ljava/util/function/Predicate;)Z
      intermediary method_35237 Lnet/minecraft/class_3746;method_35237(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
      named testFluidState Lnet/minecraft/world/TestableWorld;testFluidState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
    • getRecipeManager

      public abstract RecipeManager getRecipeManager()
      Mappings:
      Namespace Name Mixin selector
      official q Lcmf;q()Lciw;
      intermediary method_8433 Lnet/minecraft/class_1937;method_8433()Lnet/minecraft/class_1863;
      named getRecipeManager Lnet/minecraft/world/World;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
    • getRandomPosInChunk

      public BlockPos getRandomPosInChunk(int x, int y, int z, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmf;a(IIII)Lgu;
      intermediary method_8536 Lnet/minecraft/class_1937;method_8536(IIII)Lnet/minecraft/class_2338;
      named getRandomPosInChunk Lnet/minecraft/world/World;getRandomPosInChunk(IIII)Lnet/minecraft/util/math/BlockPos;
    • isSavingDisabled

      public boolean isSavingDisabled()
      Mappings:
      Namespace Name Mixin selector
      official r Lcmf;r()Z
      intermediary method_8458 Lnet/minecraft/class_1937;method_8458()Z
      named isSavingDisabled Lnet/minecraft/world/World;isSavingDisabled()Z
    • getProfiler

      public Profiler getProfiler()
      Mappings:
      Namespace Name Mixin selector
      official ac Lcmf;ac()Lbak;
      intermediary method_16107 Lnet/minecraft/class_1937;method_16107()Lnet/minecraft/class_3695;
      named getProfiler Lnet/minecraft/world/World;getProfiler()Lnet/minecraft/util/profiler/Profiler;
    • getProfilerSupplier

      public Supplier<Profiler> getProfilerSupplier()
      Mappings:
      Namespace Name Mixin selector
      official ad Lcmf;ad()Ljava/util/function/Supplier;
      intermediary method_24367 Lnet/minecraft/class_1937;method_24367()Ljava/util/function/Supplier;
      named getProfilerSupplier Lnet/minecraft/world/World;getProfilerSupplier()Ljava/util/function/Supplier;
    • getBiomeAccess

      public BiomeAccess getBiomeAccess()
      Specified by:
      getBiomeAccess in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official t_ Lcmi;t_()Lcnf;
      intermediary method_22385 Lnet/minecraft/class_4538;method_22385()Lnet/minecraft/class_4543;
      named getBiomeAccess Lnet/minecraft/world/WorldView;getBiomeAccess()Lnet/minecraft/world/biome/source/BiomeAccess;
    • isDebugWorld

      public final boolean isDebugWorld()
      Checks if this world is a debug world.

      Debug worlds are not modifiable. They have a barrier layer at y=60, and lists all possible block states in game at y=70, helpful for finding block rendering and model errors.

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ae Lcmf;ae()Z
      intermediary method_27982 Lnet/minecraft/class_1937;method_27982()Z
      named isDebugWorld Lnet/minecraft/world/World;isDebugWorld()Z
    • getEntityLookup

      protected abstract EntityLookup<Entity> getEntityLookup()
      Mappings:
      Namespace Name Mixin selector
      official E Lcmf;E()Ldft;
      intermediary method_31592 Lnet/minecraft/class_1937;method_31592()Lnet/minecraft/class_5577;
      named getEntityLookup Lnet/minecraft/world/World;getEntityLookup()Lnet/minecraft/world/entity/EntityLookup;
    • getTickOrder

      public long getTickOrder()
      Specified by:
      getTickOrder in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official u_ Lcmg;u_()J
      intermediary method_39224 Lnet/minecraft/class_1936;method_39224()J
      named getTickOrder Lnet/minecraft/world/WorldAccess;getTickOrder()J
    • getRegistryManager

      public DynamicRegistryManager getRegistryManager()
      Specified by:
      getRegistryManager in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official v_ Lcmi;v_()Lhs;
      intermediary method_30349 Lnet/minecraft/class_4538;method_30349()Lnet/minecraft/class_5455;
      named getRegistryManager Lnet/minecraft/world/WorldView;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager;
    • getDamageSources

      public DamageSources getDamageSources()
      Mappings:
      Namespace Name Mixin selector
      official af Lcmf;af()Lbej;
      intermediary method_48963 Lnet/minecraft/class_1937;method_48963()Lnet/minecraft/class_8109;
      named getDamageSources Lnet/minecraft/world/World;getDamageSources()Lnet/minecraft/entity/damage/DamageSources;