Class ServerWorld

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

public class ServerWorld extends World implements StructureWorldAccess
Mappings:
Namespace Name
named net/minecraft/server/world/ServerWorld
intermediary net/minecraft/class_3218
official aqt
  • Field Details

    • END_SPAWN_POS

      public static final BlockPos END_SPAWN_POS
      Mappings:
      Namespace Name Mixin selector
      named END_SPAWN_POS Lnet/minecraft/server/world/ServerWorld;END_SPAWN_POS:Lnet/minecraft/util/math/BlockPos;
      intermediary field_25144 Lnet/minecraft/class_3218;field_25144:Lnet/minecraft/class_2338;
      official a Laqt;a:Ljd;
    • CLEAR_WEATHER_DURATION_PROVIDER

      public static final IntProvider CLEAR_WEATHER_DURATION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      named CLEAR_WEATHER_DURATION_PROVIDER Lnet/minecraft/server/world/ServerWorld;CLEAR_WEATHER_DURATION_PROVIDER:Lnet/minecraft/util/math/intprovider/IntProvider;
      intermediary field_41749 Lnet/minecraft/class_3218;field_41749:Lnet/minecraft/class_6017;
      official b Laqt;b:Lbpv;
    • RAIN_WEATHER_DURATION_PROVIDER

      public static final IntProvider RAIN_WEATHER_DURATION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      named RAIN_WEATHER_DURATION_PROVIDER Lnet/minecraft/server/world/ServerWorld;RAIN_WEATHER_DURATION_PROVIDER:Lnet/minecraft/util/math/intprovider/IntProvider;
      intermediary field_41750 Lnet/minecraft/class_3218;field_41750:Lnet/minecraft/class_6017;
      official c Laqt;c:Lbpv;
    • CLEAR_THUNDER_WEATHER_DURATION_PROVIDER

      private static final IntProvider CLEAR_THUNDER_WEATHER_DURATION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      named CLEAR_THUNDER_WEATHER_DURATION_PROVIDER Lnet/minecraft/server/world/ServerWorld;CLEAR_THUNDER_WEATHER_DURATION_PROVIDER:Lnet/minecraft/util/math/intprovider/IntProvider;
      intermediary field_41748 Lnet/minecraft/class_3218;field_41748:Lnet/minecraft/class_6017;
      official D Laqt;D:Lbpv;
    • THUNDER_WEATHER_DURATION_PROVIDER

      public static final IntProvider THUNDER_WEATHER_DURATION_PROVIDER
      Mappings:
      Namespace Name Mixin selector
      named THUNDER_WEATHER_DURATION_PROVIDER Lnet/minecraft/server/world/ServerWorld;THUNDER_WEATHER_DURATION_PROVIDER:Lnet/minecraft/util/math/intprovider/IntProvider;
      intermediary field_41751 Lnet/minecraft/class_3218;field_41751:Lnet/minecraft/class_6017;
      official d Laqt;d:Lbpv;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/world/ServerWorld;LOGGER:Lorg/slf4j/Logger;
      intermediary field_13952 Lnet/minecraft/class_3218;field_13952:Lorg/slf4j/Logger;
      official E Laqt;E:Lorg/slf4j/Logger;
    • SERVER_IDLE_COOLDOWN

      private static final int SERVER_IDLE_COOLDOWN
      The number of ticks (300) the world will continue to tick entities after all players have left and the world does not contain any forced chunks.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SERVER_IDLE_COOLDOWN Lnet/minecraft/server/world/ServerWorld;SERVER_IDLE_COOLDOWN:I
      intermediary field_29768 Lnet/minecraft/class_3218;field_29768:I
      official F Laqt;F:I
    • MAX_TICKS

      private static final int MAX_TICKS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_TICKS Lnet/minecraft/server/world/ServerWorld;MAX_TICKS:I
      intermediary field_35441 Lnet/minecraft/class_3218;field_35441:I
      official G Laqt;G:I
    • players

      final List<ServerPlayerEntity> players
      Mappings:
      Namespace Name Mixin selector
      named players Lnet/minecraft/server/world/ServerWorld;players:Ljava/util/List;
      intermediary field_18261 Lnet/minecraft/class_3218;field_18261:Ljava/util/List;
      official H Laqt;H:Ljava/util/List;
    • chunkManager

      private final ServerChunkManager chunkManager
      Mappings:
      Namespace Name Mixin selector
      named chunkManager Lnet/minecraft/server/world/ServerWorld;chunkManager:Lnet/minecraft/server/world/ServerChunkManager;
      intermediary field_24624 Lnet/minecraft/class_3218;field_24624:Lnet/minecraft/class_3215;
      official I Laqt;I:Laqr;
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      named server Lnet/minecraft/server/world/ServerWorld;server:Lnet/minecraft/server/MinecraftServer;
      intermediary field_13959 Lnet/minecraft/class_3218;field_13959:Lnet/minecraft/server/MinecraftServer;
      official J Laqt;J:Lnet/minecraft/server/MinecraftServer;
    • worldProperties

      private final ServerWorldProperties worldProperties
      Mappings:
      Namespace Name Mixin selector
      named worldProperties Lnet/minecraft/server/world/ServerWorld;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;
      intermediary field_24456 Lnet/minecraft/class_3218;field_24456:Lnet/minecraft/class_5268;
      official K Laqt;K:Lere;
    • spawnChunkRadius

      private int spawnChunkRadius
      Mappings:
      Namespace Name Mixin selector
      named spawnChunkRadius Lnet/minecraft/server/world/ServerWorld;spawnChunkRadius:I
      intermediary field_48271 Lnet/minecraft/class_3218;field_48271:I
      official L Laqt;L:I
    • entityList

      final EntityList entityList
      Mappings:
      Namespace Name Mixin selector
      named entityList Lnet/minecraft/server/world/ServerWorld;entityList:Lnet/minecraft/world/EntityList;
      intermediary field_26934 Lnet/minecraft/class_3218;field_26934:Lnet/minecraft/class_5574;
      official M Laqt;M:Ldxj;
    • entityManager

      private final ServerEntityManager<Entity> entityManager
      Mappings:
      Namespace Name Mixin selector
      named entityManager Lnet/minecraft/server/world/ServerWorld;entityManager:Lnet/minecraft/server/world/ServerEntityManager;
      intermediary field_26935 Lnet/minecraft/class_3218;field_26935:Lnet/minecraft/class_5579;
      official N Laqt;N:Ldxo;
    • gameEventDispatchManager

      private final GameEventDispatchManager gameEventDispatchManager
      Mappings:
      Namespace Name Mixin selector
      named gameEventDispatchManager Lnet/minecraft/server/world/ServerWorld;gameEventDispatchManager:Lnet/minecraft/world/event/listener/GameEventDispatchManager;
      intermediary field_39984 Lnet/minecraft/class_3218;field_39984:Lnet/minecraft/class_7719;
      official O Laqt;O:Ldxx;
    • savingDisabled

      public boolean savingDisabled
      Mappings:
      Namespace Name Mixin selector
      named savingDisabled Lnet/minecraft/server/world/ServerWorld;savingDisabled:Z
      intermediary field_13957 Lnet/minecraft/class_3218;field_13957:Z
      official e Laqt;e:Z
    • sleepManager

      private final SleepManager sleepManager
      Mappings:
      Namespace Name Mixin selector
      named sleepManager Lnet/minecraft/server/world/ServerWorld;sleepManager:Lnet/minecraft/server/world/SleepManager;
      intermediary field_28859 Lnet/minecraft/class_3218;field_28859:Lnet/minecraft/class_5838;
      official P Laqt;P:Laut;
    • idleTimeout

      private int idleTimeout
      Mappings:
      Namespace Name Mixin selector
      named idleTimeout Lnet/minecraft/server/world/ServerWorld;idleTimeout:I
      intermediary field_13948 Lnet/minecraft/class_3218;field_13948:I
      official Q Laqt;Q:I
    • portalForcer

      private final PortalForcer portalForcer
      Mappings:
      Namespace Name Mixin selector
      named portalForcer Lnet/minecraft/server/world/ServerWorld;portalForcer:Lnet/minecraft/world/PortalForcer;
      intermediary field_13956 Lnet/minecraft/class_3218;field_13956:Lnet/minecraft/class_1946;
      official R Laqt;R:Lepx;
    • blockTickScheduler

      private final WorldTickScheduler<Block> blockTickScheduler
      Mappings:
      Namespace Name Mixin selector
      named blockTickScheduler Lnet/minecraft/server/world/ServerWorld;blockTickScheduler:Lnet/minecraft/world/tick/WorldTickScheduler;
      intermediary field_13949 Lnet/minecraft/class_3218;field_13949:Lnet/minecraft/class_6757;
      official S Laqt;S:Leyk;
    • fluidTickScheduler

      private final WorldTickScheduler<Fluid> fluidTickScheduler
      Mappings:
      Namespace Name Mixin selector
      named fluidTickScheduler Lnet/minecraft/server/world/ServerWorld;fluidTickScheduler:Lnet/minecraft/world/tick/WorldTickScheduler;
      intermediary field_13951 Lnet/minecraft/class_3218;field_13951:Lnet/minecraft/class_6757;
      official T Laqt;T:Leyk;
    • pathNodeTypeCache

      private final PathNodeTypeCache pathNodeTypeCache
      Mappings:
      Namespace Name Mixin selector
      named pathNodeTypeCache Lnet/minecraft/server/world/ServerWorld;pathNodeTypeCache:Lnet/minecraft/entity/ai/pathing/PathNodeTypeCache;
      intermediary field_49172 Lnet/minecraft/class_3218;field_49172:Lnet/minecraft/class_9315;
      official U Laqt;U:Lepq;
    • loadedMobs

      final Set<MobEntity> loadedMobs
      Mappings:
      Namespace Name Mixin selector
      named loadedMobs Lnet/minecraft/server/world/ServerWorld;loadedMobs:Ljava/util/Set;
      intermediary field_26932 Lnet/minecraft/class_3218;field_26932:Ljava/util/Set;
      official V Laqt;V:Ljava/util/Set;
    • duringListenerUpdate

      volatile boolean duringListenerUpdate
      Mappings:
      Namespace Name Mixin selector
      named duringListenerUpdate Lnet/minecraft/server/world/ServerWorld;duringListenerUpdate:Z
      intermediary field_36317 Lnet/minecraft/class_3218;field_36317:Z
      official W Laqt;W:Z
    • raidManager

      protected final RaidManager raidManager
      Mappings:
      Namespace Name Mixin selector
      named raidManager Lnet/minecraft/server/world/ServerWorld;raidManager:Lnet/minecraft/village/raid/RaidManager;
      intermediary field_18811 Lnet/minecraft/class_3218;field_18811:Lnet/minecraft/class_3767;
      official f Laqt;f:Lcoi;
    • syncedBlockEventQueue

      private final ObjectLinkedOpenHashSet<BlockEvent> syncedBlockEventQueue
      Mappings:
      Namespace Name Mixin selector
      named syncedBlockEventQueue Lnet/minecraft/server/world/ServerWorld;syncedBlockEventQueue:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
      intermediary field_13950 Lnet/minecraft/class_3218;field_13950:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
      official X Laqt;X:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
    • blockEventQueue

      private final List<BlockEvent> blockEventQueue
      Mappings:
      Namespace Name Mixin selector
      named blockEventQueue Lnet/minecraft/server/world/ServerWorld;blockEventQueue:Ljava/util/List;
      intermediary field_35565 Lnet/minecraft/class_3218;field_35565:Ljava/util/List;
      official Y Laqt;Y:Ljava/util/List;
    • inBlockTick

      private boolean inBlockTick
      Mappings:
      Namespace Name Mixin selector
      named inBlockTick Lnet/minecraft/server/world/ServerWorld;inBlockTick:Z
      intermediary field_13953 Lnet/minecraft/class_3218;field_13953:Z
      official Z Laqt;Z:Z
    • spawners

      private final List<SpecialSpawner> spawners
      Mappings:
      Namespace Name Mixin selector
      named spawners Lnet/minecraft/server/world/ServerWorld;spawners:Ljava/util/List;
      intermediary field_25141 Lnet/minecraft/class_3218;field_25141:Ljava/util/List;
      official aa Laqt;aa:Ljava/util/List;
    • enderDragonFight

      @Nullable private @Nullable EnderDragonFight enderDragonFight
      Mappings:
      Namespace Name Mixin selector
      named enderDragonFight Lnet/minecraft/server/world/ServerWorld;enderDragonFight:Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
      intermediary field_25142 Lnet/minecraft/class_3218;field_25142:Lnet/minecraft/class_2881;
      official ab Laqt;ab:Ldwy;
    • dragonParts

      final Int2ObjectMap<EnderDragonPart> dragonParts
      Mappings:
      Namespace Name Mixin selector
      named dragonParts Lnet/minecraft/server/world/ServerWorld;dragonParts:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_26933 Lnet/minecraft/class_3218;field_26933:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      official ac Laqt;ac:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • structureAccessor

      private final StructureAccessor structureAccessor
      Mappings:
      Namespace Name Mixin selector
      named structureAccessor Lnet/minecraft/server/world/ServerWorld;structureAccessor:Lnet/minecraft/world/gen/StructureAccessor;
      intermediary field_23787 Lnet/minecraft/class_3218;field_23787:Lnet/minecraft/class_5138;
      official ad Laqt;ad:Lddo;
    • structureLocator

      private final StructureLocator structureLocator
      Mappings:
      Namespace Name Mixin selector
      named structureLocator Lnet/minecraft/server/world/ServerWorld;structureLocator:Lnet/minecraft/world/StructureLocator;
      intermediary field_36208 Lnet/minecraft/class_3218;field_36208:Lnet/minecraft/class_6832;
      official ae Laqt;ae:Lejn;
    • shouldTickTime

      private final boolean shouldTickTime
      Mappings:
      Namespace Name Mixin selector
      named shouldTickTime Lnet/minecraft/server/world/ServerWorld;shouldTickTime:Z
      intermediary field_25143 Lnet/minecraft/class_3218;field_25143:Z
      official af Laqt;af:Z
    • randomSequences

      private final RandomSequencesState randomSequences
      Mappings:
      Namespace Name Mixin selector
      named randomSequences Lnet/minecraft/server/world/ServerWorld;randomSequences:Lnet/minecraft/util/math/random/RandomSequencesState;
      intermediary field_44857 Lnet/minecraft/class_3218;field_44857:Lnet/minecraft/class_8565;
      official ag Laqt;ag:Lbqx;
  • Constructor Details

    • ServerWorld

      public ServerWorld(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey<World> worldKey, DimensionOptions dimensionOptions, WorldGenerationProgressListener worldGenerationProgressListener, boolean debugWorld, long seed, List<SpecialSpawner> spawners, boolean shouldTickTime, @Nullable @Nullable RandomSequencesState randomSequencesState)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/world/ServerWorld;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/world/level/ServerWorldProperties;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/dimension/DimensionOptions;Lnet/minecraft/server/WorldGenerationProgressListener;ZJLjava/util/List;ZLnet/minecraft/util/math/random/RandomSequencesState;)V
      intermediary <init> Lnet/minecraft/class_3218;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5268;Lnet/minecraft/class_5321;Lnet/minecraft/class_5363;Lnet/minecraft/class_3949;ZJLjava/util/List;ZLnet/minecraft/class_8565;)V
      official <init> Laqt;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Leqz$c;Lere;Lakp;Ldww;Larc;ZJLjava/util/List;ZLbqx;)V
  • Method Details

    • setEnderDragonFight

      @Deprecated public void setEnderDragonFight(@Nullable @Nullable EnderDragonFight enderDragonFight)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named setEnderDragonFight Lnet/minecraft/server/world/ServerWorld;setEnderDragonFight(Lnet/minecraft/entity/boss/dragon/EnderDragonFight;)V
      intermediary method_51837 Lnet/minecraft/class_3218;method_51837(Lnet/minecraft/class_2881;)V
      official a Laqt;a(Ldwy;)V
    • setWeather

      public void setWeather(int clearDuration, int rainDuration, boolean raining, boolean thundering)
      Sets the current weather, as well as how long it should last.
      Parameters:
      clearDuration - how long the clear weather should last, in seconds
      rainDuration - how long the rain or the thunderstorm should last, in seconds
      raining - whether a rain is ongoing
      thundering - whether a thunderstorm is ongoing
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named setWeather Lnet/minecraft/server/world/ServerWorld;setWeather(IIZZ)V
      intermediary method_27910 Lnet/minecraft/class_3218;method_27910(IIZZ)V
      official a Laqt;a(IIZZ)V
    • getGeneratorStoredBiome

      public RegistryEntry<Biome> getGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ)
      Specified by:
      getGeneratorStoredBiome in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      named getGeneratorStoredBiome Lnet/minecraft/world/WorldView;getGeneratorStoredBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_22387 Lnet/minecraft/class_4538;method_22387(III)Lnet/minecraft/class_6880;
      official a Ldcx;a(III)Ljm;
    • getStructureAccessor

      public StructureAccessor getStructureAccessor()
      Mappings:
      Namespace Name Mixin selector
      named getStructureAccessor Lnet/minecraft/server/world/ServerWorld;getStructureAccessor()Lnet/minecraft/world/gen/StructureAccessor;
      intermediary method_27056 Lnet/minecraft/class_3218;method_27056()Lnet/minecraft/class_5138;
      official a Laqt;a()Lddo;
    • tick

      public void tick(BooleanSupplier shouldKeepTicking)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/server/world/ServerWorld;tick(Ljava/util/function/BooleanSupplier;)V
      intermediary method_18765 Lnet/minecraft/class_3218;method_18765(Ljava/util/function/BooleanSupplier;)V
      official a Laqt;a(Ljava/util/function/BooleanSupplier;)V
    • shouldTickBlocksInChunk

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

      protected void tickTime()
      Mappings:
      Namespace Name Mixin selector
      named tickTime Lnet/minecraft/server/world/ServerWorld;tickTime()V
      intermediary method_29203 Lnet/minecraft/class_3218;method_29203()V
      official b Laqt;b()V
    • setTimeOfDay

      public void setTimeOfDay(long timeOfDay)
      Sets 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.

      See Also:
      Mappings:
      Namespace Name Mixin selector
      named setTimeOfDay Lnet/minecraft/server/world/ServerWorld;setTimeOfDay(J)V
      intermediary method_29199 Lnet/minecraft/class_3218;method_29199(J)V
      official b Laqt;b(J)V
    • tickSpawners

      public void tickSpawners(boolean spawnMonsters, boolean spawnAnimals)
      Mappings:
      Namespace Name Mixin selector
      named tickSpawners Lnet/minecraft/server/world/ServerWorld;tickSpawners(ZZ)V
      intermediary method_29202 Lnet/minecraft/class_3218;method_29202(ZZ)V
      official a Laqt;a(ZZ)V
    • shouldCancelSpawn

      private boolean shouldCancelSpawn(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named shouldCancelSpawn Lnet/minecraft/server/world/ServerWorld;shouldCancelSpawn(Lnet/minecraft/entity/Entity;)Z
      intermediary method_31430 Lnet/minecraft/class_3218;method_31430(Lnet/minecraft/class_1297;)Z
      official i Laqt;i(Lbsq;)Z
    • wakeSleepingPlayers

      private void wakeSleepingPlayers()
      Mappings:
      Namespace Name Mixin selector
      named wakeSleepingPlayers Lnet/minecraft/server/world/ServerWorld;wakeSleepingPlayers()V
      intermediary method_23660 Lnet/minecraft/class_3218;method_23660()V
      official as Laqt;as()V
    • tickChunk

      public void tickChunk(WorldChunk chunk, int randomTickSpeed)
      Mappings:
      Namespace Name Mixin selector
      named tickChunk Lnet/minecraft/server/world/ServerWorld;tickChunk(Lnet/minecraft/world/chunk/WorldChunk;I)V
      intermediary method_18203 Lnet/minecraft/class_3218;method_18203(Lnet/minecraft/class_2818;I)V
      official a Laqt;a(Ldvg;I)V
    • tickIceAndSnow

      public void tickIceAndSnow(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named tickIceAndSnow Lnet/minecraft/server/world/ServerWorld;tickIceAndSnow(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_52370 Lnet/minecraft/class_3218;method_52370(Lnet/minecraft/class_2338;)V
      official a Laqt;a(Ljd;)V
    • getLightningRodPos

      private Optional<BlockPos> getLightningRodPos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getLightningRodPos Lnet/minecraft/server/world/ServerWorld;getLightningRodPos(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
      intermediary method_31418 Lnet/minecraft/class_3218;method_31418(Lnet/minecraft/class_2338;)Ljava/util/Optional;
      official E Laqt;E(Ljd;)Ljava/util/Optional;
    • getLightningPos

      protected BlockPos getLightningPos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getLightningPos Lnet/minecraft/server/world/ServerWorld;getLightningPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
      intermediary method_18210 Lnet/minecraft/class_3218;method_18210(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      official b Laqt;b(Ljd;)Ljd;
    • isInBlockTick

      public boolean isInBlockTick()
      Mappings:
      Namespace Name Mixin selector
      named isInBlockTick Lnet/minecraft/server/world/ServerWorld;isInBlockTick()Z
      intermediary method_14177 Lnet/minecraft/class_3218;method_14177()Z
      official c Laqt;c()Z
    • isSleepingEnabled

      public boolean isSleepingEnabled()
      Returns whether sleeping can cause the night to skip.
      Returns:
      whether sleeping can cause the night to skip
      Mappings:
      Namespace Name Mixin selector
      named isSleepingEnabled Lnet/minecraft/server/world/ServerWorld;isSleepingEnabled()Z
      intermediary method_33144 Lnet/minecraft/class_3218;method_33144()Z
      official d Laqt;d()Z
    • sendSleepingStatus

      private void sendSleepingStatus()
      Sends sleeping status action bar messages to players in this world.
      Mappings:
      Namespace Name Mixin selector
      named sendSleepingStatus Lnet/minecraft/server/world/ServerWorld;sendSleepingStatus()V
      intermediary method_33143 Lnet/minecraft/class_3218;method_33143()V
      official at Laqt;at()V
    • updateSleepingPlayers

      public void updateSleepingPlayers()
      Mappings:
      Namespace Name Mixin selector
      named updateSleepingPlayers Lnet/minecraft/server/world/ServerWorld;updateSleepingPlayers()V
      intermediary method_8448 Lnet/minecraft/class_3218;method_8448()V
      official e Laqt;e()V
    • getScoreboard

      public ServerScoreboard getScoreboard()
      Specified by:
      getScoreboard in class World
      Mappings:
      Namespace Name Mixin selector
      named getScoreboard Lnet/minecraft/server/world/ServerWorld;getScoreboard()Lnet/minecraft/scoreboard/ServerScoreboard;
      intermediary method_14170 Lnet/minecraft/class_3218;method_14170()Lnet/minecraft/class_2995;
      official f Laqt;f()Lalj;
    • tickWeather

      private void tickWeather()
      Mappings:
      Namespace Name Mixin selector
      named tickWeather Lnet/minecraft/server/world/ServerWorld;tickWeather()V
      intermediary method_39501 Lnet/minecraft/class_3218;method_39501()V
      official au Laqt;au()V
    • resetWeather

      public void resetWeather()
      Mappings:
      Namespace Name Mixin selector
      named resetWeather Lnet/minecraft/server/world/ServerWorld;resetWeather()V
      intermediary method_14195 Lnet/minecraft/class_3218;method_14195()V
      official g Laqt;g()V
    • resetIdleTimeout

      public void resetIdleTimeout()
      Mappings:
      Namespace Name Mixin selector
      named resetIdleTimeout Lnet/minecraft/server/world/ServerWorld;resetIdleTimeout()V
      intermediary method_14197 Lnet/minecraft/class_3218;method_14197()V
      official h Laqt;h()V
    • tickFluid

      private void tickFluid(BlockPos pos, Fluid fluid)
      Mappings:
      Namespace Name Mixin selector
      named tickFluid Lnet/minecraft/server/world/ServerWorld;tickFluid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/fluid/Fluid;)V
      intermediary method_14171 Lnet/minecraft/class_3218;method_14171(Lnet/minecraft/class_2338;Lnet/minecraft/class_3611;)V
      official a Laqt;a(Ljd;Leox;)V
    • tickBlock

      private void tickBlock(BlockPos pos, Block block)
      Mappings:
      Namespace Name Mixin selector
      named tickBlock Lnet/minecraft/server/world/ServerWorld;tickBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
      intermediary method_14189 Lnet/minecraft/class_3218;method_14189(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
      official d Laqt;d(Ljd;Ldfw;)V
    • tickEntity

      public void tickEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named tickEntity Lnet/minecraft/server/world/ServerWorld;tickEntity(Lnet/minecraft/entity/Entity;)V
      intermediary method_18762 Lnet/minecraft/class_3218;method_18762(Lnet/minecraft/class_1297;)V
      official a Laqt;a(Lbsq;)V
    • tickPassenger

      private void tickPassenger(Entity vehicle, Entity passenger)
      Mappings:
      Namespace Name Mixin selector
      named tickPassenger Lnet/minecraft/server/world/ServerWorld;tickPassenger(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
      intermediary method_18763 Lnet/minecraft/class_3218;method_18763(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V
      official a Laqt;a(Lbsq;Lbsq;)V
    • canPlayerModifyAt

      public boolean canPlayerModifyAt(PlayerEntity player, BlockPos pos)
      Returns whether player can modify blocks at pos.
      Overrides:
      canPlayerModifyAt in class World
      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
      named canPlayerModifyAt Lnet/minecraft/world/World;canPlayerModifyAt(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_8505 Lnet/minecraft/class_1937;method_8505(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;)Z
      official a Ldcu;a(Lcmv;Ljd;)Z
    • save

      public void save(@Nullable @Nullable ProgressListener progressListener, boolean flush, boolean savingDisabled)
      Saves the world.
      Parameters:
      progressListener - the listener for the saving process, or null to specify none
      flush - if it should immediately write all data to storage device
      savingDisabled - whether to return early without doing anything
      Mappings:
      Namespace Name Mixin selector
      named save Lnet/minecraft/server/world/ServerWorld;save(Lnet/minecraft/util/ProgressListener;ZZ)V
      intermediary method_14176 Lnet/minecraft/class_3218;method_14176(Lnet/minecraft/class_3536;ZZ)V
      official a Laqt;a(Layu;ZZ)V
    • saveLevel

      private void saveLevel()
      Mappings:
      Namespace Name Mixin selector
      named saveLevel Lnet/minecraft/server/world/ServerWorld;saveLevel()V
      intermediary method_14188 Lnet/minecraft/class_3218;method_14188()V
      official av Laqt;av()V
    • getEntitiesByType

      public <T extends Entity> List<? extends T> getEntitiesByType(TypeFilter<Entity,T> filter, Predicate<? super T> predicate)
      Computes a list of entities of the given type. Warning: If null is passed as the entity type filter, care should be taken that the type argument T is set to Entity, otherwise heap pollution in the returned list or ClassCastException can occur.
      Parameters:
      predicate - a predicate which returned entities must satisfy
      Returns:
      a list of entities of the given type
      Mappings:
      Namespace Name Mixin selector
      named getEntitiesByType Lnet/minecraft/server/world/ServerWorld;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;)Ljava/util/List;
      intermediary method_18198 Lnet/minecraft/class_3218;method_18198(Lnet/minecraft/class_5575;Ljava/util/function/Predicate;)Ljava/util/List;
      official a Laqt;a(Ldxk;Ljava/util/function/Predicate;)Ljava/util/List;
    • collectEntitiesByType

      public <T extends Entity> void collectEntitiesByType(TypeFilter<Entity,T> filter, Predicate<? super T> predicate, List<? super T> result)
      Mappings:
      Namespace Name Mixin selector
      named collectEntitiesByType Lnet/minecraft/server/world/ServerWorld;collectEntitiesByType(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;Ljava/util/List;)V
      intermediary method_47538 Lnet/minecraft/class_3218;method_47538(Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/List;)V
      official a Laqt;a(Ldxk;Ljava/util/function/Predicate;Ljava/util/List;)V
    • collectEntitiesByType

      public <T extends Entity> void collectEntitiesByType(TypeFilter<Entity,T> filter, Predicate<? super T> predicate, List<? super T> result, int limit)
      Collects entities of the given type, up to limit. Using this can improve performance, especially if limit is small.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named collectEntitiesByType Lnet/minecraft/server/world/ServerWorld;collectEntitiesByType(Lnet/minecraft/util/TypeFilter;Ljava/util/function/Predicate;Ljava/util/List;I)V
      intermediary method_47539 Lnet/minecraft/class_3218;method_47539(Lnet/minecraft/class_5575;Ljava/util/function/Predicate;Ljava/util/List;I)V
      official a Laqt;a(Ldxk;Ljava/util/function/Predicate;Ljava/util/List;I)V
    • getAliveEnderDragons

      public List<? extends EnderDragonEntity> getAliveEnderDragons()
      Returns the list of alive ender dragons in the world.
      Returns:
      the list of alive ender dragons in the world
      Mappings:
      Namespace Name Mixin selector
      named getAliveEnderDragons Lnet/minecraft/server/world/ServerWorld;getAliveEnderDragons()Ljava/util/List;
      intermediary method_18776 Lnet/minecraft/class_3218;method_18776()Ljava/util/List;
      official i Laqt;i()Ljava/util/List;
    • getPlayers

      public List<ServerPlayerEntity> getPlayers(Predicate<? super ServerPlayerEntity> predicate)
      Returns the list of players filtered using predicate.
      Returns:
      the list of players filtered using predicate
      Mappings:
      Namespace Name Mixin selector
      named getPlayers Lnet/minecraft/server/world/ServerWorld;getPlayers(Ljava/util/function/Predicate;)Ljava/util/List;
      intermediary method_18766 Lnet/minecraft/class_3218;method_18766(Ljava/util/function/Predicate;)Ljava/util/List;
      official a Laqt;a(Ljava/util/function/Predicate;)Ljava/util/List;
    • getPlayers

      public List<ServerPlayerEntity> getPlayers(Predicate<? super ServerPlayerEntity> predicate, int limit)
      Returns the list of players filtered using predicate, up to limit.
      Returns:
      the list of players filtered using predicate, up to limit
      Mappings:
      Namespace Name Mixin selector
      named getPlayers Lnet/minecraft/server/world/ServerWorld;getPlayers(Ljava/util/function/Predicate;I)Ljava/util/List;
      intermediary method_47540 Lnet/minecraft/class_3218;method_47540(Ljava/util/function/Predicate;I)Ljava/util/List;
      official a Laqt;a(Ljava/util/function/Predicate;I)Ljava/util/List;
    • getRandomAlivePlayer

      @Nullable public @Nullable ServerPlayerEntity getRandomAlivePlayer()
      Returns a randomly selected alive player, or null if there is none.
      Returns:
      a randomly selected alive player, or null if there is none
      Mappings:
      Namespace Name Mixin selector
      named getRandomAlivePlayer Lnet/minecraft/server/world/ServerWorld;getRandomAlivePlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
      intermediary method_18779 Lnet/minecraft/class_3218;method_18779()Lnet/minecraft/class_3222;
      official j Laqt;j()Laqu;
    • spawnEntity

      public boolean spawnEntity(Entity entity)
      Spawns an entity.
      Specified by:
      spawnEntity in interface ModifiableWorld
      See Also:
      • invalid reference
        ServerWorldAccess#spawnEntityAndPassengers
      API Note:
      To spawn an entity with passengers, use
      invalid reference
      ServerWorldAccess#spawnEntityAndPassengers
      .
      Mappings:
      Namespace Name Mixin selector
      named spawnEntity Lnet/minecraft/world/ModifiableWorld;spawnEntity(Lnet/minecraft/entity/Entity;)Z
      intermediary method_8649 Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Z
      official b Lddc;b(Lbsq;)Z
    • tryLoadEntity

      public boolean tryLoadEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named tryLoadEntity Lnet/minecraft/server/world/ServerWorld;tryLoadEntity(Lnet/minecraft/entity/Entity;)Z
      intermediary method_18768 Lnet/minecraft/class_3218;method_18768(Lnet/minecraft/class_1297;)Z
      official c Laqt;c(Lbsq;)Z
    • onDimensionChanged

      public void onDimensionChanged(Entity entity)
      Called on the destination world when an entity changed the dimension.

      This does not get called for players changing dimensions. Use

      invalid reference
      #onPlayerChangeDimension
      (for portals) or
      invalid reference
      #onPlayerTeleport
      (for teleportation) instead.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named onDimensionChanged Lnet/minecraft/server/world/ServerWorld;onDimensionChanged(Lnet/minecraft/entity/Entity;)V
      intermediary method_18769 Lnet/minecraft/class_3218;method_18769(Lnet/minecraft/class_1297;)V
      official d Laqt;d(Lbsq;)V
    • onPlayerConnected

      public void onPlayerConnected(ServerPlayerEntity player)
      Called on the player's world when the player connected to the server and spawned.
      Mappings:
      Namespace Name Mixin selector
      named onPlayerConnected Lnet/minecraft/server/world/ServerWorld;onPlayerConnected(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_18213 Lnet/minecraft/class_3218;method_18213(Lnet/minecraft/class_3222;)V
      official a Laqt;a(Laqu;)V
    • onPlayerRespawned

      public void onPlayerRespawned(ServerPlayerEntity player)
      Called on the world that has the player's respawn point when the player respawned.
      Mappings:
      Namespace Name Mixin selector
      named onPlayerRespawned Lnet/minecraft/server/world/ServerWorld;onPlayerRespawned(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_18215 Lnet/minecraft/class_3218;method_18215(Lnet/minecraft/class_3222;)V
      official b Laqt;b(Laqu;)V
    • addPlayer

      private void addPlayer(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named addPlayer Lnet/minecraft/server/world/ServerWorld;addPlayer(Lnet/minecraft/server/network/ServerPlayerEntity;)V
      intermediary method_18771 Lnet/minecraft/class_3218;method_18771(Lnet/minecraft/class_3222;)V
      official c Laqt;c(Laqu;)V
    • addEntity

      private boolean addEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named addEntity Lnet/minecraft/server/world/ServerWorld;addEntity(Lnet/minecraft/entity/Entity;)Z
      intermediary method_14175 Lnet/minecraft/class_3218;method_14175(Lnet/minecraft/class_1297;)Z
      official j Laqt;j(Lbsq;)Z
    • spawnNewEntityAndPassengers

      public boolean spawnNewEntityAndPassengers(Entity entity)
      Checks whether any of the entity and its passengers already exist in the world, and if not, spawns the entity with its passengers.
      Returns:
      true if the spawning was successful, otherwise false
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named spawnNewEntityAndPassengers Lnet/minecraft/server/world/ServerWorld;spawnNewEntityAndPassengers(Lnet/minecraft/entity/Entity;)Z
      intermediary method_30736 Lnet/minecraft/class_3218;method_30736(Lnet/minecraft/class_1297;)Z
      official e Laqt;e(Lbsq;)Z
    • unloadEntities

      public void unloadEntities(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named unloadEntities Lnet/minecraft/server/world/ServerWorld;unloadEntities(Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_18764 Lnet/minecraft/class_3218;method_18764(Lnet/minecraft/class_2818;)V
      official a Laqt;a(Ldvg;)V
    • removePlayer

      public void removePlayer(ServerPlayerEntity player, Entity.RemovalReason reason)
      Mappings:
      Namespace Name Mixin selector
      named removePlayer Lnet/minecraft/server/world/ServerWorld;removePlayer(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity$RemovalReason;)V
      intermediary method_18770 Lnet/minecraft/class_3218;method_18770(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297$class_5529;)V
      official a Laqt;a(Laqu;Lbsq$c;)V
    • setBlockBreakingInfo

      public void setBlockBreakingInfo(int entityId, BlockPos pos, int progress)
      Specified by:
      setBlockBreakingInfo in class World
      Mappings:
      Namespace Name Mixin selector
      named setBlockBreakingInfo Lnet/minecraft/world/World;setBlockBreakingInfo(ILnet/minecraft/util/math/BlockPos;I)V
      intermediary method_8517 Lnet/minecraft/class_1937;method_8517(ILnet/minecraft/class_2338;I)V
      official a Ldcu;a(ILjd;I)V
    • playSound

      public void playSound(@Nullable @Nullable PlayerEntity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed)
      Specified by:
      playSound in class World
      Parameters:
      source - the player that caused the sound and therefore plays the sound directly in the client, or null
      Mappings:
      Namespace Name Mixin selector
      named playSound Lnet/minecraft/world/World;playSound(Lnet/minecraft/entity/player/PlayerEntity;DDDLnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/sound/SoundCategory;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
      official a Ldcu;a(Lcmv;DDDLjm;Lavp;FFJ)V
    • playSoundFromEntity

      public void playSoundFromEntity(@Nullable @Nullable PlayerEntity source, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed)
      Specified by:
      playSoundFromEntity in class World
      Parameters:
      source - the player that caused the sound and therefore plays the sound directly in the client, or null
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Ldcu;a(Lcmv;Lbsq;Ljm;Lavp;FFJ)V
    • syncGlobalEvent

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

      public void syncWorldEvent(@Nullable @Nullable PlayerEntity player, int eventId, BlockPos pos, int data)
      Specified by:
      syncWorldEvent in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      named syncWorldEvent Lnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
      intermediary method_8444 Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)V
      official a Ldcv;a(Lcmv;ILjd;I)V
    • getLogicalHeight

      public int getLogicalHeight()
      Mappings:
      Namespace Name Mixin selector
      named getLogicalHeight Lnet/minecraft/server/world/ServerWorld;getLogicalHeight()I
      intermediary method_32819 Lnet/minecraft/class_3218;method_32819()I
      official k Laqt;k()I
    • emitGameEvent

      public void emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter)
      Emits a game event.
      Specified by:
      emitGameEvent in interface WorldAccess
      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 Ldcv;a(Ljm;Leww;Ldxw$a;)V
    • updateListeners

      public void updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags)
      Specified by:
      updateListeners in class World
      Mappings:
      Namespace Name Mixin selector
      named updateListeners Lnet/minecraft/world/World;updateListeners(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;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
      official a Ldcu;a(Ljd;Ldta;Ldta;I)V
    • updateNeighborsAlways

      public void updateNeighborsAlways(BlockPos pos, Block sourceBlock)
      Emits a neighbor update to all 6 neighboring blocks of pos.
      Overrides:
      updateNeighborsAlways in class World
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named updateNeighborsAlways Lnet/minecraft/world/World;updateNeighborsAlways(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
      intermediary method_8452 Lnet/minecraft/class_1937;method_8452(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
      official a Ldcu;a(Ljd;Ldfw;)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.
      Overrides:
      updateNeighborsExcept in class World
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named updateNeighborsExcept Lnet/minecraft/world/World;updateNeighborsExcept(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;)V
      intermediary method_8508 Lnet/minecraft/class_1937;method_8508(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)V
      official a Ldcu;a(Ljd;Ldfw;Lji;)V
    • updateNeighbor

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

      public void updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, BlockPos sourcePos, boolean notify)
      Overrides:
      updateNeighbor in class World
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Ldcu;a(Ldta;Ljd;Ldfw;Ljd;Z)V
    • sendEntityStatus

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

      public void sendEntityDamage(Entity entity, DamageSource damageSource)
      Overrides:
      sendEntityDamage in class World
      Mappings:
      Namespace Name Mixin selector
      named sendEntityDamage Lnet/minecraft/world/World;sendEntityDamage(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)V
      intermediary method_48760 Lnet/minecraft/class_1937;method_48760(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)V
      official a Ldcu;a(Lbsq;Lbrj;)V
    • getChunkManager

      public ServerChunkManager getChunkManager()
      Specified by:
      getChunkManager in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      named getChunkManager Lnet/minecraft/server/world/ServerWorld;getChunkManager()Lnet/minecraft/server/world/ServerChunkManager;
      intermediary method_14178 Lnet/minecraft/class_3218;method_14178()Lnet/minecraft/class_3215;
      official l Laqt;l()Laqr;
    • 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, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent)
      Creates an explosion.
      Overrides:
      createExplosion in class World
      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
      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/particle/ParticleEffect;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/explosion/Explosion;
      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_2394;Lnet/minecraft/class_2394;Lnet/minecraft/class_6880;)Lnet/minecraft/class_1927;
      official a Ldcu;a(Lbsq;Lbrj;Ldcn;DDDFZLdcu$a;Llk;Llk;Ljm;)Ldcm;
    • addSyncedBlockEvent

      public void addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
      Overrides:
      addSyncedBlockEvent in class World
      Mappings:
      Namespace Name Mixin selector
      named addSyncedBlockEvent Lnet/minecraft/world/World;addSyncedBlockEvent(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)V
      intermediary method_8427 Lnet/minecraft/class_1937;method_8427(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)V
      official a Ldcu;a(Ljd;Ldfw;II)V
    • processSyncedBlockEvents

      private void processSyncedBlockEvents()
      Mappings:
      Namespace Name Mixin selector
      named processSyncedBlockEvents Lnet/minecraft/server/world/ServerWorld;processSyncedBlockEvents()V
      intermediary method_14192 Lnet/minecraft/class_3218;method_14192()V
      official aw Laqt;aw()V
    • processBlockEvent

      private boolean processBlockEvent(BlockEvent event)
      Mappings:
      Namespace Name Mixin selector
      named processBlockEvent Lnet/minecraft/server/world/ServerWorld;processBlockEvent(Lnet/minecraft/server/world/BlockEvent;)Z
      intermediary method_14174 Lnet/minecraft/class_3218;method_14174(Lnet/minecraft/class_1919;)Z
      official a Laqt;a(Ldbz;)Z
    • getBlockTickScheduler

      public WorldTickScheduler<Block> getBlockTickScheduler()
      Specified by:
      getBlockTickScheduler in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      named getBlockTickScheduler Lnet/minecraft/server/world/ServerWorld;getBlockTickScheduler()Lnet/minecraft/world/tick/WorldTickScheduler;
      intermediary method_14196 Lnet/minecraft/class_3218;method_14196()Lnet/minecraft/class_6757;
      official m Laqt;m()Leyk;
    • getFluidTickScheduler

      public WorldTickScheduler<Fluid> getFluidTickScheduler()
      Specified by:
      getFluidTickScheduler in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      named getFluidTickScheduler Lnet/minecraft/server/world/ServerWorld;getFluidTickScheduler()Lnet/minecraft/world/tick/WorldTickScheduler;
      intermediary method_14179 Lnet/minecraft/class_3218;method_14179()Lnet/minecraft/class_6757;
      official n Laqt;n()Leyk;
    • getServer

      @NotNull public @NotNull MinecraftServer getServer()
      Specified by:
      getServer in interface WorldAccess
      Overrides:
      getServer in class World
      Mappings:
      Namespace Name Mixin selector
      named getServer Lnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
      intermediary method_8503 Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;
      official o Ldcv;o()Lnet/minecraft/server/MinecraftServer;
    • getPortalForcer

      public PortalForcer getPortalForcer()
      Mappings:
      Namespace Name Mixin selector
      named getPortalForcer Lnet/minecraft/server/world/ServerWorld;getPortalForcer()Lnet/minecraft/world/PortalForcer;
      intermediary method_14173 Lnet/minecraft/class_3218;method_14173()Lnet/minecraft/class_1946;
      official p Laqt;p()Lepx;
    • getStructureTemplateManager

      public StructureTemplateManager getStructureTemplateManager()
      Mappings:
      Namespace Name Mixin selector
      named getStructureTemplateManager Lnet/minecraft/server/world/ServerWorld;getStructureTemplateManager()Lnet/minecraft/structure/StructureTemplateManager;
      intermediary method_14183 Lnet/minecraft/class_3218;method_14183()Lnet/minecraft/class_3485;
      official q Laqt;q()Leno;
    • spawnParticles

      public <T extends ParticleEffect> int spawnParticles(T particle, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed)
      Spawns a particle visible to nearby players.
      Returns:
      the number of players the particle packet was sent to
      See Also:
      Implementation Note:
      If count is 0, a single particle will be spawned with its velocity being deltaX,deltaY,deltaZ multiplied by speed.
      Mappings:
      Namespace Name Mixin selector
      named spawnParticles Lnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/particle/ParticleEffect;DDDIDDDD)I
      intermediary method_14199 Lnet/minecraft/class_3218;method_14199(Lnet/minecraft/class_2394;DDDIDDDD)I
      official a Laqt;a(Llk;DDDIDDDD)I
    • spawnParticles

      public <T extends ParticleEffect> boolean spawnParticles(ServerPlayerEntity viewer, T particle, boolean force, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed)
      Spawns a particle visible to viewer, if the viewer is near the provided coordinates.
      Returns:
      whether the particle packet was sent
      See Also:
      Implementation Note:
      If count is 0, a single particle will be spawned with its velocity being deltaX,deltaY,deltaZ multiplied by speed.
      Mappings:
      Namespace Name Mixin selector
      named spawnParticles Lnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/particle/ParticleEffect;ZDDDIDDDD)Z
      intermediary method_14166 Lnet/minecraft/class_3218;method_14166(Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZDDDIDDDD)Z
      official a Laqt;a(Laqu;Llk;ZDDDIDDDD)Z
    • sendToPlayerIfNearby

      private boolean sendToPlayerIfNearby(ServerPlayerEntity player, boolean force, double x, double y, double z, Packet<?> packet)
      Sends the packet to player if the player is near the provided coordinates.
      Returns:
      whether the packet was sent
      Implementation Note:
      The threshold is 32 blocks if force is false, and 512 blocks if force is true.
      Mappings:
      Namespace Name Mixin selector
      named sendToPlayerIfNearby Lnet/minecraft/server/world/ServerWorld;sendToPlayerIfNearby(Lnet/minecraft/server/network/ServerPlayerEntity;ZDDDLnet/minecraft/network/packet/Packet;)Z
      intermediary method_14191 Lnet/minecraft/class_3218;method_14191(Lnet/minecraft/class_3222;ZDDDLnet/minecraft/class_2596;)Z
      official a Laqt;a(Laqu;ZDDDLzf;)Z
    • getEntityById

      @Nullable public @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.

      Specified by:
      getEntityById in class World
      Returns:
      the entity using the entity ID, or null if none was found
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getEntityById Lnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
      intermediary method_8469 Lnet/minecraft/class_1937;method_8469(I)Lnet/minecraft/class_1297;
      official a Ldcu;a(I)Lbsq;
    • getDragonPart

      @Deprecated @Nullable public @Nullable Entity getDragonPart(int id)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named getDragonPart Lnet/minecraft/server/world/ServerWorld;getDragonPart(I)Lnet/minecraft/entity/Entity;
      intermediary method_31424 Lnet/minecraft/class_3218;method_31424(I)Lnet/minecraft/class_1297;
      official b Laqt;b(I)Lbsq;
    • getEntity

      @Nullable public @Nullable Entity getEntity(UUID uuid)
      Returns the entity using the UUID, or null if none was found.
      Returns:
      the entity using the UUID, or null if none was found
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getEntity Lnet/minecraft/server/world/ServerWorld;getEntity(Ljava/util/UUID;)Lnet/minecraft/entity/Entity;
      intermediary method_14190 Lnet/minecraft/class_3218;method_14190(Ljava/util/UUID;)Lnet/minecraft/class_1297;
      official a Laqt;a(Ljava/util/UUID;)Lbsq;
    • locateStructure

      @Nullable public @Nullable BlockPos locateStructure(TagKey<Structure> structureTag, BlockPos pos, int radius, boolean skipReferencedStructures)
      Tries to find the closest structure of a given type near a given block.

      New chunks will only be generated up to the ChunkStatus.STRUCTURE_STARTS phase by this method.

      The radius is ignored for strongholds.

      Parameters:
      pos - the position to start the searching at
      radius - the search radius in chunks around the chunk the given block position is in; a radius of 0 will only search in the given chunk
      skipReferencedStructures - whether to exclude structures that were previously located (has positive StructureStart.references)
      Returns:
      the position of the structure, or null if no structure could be found within the given search radius
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named locateStructure Lnet/minecraft/server/world/ServerWorld;locateStructure(Lnet/minecraft/registry/tag/TagKey;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;
      intermediary method_8487 Lnet/minecraft/class_3218;method_8487(Lnet/minecraft/class_6862;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
      official a Laqt;a(Lawt;Ljd;IZ)Ljd;
    • locateBiome

      @Nullable public @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> locateBiome(Predicate<RegistryEntry<Biome>> predicate, BlockPos pos, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval)
      Mappings:
      Namespace Name Mixin selector
      named locateBiome Lnet/minecraft/server/world/ServerWorld;locateBiome(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;III)Lcom/mojang/datafixers/util/Pair;
      intermediary method_42108 Lnet/minecraft/class_3218;method_42108(Ljava/util/function/Predicate;Lnet/minecraft/class_2338;III)Lcom/mojang/datafixers/util/Pair;
      official a Laqt;a(Ljava/util/function/Predicate;Ljd;III)Lcom/mojang/datafixers/util/Pair;
    • getRecipeManager

      public RecipeManager getRecipeManager()
      Specified by:
      getRecipeManager in class World
      Mappings:
      Namespace Name Mixin selector
      named getRecipeManager Lnet/minecraft/world/World;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
      intermediary method_8433 Lnet/minecraft/class_1937;method_8433()Lnet/minecraft/class_1863;
      official r Ldcu;r()Lczb;
    • getTickManager

      public TickManager getTickManager()
      Specified by:
      getTickManager in class World
      Mappings:
      Namespace Name Mixin selector
      named getTickManager Lnet/minecraft/world/World;getTickManager()Lnet/minecraft/world/tick/TickManager;
      intermediary method_54719 Lnet/minecraft/class_1937;method_54719()Lnet/minecraft/class_8921;
      official s Ldcu;s()Lbrb;
    • isSavingDisabled

      public boolean isSavingDisabled()
      Overrides:
      isSavingDisabled in class World
      Mappings:
      Namespace Name Mixin selector
      named isSavingDisabled Lnet/minecraft/world/World;isSavingDisabled()Z
      intermediary method_8458 Lnet/minecraft/class_1937;method_8458()Z
      official t Ldcu;t()Z
    • getPersistentStateManager

      public PersistentStateManager getPersistentStateManager()
      Mappings:
      Namespace Name Mixin selector
      named getPersistentStateManager Lnet/minecraft/server/world/ServerWorld;getPersistentStateManager()Lnet/minecraft/world/PersistentStateManager;
      intermediary method_17983 Lnet/minecraft/class_3218;method_17983()Lnet/minecraft/class_26;
      official u Laqt;u()Leqt;
    • getMapState

      @Nullable public @Nullable MapState getMapState(MapIdComponent id)
      Specified by:
      getMapState in class World
      Mappings:
      Namespace Name Mixin selector
      named getMapState Lnet/minecraft/world/World;getMapState(Lnet/minecraft/component/type/MapIdComponent;)Lnet/minecraft/item/map/MapState;
      intermediary method_17891 Lnet/minecraft/class_1937;method_17891(Lnet/minecraft/class_9209;)Lnet/minecraft/class_22;
      official a Ldcu;a(Leql;)Leqn;
    • putMapState

      public void putMapState(MapIdComponent id, MapState state)
      Specified by:
      putMapState in class World
      Mappings:
      Namespace Name Mixin selector
      named putMapState Lnet/minecraft/world/World;putMapState(Lnet/minecraft/component/type/MapIdComponent;Lnet/minecraft/item/map/MapState;)V
      intermediary method_17890 Lnet/minecraft/class_1937;method_17890(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)V
      official a Ldcu;a(Leql;Leqn;)V
    • getNextMapId

      public MapIdComponent getNextMapId()
      Specified by:
      getNextMapId in class World
      Mappings:
      Namespace Name Mixin selector
      named getNextMapId Lnet/minecraft/world/World;getNextMapId()Lnet/minecraft/component/type/MapIdComponent;
      intermediary method_17889 Lnet/minecraft/class_1937;method_17889()Lnet/minecraft/class_9209;
      official v Ldcu;v()Leql;
    • setSpawnPos

      public void setSpawnPos(BlockPos pos, float angle)
      Sets the world spawn point.
      Parameters:
      pos - the position of the spawn point
      angle - the angle of the spawned entity
      Mappings:
      Namespace Name Mixin selector
      named setSpawnPos Lnet/minecraft/server/world/ServerWorld;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)V
      intermediary method_8554 Lnet/minecraft/class_3218;method_8554(Lnet/minecraft/class_2338;F)V
      official a Laqt;a(Ljd;F)V
    • getForcedChunks

      public LongSet getForcedChunks()
      Returns the set that contains ChunkPos of forced chunks serialized as a long.
      Returns:
      the set that contains ChunkPos of forced chunks serialized as a long
      Mappings:
      Namespace Name Mixin selector
      named getForcedChunks Lnet/minecraft/server/world/ServerWorld;getForcedChunks()Lit/unimi/dsi/fastutil/longs/LongSet;
      intermediary method_17984 Lnet/minecraft/class_3218;method_17984()Lit/unimi/dsi/fastutil/longs/LongSet;
      official w Laqt;w()Lit/unimi/dsi/fastutil/longs/LongSet;
    • setChunkForced

      public boolean setChunkForced(int x, int z, boolean forced)
      Sets the forced status of the chunk.

      Forced chunks are created in-game using the /forceload command.

      Parameters:
      x - the chunk's X coordinate
      z - the chunk's Z coordinate
      forced - whether to mark the chunk as forced
      Mappings:
      Namespace Name Mixin selector
      named setChunkForced Lnet/minecraft/server/world/ServerWorld;setChunkForced(IIZ)Z
      intermediary method_17988 Lnet/minecraft/class_3218;method_17988(IIZ)Z
      official a Laqt;a(IIZ)Z
    • getPlayers

      public List<ServerPlayerEntity> getPlayers()
      Specified by:
      getPlayers in interface EntityView
      Mappings:
      Namespace Name Mixin selector
      named getPlayers Lnet/minecraft/world/EntityView;getPlayers()Ljava/util/List;
      intermediary method_18456 Lnet/minecraft/class_1924;method_18456()Ljava/util/List;
      official x Ldcl;x()Ljava/util/List;
    • onBlockChanged

      public void onBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock)
      Called when a block state changed.
      Overrides:
      onBlockChanged in class World
      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
      named onBlockChanged Lnet/minecraft/world/World;onBlockChanged(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
      intermediary method_19282 Lnet/minecraft/class_1937;method_19282(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
      official a Ldcu;a(Ljd;Ldta;Ldta;)V
    • getPointOfInterestStorage

      public PointOfInterestStorage getPointOfInterestStorage()
      Mappings:
      Namespace Name Mixin selector
      named getPointOfInterestStorage Lnet/minecraft/server/world/ServerWorld;getPointOfInterestStorage()Lnet/minecraft/world/poi/PointOfInterestStorage;
      intermediary method_19494 Lnet/minecraft/class_3218;method_19494()Lnet/minecraft/class_4153;
      official y Laqt;y()Lceq;
    • isNearOccupiedPointOfInterest

      public boolean isNearOccupiedPointOfInterest(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isNearOccupiedPointOfInterest Lnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_19500 Lnet/minecraft/class_3218;method_19500(Lnet/minecraft/class_2338;)Z
      official c Laqt;c(Ljd;)Z
    • isNearOccupiedPointOfInterest

      public boolean isNearOccupiedPointOfInterest(ChunkSectionPos sectionPos)
      Mappings:
      Namespace Name Mixin selector
      named isNearOccupiedPointOfInterest Lnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/ChunkSectionPos;)Z
      intermediary method_20588 Lnet/minecraft/class_3218;method_20588(Lnet/minecraft/class_4076;)Z
      official a Laqt;a(Lkf;)Z
    • isNearOccupiedPointOfInterest

      public boolean isNearOccupiedPointOfInterest(BlockPos pos, int maxDistance)
      Mappings:
      Namespace Name Mixin selector
      named isNearOccupiedPointOfInterest Lnet/minecraft/server/world/ServerWorld;isNearOccupiedPointOfInterest(Lnet/minecraft/util/math/BlockPos;I)Z
      intermediary method_19497 Lnet/minecraft/class_3218;method_19497(Lnet/minecraft/class_2338;I)Z
      official a Laqt;a(Ljd;I)Z
    • getOccupiedPointOfInterestDistance

      public int getOccupiedPointOfInterestDistance(ChunkSectionPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getOccupiedPointOfInterestDistance Lnet/minecraft/server/world/ServerWorld;getOccupiedPointOfInterestDistance(Lnet/minecraft/util/math/ChunkSectionPos;)I
      intermediary method_19498 Lnet/minecraft/class_3218;method_19498(Lnet/minecraft/class_4076;)I
      official b Laqt;b(Lkf;)I
    • getRaidManager

      public RaidManager getRaidManager()
      Mappings:
      Namespace Name Mixin selector
      named getRaidManager Lnet/minecraft/server/world/ServerWorld;getRaidManager()Lnet/minecraft/village/raid/RaidManager;
      intermediary method_19495 Lnet/minecraft/class_3218;method_19495()Lnet/minecraft/class_3767;
      official z Laqt;z()Lcoi;
    • getRaidAt

      @Nullable public @Nullable Raid getRaidAt(BlockPos pos)
      Returns the raid occurring within 96 block radius, or null if there is none.
      Returns:
      the raid occurring within 96 block radius, or null if there is none
      Mappings:
      Namespace Name Mixin selector
      named getRaidAt Lnet/minecraft/server/world/ServerWorld;getRaidAt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/village/raid/Raid;
      intermediary method_19502 Lnet/minecraft/class_3218;method_19502(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3765;
      official d Laqt;d(Ljd;)Lcog;
    • hasRaidAt

      public boolean hasRaidAt(BlockPos pos)
      Returns true if a raid exists within 96 block radius of pos.
      Returns:
      true if a raid exists within 96 block radius of pos
      Mappings:
      Namespace Name Mixin selector
      named hasRaidAt Lnet/minecraft/server/world/ServerWorld;hasRaidAt(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_19503 Lnet/minecraft/class_3218;method_19503(Lnet/minecraft/class_2338;)Z
      official e Laqt;e(Ljd;)Z
    • handleInteraction

      public void handleInteraction(EntityInteraction interaction, Entity entity, InteractionObserver observer)
      Mappings:
      Namespace Name Mixin selector
      named handleInteraction Lnet/minecraft/server/world/ServerWorld;handleInteraction(Lnet/minecraft/entity/EntityInteraction;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/InteractionObserver;)V
      intermediary method_19496 Lnet/minecraft/class_3218;method_19496(Lnet/minecraft/class_4151;Lnet/minecraft/class_1297;Lnet/minecraft/class_4094;)V
      official a Laqt;a(Lcen;Lbsq;Lbub;)V
    • dump

      public void dump(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named dump Lnet/minecraft/server/world/ServerWorld;dump(Ljava/nio/file/Path;)V
      intermediary method_21625 Lnet/minecraft/class_3218;method_21625(Ljava/nio/file/Path;)V
      official a Laqt;a(Ljava/nio/file/Path;)V
    • dumpEntities

      private static void dumpEntities(Writer writer, Iterable<Entity> entities) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named dumpEntities Lnet/minecraft/server/world/ServerWorld;dumpEntities(Ljava/io/Writer;Ljava/lang/Iterable;)V
      intermediary method_21624 Lnet/minecraft/class_3218;method_21624(Ljava/io/Writer;Ljava/lang/Iterable;)V
      official a Laqt;a(Ljava/io/Writer;Ljava/lang/Iterable;)V
    • dumpBlockEntities

      private void dumpBlockEntities(Writer writer) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named dumpBlockEntities Lnet/minecraft/server/world/ServerWorld;dumpBlockEntities(Ljava/io/Writer;)V
      intermediary method_21626 Lnet/minecraft/class_3218;method_21626(Ljava/io/Writer;)V
      official a Laqt;a(Ljava/io/Writer;)V
    • clearUpdatesInArea

      public void clearUpdatesInArea(BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named clearUpdatesInArea Lnet/minecraft/server/world/ServerWorld;clearUpdatesInArea(Lnet/minecraft/util/math/BlockBox;)V
      intermediary method_23658 Lnet/minecraft/class_3218;method_23658(Lnet/minecraft/class_3341;)V
      official a Laqt;a(Leje;)V
    • updateNeighbors

      public void updateNeighbors(BlockPos pos, Block block)
      Specified by:
      updateNeighbors in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      named updateNeighbors Lnet/minecraft/world/WorldAccess;updateNeighbors(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
      intermediary method_8408 Lnet/minecraft/class_1936;method_8408(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
      official b Ldcv;b(Ljd;Ldfw;)V
    • getBrightness

      public float getBrightness(Direction direction, boolean shaded)
      Specified by:
      getBrightness in interface BlockRenderView
      Mappings:
      Namespace Name Mixin selector
      named getBrightness Lnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
      intermediary method_24852 Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F
      official a Ldbx;a(Lji;Z)F
    • iterateEntities

      public Iterable<Entity> iterateEntities()
      Mappings:
      Namespace Name Mixin selector
      named iterateEntities Lnet/minecraft/server/world/ServerWorld;iterateEntities()Ljava/lang/Iterable;
      intermediary method_27909 Lnet/minecraft/class_3218;method_27909()Ljava/lang/Iterable;
      official A Laqt;A()Ljava/lang/Iterable;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isFlat

      public boolean isFlat()
      Mappings:
      Namespace Name Mixin selector
      named isFlat Lnet/minecraft/server/world/ServerWorld;isFlat()Z
      intermediary method_28125 Lnet/minecraft/class_3218;method_28125()Z
      official B Laqt;B()Z
    • getSeed

      public long getSeed()
      Specified by:
      getSeed in interface StructureWorldAccess
      Mappings:
      Namespace Name Mixin selector
      named getSeed Lnet/minecraft/world/StructureWorldAccess;getSeed()J
      intermediary method_8412 Lnet/minecraft/class_5281;method_8412()J
      official C Lddq;C()J
    • getEnderDragonFight

      @Nullable public @Nullable EnderDragonFight getEnderDragonFight()
      Mappings:
      Namespace Name Mixin selector
      named getEnderDragonFight Lnet/minecraft/server/world/ServerWorld;getEnderDragonFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
      intermediary method_29198 Lnet/minecraft/class_3218;method_29198()Lnet/minecraft/class_2881;
      official D Laqt;D()Ldwy;
    • toServerWorld

      public ServerWorld toServerWorld()
      Specified by:
      toServerWorld in interface ServerWorldAccess
      Mappings:
      Namespace Name Mixin selector
      named toServerWorld Lnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
      intermediary method_8410 Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;
      official E Lddj;E()Laqt;
    • getDebugString

      public String getDebugString()
      Mappings:
      Namespace Name Mixin selector
      named getDebugString Lnet/minecraft/server/world/ServerWorld;getDebugString()Ljava/lang/String;
      intermediary method_31268 Lnet/minecraft/class_3218;method_31268()Ljava/lang/String;
      official F Laqt;F()Ljava/lang/String;
    • getTopFive

      private static <T> String getTopFive(Iterable<T> items, Function<T,String> classifier)
      Categories items with the classifier and reports a message indicating the top five biggest categories.
      Parameters:
      items - the items to classify
      classifier - the classifier that determines the category of any item
      Mappings:
      Namespace Name Mixin selector
      named getTopFive Lnet/minecraft/server/world/ServerWorld;getTopFive(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
      intermediary method_31270 Lnet/minecraft/class_3218;method_31270(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
      official a Laqt;a(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
    • getEntityLookup

      protected EntityLookup<Entity> getEntityLookup()
      Specified by:
      getEntityLookup in class World
      Mappings:
      Namespace Name Mixin selector
      named getEntityLookup Lnet/minecraft/world/World;getEntityLookup()Lnet/minecraft/world/entity/EntityLookup;
      intermediary method_31592 Lnet/minecraft/class_1937;method_31592()Lnet/minecraft/class_5577;
      official G Ldcu;G()Ldxm;
    • loadEntities

      public void loadEntities(Stream<Entity> entities)
      Mappings:
      Namespace Name Mixin selector
      named loadEntities Lnet/minecraft/server/world/ServerWorld;loadEntities(Ljava/util/stream/Stream;)V
      intermediary method_31423 Lnet/minecraft/class_3218;method_31423(Ljava/util/stream/Stream;)V
      official a Laqt;a(Ljava/util/stream/Stream;)V
    • addEntities

      public void addEntities(Stream<Entity> entities)
      Mappings:
      Namespace Name Mixin selector
      named addEntities Lnet/minecraft/server/world/ServerWorld;addEntities(Ljava/util/stream/Stream;)V
      intermediary method_31426 Lnet/minecraft/class_3218;method_31426(Ljava/util/stream/Stream;)V
      official b Laqt;b(Ljava/util/stream/Stream;)V
    • disableTickSchedulers

      public void disableTickSchedulers(WorldChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named disableTickSchedulers Lnet/minecraft/server/world/ServerWorld;disableTickSchedulers(Lnet/minecraft/world/chunk/WorldChunk;)V
      intermediary method_39223 Lnet/minecraft/class_3218;method_39223(Lnet/minecraft/class_2818;)V
      official b Laqt;b(Ldvg;)V
    • cacheStructures

      public void cacheStructures(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named cacheStructures Lnet/minecraft/server/world/ServerWorld;cacheStructures(Lnet/minecraft/world/chunk/Chunk;)V
      intermediary method_39778 Lnet/minecraft/class_3218;method_39778(Lnet/minecraft/class_2791;)V
      official a Laqt;a(Lduw;)V
    • getPathNodeTypeCache

      public PathNodeTypeCache getPathNodeTypeCache()
      Mappings:
      Namespace Name Mixin selector
      named getPathNodeTypeCache Lnet/minecraft/server/world/ServerWorld;getPathNodeTypeCache()Lnet/minecraft/entity/ai/pathing/PathNodeTypeCache;
      intermediary method_57133 Lnet/minecraft/class_3218;method_57133()Lnet/minecraft/class_9315;
      official H Laqt;H()Lepq;
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class World
      Throws:
      IOException
    • asString

      public String asString()
      Specified by:
      asString in class World
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/world/World;asString()Ljava/lang/String;
      intermediary method_31419 Lnet/minecraft/class_1937;method_31419()Ljava/lang/String;
      official I Ldcu;I()Ljava/lang/String;
    • isChunkLoaded

      public boolean isChunkLoaded(long chunkPos)
      Returns true if the chunk chunkPos is loaded.
      Returns:
      true if the chunk chunkPos is loaded
      Mappings:
      Namespace Name Mixin selector
      named isChunkLoaded Lnet/minecraft/server/world/ServerWorld;isChunkLoaded(J)Z
      intermediary method_37116 Lnet/minecraft/class_3218;method_37116(J)Z
      official c Laqt;c(J)Z
    • isTickingFutureReady

      private boolean isTickingFutureReady(long chunkPos)
      Mappings:
      Namespace Name Mixin selector
      named isTickingFutureReady Lnet/minecraft/server/world/ServerWorld;isTickingFutureReady(J)Z
      intermediary method_37117 Lnet/minecraft/class_3218;method_37117(J)Z
      official d Laqt;d(J)Z
    • shouldTickEntity

      public boolean shouldTickEntity(BlockPos pos)
      Returns whether to tick entities at pos.
      Returns:
      whether to tick entities at pos
      Mappings:
      Namespace Name Mixin selector
      named shouldTickEntity Lnet/minecraft/server/world/ServerWorld;shouldTickEntity(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_37118 Lnet/minecraft/class_3218;method_37118(Lnet/minecraft/class_2338;)Z
      official f Laqt;f(Ljd;)Z
    • shouldTick

      public boolean shouldTick(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named shouldTick Lnet/minecraft/server/world/ServerWorld;shouldTick(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_39999 Lnet/minecraft/class_3218;method_39999(Lnet/minecraft/class_2338;)Z
      official g Laqt;g(Ljd;)Z
    • shouldTick

      public boolean shouldTick(ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named shouldTick Lnet/minecraft/server/world/ServerWorld;shouldTick(Lnet/minecraft/util/math/ChunkPos;)Z
      intermediary method_39998 Lnet/minecraft/class_3218;method_39998(Lnet/minecraft/class_1923;)Z
      official a Laqt;a(Ldcb;)Z
    • getEnabledFeatures

      public FeatureSet getEnabledFeatures()
      Specified by:
      getEnabledFeatures in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      named getEnabledFeatures Lnet/minecraft/world/WorldView;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_45162 Lnet/minecraft/class_4538;method_45162()Lnet/minecraft/class_7699;
      official J Ldcx;J()Lcpj;
    • getBrewingRecipeRegistry

      public BrewingRecipeRegistry getBrewingRecipeRegistry()
      Specified by:
      getBrewingRecipeRegistry in class World
      Mappings:
      Namespace Name Mixin selector
      named getBrewingRecipeRegistry Lnet/minecraft/world/World;getBrewingRecipeRegistry()Lnet/minecraft/recipe/BrewingRecipeRegistry;
      intermediary method_59547 Lnet/minecraft/class_1937;method_59547()Lnet/minecraft/class_1845;
      official K Ldcu;K()Lcwr;
    • getOrCreateRandom

      public Random getOrCreateRandom(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named getOrCreateRandom Lnet/minecraft/server/world/ServerWorld;getOrCreateRandom(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/math/random/Random;
      intermediary method_51836 Lnet/minecraft/class_3218;method_51836(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5819;
      official a Laqt;a(Lakq;)Layv;
    • getRandomSequences

      public RandomSequencesState getRandomSequences()
      Mappings:
      Namespace Name Mixin selector
      named getRandomSequences Lnet/minecraft/server/world/ServerWorld;getRandomSequences()Lnet/minecraft/util/math/random/RandomSequencesState;
      intermediary method_52168 Lnet/minecraft/class_3218;method_52168()Lnet/minecraft/class_8565;
      official L Laqt;L()Lbqx;
    • addDetailsToCrashReport

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