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, RegistryWorldView, ServerWorldAccess, StructureWorldAccess, TestableWorld, WorldAccess, WorldView

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

    • END_SPAWN_POS

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

      private static final int field_35660
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official z Lahm;z:I
      intermediary field_35660 Lnet/minecraft/class_3218;field_35660:I
      named field_35660 Lnet/minecraft/server/world/ServerWorld;field_35660:I
    • field_35653

      private static final int field_35653
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official A Lahm;A:I
      intermediary field_35653 Lnet/minecraft/class_3218;field_35653:I
      named field_35653 Lnet/minecraft/server/world/ServerWorld;field_35653:I
    • field_35654

      private static final int field_35654
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official B Lahm;B:I
      intermediary field_35654 Lnet/minecraft/class_3218;field_35654:I
      named field_35654 Lnet/minecraft/server/world/ServerWorld;field_35654:I
    • field_35655

      private static final int field_35655
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official C Lahm;C:I
      intermediary field_35655 Lnet/minecraft/class_3218;field_35655:I
      named field_35655 Lnet/minecraft/server/world/ServerWorld;field_35655:I
    • field_35656

      private static final int field_35656
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official D Lahm;D:I
      intermediary field_35656 Lnet/minecraft/class_3218;field_35656:I
      named field_35656 Lnet/minecraft/server/world/ServerWorld;field_35656:I
    • field_35657

      private static final int field_35657
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official E Lahm;E:I
      intermediary field_35657 Lnet/minecraft/class_3218;field_35657:I
      named field_35657 Lnet/minecraft/server/world/ServerWorld;field_35657:I
    • field_35658

      private static final int field_35658
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official F Lahm;F:I
      intermediary field_35658 Lnet/minecraft/class_3218;field_35658:I
      named field_35658 Lnet/minecraft/server/world/ServerWorld;field_35658:I
    • field_35659

      private static final int field_35659
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official G Lahm;G:I
      intermediary field_35659 Lnet/minecraft/class_3218;field_35659:I
      named field_35659 Lnet/minecraft/server/world/ServerWorld;field_35659:I
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official H Lahm;H:Lorg/slf4j/Logger;
      intermediary field_13952 Lnet/minecraft/class_3218;field_13952:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/server/world/ServerWorld;LOGGER: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
      official I Lahm;I:I
      intermediary field_29768 Lnet/minecraft/class_3218;field_29768:I
      named SERVER_IDLE_COOLDOWN Lnet/minecraft/server/world/ServerWorld;SERVER_IDLE_COOLDOWN:I
    • MAX_TICKS

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

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

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

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

      private final ServerWorldProperties worldProperties
      Mappings:
      Namespace Name Mixin selector
      official N Lahm;N:Ldvj;
      intermediary field_24456 Lnet/minecraft/class_3218;field_24456:Lnet/minecraft/class_5268;
      named worldProperties Lnet/minecraft/server/world/ServerWorld;worldProperties:Lnet/minecraft/world/level/ServerWorldProperties;
    • entityList

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

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

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

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

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

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

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

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

      private final WorldTickScheduler<Fluid> fluidTickScheduler
      Mappings:
      Namespace Name Mixin selector
      official V Lahm;V:Lebl;
      intermediary field_13951 Lnet/minecraft/class_3218;field_13951:Lnet/minecraft/class_6757;
      named fluidTickScheduler Lnet/minecraft/server/world/ServerWorld;fluidTickScheduler:Lnet/minecraft/world/tick/WorldTickScheduler;
    • loadedMobs

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

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

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

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

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

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

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

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

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

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

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

      private final boolean shouldTickTime
      Mappings:
      Namespace Name Mixin selector
      official ag Lahm;ag:Z
      intermediary field_25143 Lnet/minecraft/class_3218;field_25143:Z
      named shouldTickTime Lnet/minecraft/server/world/ServerWorld;shouldTickTime:Z
  • 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<Spawner> spawners, boolean shouldTickTime)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahm;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Ldve$c;Ldvj;Lace;Ldcc;Lahv;ZJLjava/util/List;Z)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;Z)V
      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;Z)V
  • Method Details

    • 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
      official a Lahm;a(IIZZ)V
      intermediary method_27910 Lnet/minecraft/class_3218;method_27910(IIZZ)V
      named setWeather Lnet/minecraft/server/world/ServerWorld;setWeather(IIZZ)V
    • getGeneratorStoredBiome

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

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

      public void tick(BooleanSupplier shouldKeepTicking)
      Mappings:
      Namespace Name Mixin selector
      official a Lahm;a(Ljava/util/function/BooleanSupplier;)V
      intermediary method_18765 Lnet/minecraft/class_3218;method_18765(Ljava/util/function/BooleanSupplier;)V
      named tick Lnet/minecraft/server/world/ServerWorld;tick(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
      official a Lcjw;a(J)Z
      intermediary method_39425 Lnet/minecraft/class_1937;method_39425(J)Z
      named shouldTickBlocksInChunk Lnet/minecraft/world/World;shouldTickBlocksInChunk(J)Z
    • tickTime

      protected void tickTime()
      Mappings:
      Namespace Name Mixin selector
      official b Lahm;b()V
      intermediary method_29203 Lnet/minecraft/class_3218;method_29203()V
      named tickTime Lnet/minecraft/server/world/ServerWorld;tickTime()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
      official b Lahm;b(J)V
      intermediary method_29199 Lnet/minecraft/class_3218;method_29199(J)V
      named setTimeOfDay Lnet/minecraft/server/world/ServerWorld;setTimeOfDay(J)V
    • tickSpawners

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

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

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

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

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

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

      public boolean isInBlockTick()
      Mappings:
      Namespace Name Mixin selector
      official c Lahm;c()Z
      intermediary method_14177 Lnet/minecraft/class_3218;method_14177()Z
      named isInBlockTick Lnet/minecraft/server/world/ServerWorld;isInBlockTick()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
      official d Lahm;d()Z
      intermediary method_33144 Lnet/minecraft/class_3218;method_33144()Z
      named isSleepingEnabled Lnet/minecraft/server/world/ServerWorld;isSleepingEnabled()Z
    • sendSleepingStatus

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

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

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

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

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

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

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

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

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

      private void tickPassenger(Entity vehicle, Entity passenger)
      Mappings:
      Namespace Name Mixin selector
      official a Lahm;a(Lbdr;Lbdr;)V
      intermediary method_18763 Lnet/minecraft/class_3218;method_18763(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V
      named tickPassenger Lnet/minecraft/server/world/ServerWorld;tickPassenger(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)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:
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lbwp;Lgp;)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
    • 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
      official a Lahm;a(Laog;ZZ)V
      intermediary method_14176 Lnet/minecraft/class_3218;method_14176(Lnet/minecraft/class_3536;ZZ)V
      named save Lnet/minecraft/server/world/ServerWorld;save(Lnet/minecraft/util/ProgressListener;ZZ)V
    • saveLevel

      private void saveLevel()
      Mappings:
      Namespace Name Mixin selector
      official as Lahm;as()V
      intermediary method_14188 Lnet/minecraft/class_3218;method_14188()V
      named saveLevel Lnet/minecraft/server/world/ServerWorld;saveLevel()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
      official a Lahm;a(Ldcq;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;
      named getEntitiesByType Lnet/minecraft/server/world/ServerWorld;getEntitiesByType(Lnet/minecraft/util/TypeFilter;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
      official a Lahm;a(Ldcq;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
      named collectEntitiesByType Lnet/minecraft/server/world/ServerWorld;collectEntitiesByType(Lnet/minecraft/util/TypeFilter;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
      official a Lahm;a(Ldcq;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
      named collectEntitiesByType Lnet/minecraft/server/world/ServerWorld;collectEntitiesByType(Lnet/minecraft/util/TypeFilter;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
      official h Lahm;h()Ljava/util/List;
      intermediary method_18776 Lnet/minecraft/class_3218;method_18776()Ljava/util/List;
      named getAliveEnderDragons Lnet/minecraft/server/world/ServerWorld;getAliveEnderDragons()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
      official a Lahm;a(Ljava/util/function/Predicate;)Ljava/util/List;
      intermediary method_18766 Lnet/minecraft/class_3218;method_18766(Ljava/util/function/Predicate;)Ljava/util/List;
      named getPlayers Lnet/minecraft/server/world/ServerWorld;getPlayers(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
      official a Lahm;a(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;
      named getPlayers Lnet/minecraft/server/world/ServerWorld;getPlayers(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
      official i Lahm;i()Lahn;
      intermediary method_18779 Lnet/minecraft/class_3218;method_18779()Lnet/minecraft/class_3222;
      named getRandomAlivePlayer Lnet/minecraft/server/world/ServerWorld;getRandomAlivePlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
    • spawnEntity

      public boolean spawnEntity(Entity entity)
      Spawns an entity.
      Specified by:
      spawnEntity in interface ModifiableWorld
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcke;b(Lbdr;)Z
      intermediary method_8649 Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Z
      named spawnEntity Lnet/minecraft/world/ModifiableWorld;spawnEntity(Lnet/minecraft/entity/Entity;)Z
    • tryLoadEntity

      public boolean tryLoadEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official c Lahm;c(Lbdr;)Z
      intermediary method_18768 Lnet/minecraft/class_3218;method_18768(Lnet/minecraft/class_1297;)Z
      named tryLoadEntity Lnet/minecraft/server/world/ServerWorld;tryLoadEntity(Lnet/minecraft/entity/Entity;)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 onPlayerChangeDimension(net.minecraft.server.network.ServerPlayerEntity) (for portals) or onPlayerTeleport(net.minecraft.server.network.ServerPlayerEntity) (for teleportation) instead.

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lahm;d(Lbdr;)V
      intermediary method_18769 Lnet/minecraft/class_3218;method_18769(Lnet/minecraft/class_1297;)V
      named onDimensionChanged Lnet/minecraft/server/world/ServerWorld;onDimensionChanged(Lnet/minecraft/entity/Entity;)V
    • onPlayerTeleport

      public void onPlayerTeleport(ServerPlayerEntity player)
      Called on the destination world when a player changed the dimension by teleportation.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lahm;a(Lahn;)V
      intermediary method_18207 Lnet/minecraft/class_3218;method_18207(Lnet/minecraft/class_3222;)V
      named onPlayerTeleport Lnet/minecraft/server/world/ServerWorld;onPlayerTeleport(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • onPlayerChangeDimension

      public void onPlayerChangeDimension(ServerPlayerEntity player)
      Called on the destination world when a player changed the dimension using portals.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lahm;b(Lahn;)V
      intermediary method_18211 Lnet/minecraft/class_3218;method_18211(Lnet/minecraft/class_3222;)V
      named onPlayerChangeDimension Lnet/minecraft/server/world/ServerWorld;onPlayerChangeDimension(Lnet/minecraft/server/network/ServerPlayerEntity;)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
      official c Lahm;c(Lahn;)V
      intermediary method_18213 Lnet/minecraft/class_3218;method_18213(Lnet/minecraft/class_3222;)V
      named onPlayerConnected Lnet/minecraft/server/world/ServerWorld;onPlayerConnected(Lnet/minecraft/server/network/ServerPlayerEntity;)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
      official d Lahm;d(Lahn;)V
      intermediary method_18215 Lnet/minecraft/class_3218;method_18215(Lnet/minecraft/class_3222;)V
      named onPlayerRespawned Lnet/minecraft/server/world/ServerWorld;onPlayerRespawned(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • addPlayer

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

      private boolean addEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official j Lahm;j(Lbdr;)Z
      intermediary method_14175 Lnet/minecraft/class_3218;method_14175(Lnet/minecraft/class_1297;)Z
      named addEntity Lnet/minecraft/server/world/ServerWorld;addEntity(Lnet/minecraft/entity/Entity;)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
      official e Lahm;e(Lbdr;)Z
      intermediary method_30736 Lnet/minecraft/class_3218;method_30736(Lnet/minecraft/class_1297;)Z
      named spawnNewEntityAndPassengers Lnet/minecraft/server/world/ServerWorld;spawnNewEntityAndPassengers(Lnet/minecraft/entity/Entity;)Z
    • unloadEntities

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

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

      public void setBlockBreakingInfo(int entityId, BlockPos pos, int progress)
      Specified by:
      setBlockBreakingInfo in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(ILgp;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
    • playSound

      public void playSound(@Nullable @Nullable PlayerEntity except, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed)
      Specified by:
      playSound in class World
      Parameters:
      except - the player that should not receive the sound, or null
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lbwp;DDDLgz;Lalp;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
    • playSoundFromEntity

      public void playSoundFromEntity(@Nullable @Nullable PlayerEntity except, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed)
      Specified by:
      playSoundFromEntity in class World
      Parameters:
      except - the player that should not receive the sound, or null
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lbwp;Lbdr;Lgz;Lalp;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
    • syncGlobalEvent

      public void syncGlobalEvent(int eventId, BlockPos pos, int data)
      Overrides:
      syncGlobalEvent in class World
      Mappings:
      Namespace Name Mixin selector
      official b Lcjw;b(ILgp;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
    • 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
      official a Lcjx;a(Lbwp;ILgp;I)V
      intermediary method_8444 Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)V
      named syncWorldEvent Lnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
    • getLogicalHeight

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

      public void emitGameEvent(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter)
      Emits a game event.
      Specified by:
      emitGameEvent in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official a Lcjx;a(Lddc;Leae;Lddc$a;)V
      intermediary method_32888 Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_5712;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;)V
      named emitGameEvent Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/event/GameEvent$Emitter;)V
    • updateListeners

      public void updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags)
      Specified by:
      updateListeners in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lgp;Lcyt;Lcyt;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
    • 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
      official a Lcjw;a(Lgp;Lcmt;)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.
      Overrides:
      updateNeighborsExcept in class World
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lgp;Lcmt;Lgv;)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.
      Overrides:
      updateNeighbor in class World
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lgp;Lcmt;Lgp;)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)
      Overrides:
      updateNeighbor in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lcyt;Lgp;Lcmt;Lgp;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
    • 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
      official a Lcjw;a(Lbdr;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
    • getChunkManager

      public ServerChunkManager getChunkManager()
      Specified by:
      getChunkManager in interface WorldAccess
      Mappings:
      Namespace Name Mixin selector
      official k Lahm;k()Lahk;
      intermediary method_14178 Lnet/minecraft/class_3218;method_14178()Lnet/minecraft/class_3215;
      named getChunkManager Lnet/minecraft/server/world/ServerWorld;getChunkManager()Lnet/minecraft/server/world/ServerChunkManager;
    • 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.
      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 (DamageSource.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 Lcjw;a(Lbdr;Lbcz;Lcjp;DDDFZLcjw$a;)Lcjo;
      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;
    • addSyncedBlockEvent

      public void addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
      Overrides:
      addSyncedBlockEvent in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lgp;Lcmt;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
    • processSyncedBlockEvents

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

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

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

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

      @NotNull public @NotNull MinecraftServer getServer()
      Specified by:
      getServer in interface WorldAccess
      Overrides:
      getServer in class World
      Mappings:
      Namespace Name Mixin selector
      official n Lcjx;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;
    • getPortalForcer

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

      public StructureTemplateManager getStructureTemplateManager()
      Mappings:
      Namespace Name Mixin selector
      official p Lahm;p()Ldsi;
      intermediary method_14183 Lnet/minecraft/class_3218;method_14183()Lnet/minecraft/class_3485;
      named getStructureTemplateManager Lnet/minecraft/server/world/ServerWorld;getStructureTemplateManager()Lnet/minecraft/structure/StructureTemplateManager;
    • 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:
      Mappings:
      Namespace Name Mixin selector
      official a Lahm;a(Lio;DDDIDDDD)I
      intermediary method_14199 Lnet/minecraft/class_3218;method_14199(Lnet/minecraft/class_2394;DDDIDDDD)I
      named spawnParticles Lnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/particle/ParticleEffect;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:
      Mappings:
      Namespace Name Mixin selector
      official a Lahm;a(Lahn;Lio;ZDDDIDDDD)Z
      intermediary method_14166 Lnet/minecraft/class_3218;method_14166(Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZDDDIDDDD)Z
      named spawnParticles Lnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/particle/ParticleEffect;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
      official a Lahm;a(Lahn;ZDDDLuh;)Z
      intermediary method_14191 Lnet/minecraft/class_3218;method_14191(Lnet/minecraft/class_3222;ZDDDLnet/minecraft/class_2596;)Z
      named sendToPlayerIfNearby Lnet/minecraft/server/world/ServerWorld;sendToPlayerIfNearby(Lnet/minecraft/server/network/ServerPlayerEntity;ZDDDLnet/minecraft/network/Packet;)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
      official a Lcjw;a(I)Lbdr;
      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;
    • getDragonPart

      @Deprecated @Nullable public @Nullable Entity getDragonPart(int id)
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      official b Lahm;b(I)Lbdr;
      intermediary method_31424 Lnet/minecraft/class_3218;method_31424(I)Lnet/minecraft/class_1297;
      named getDragonPart Lnet/minecraft/server/world/ServerWorld;getDragonPart(I)Lnet/minecraft/entity/Entity;
    • 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
      official a Lahm;a(Ljava/util/UUID;)Lbdr;
      intermediary method_14190 Lnet/minecraft/class_3218;method_14190(Ljava/util/UUID;)Lnet/minecraft/class_1297;
      named getEntity Lnet/minecraft/server/world/ServerWorld;getEntity(Ljava/util/UUID;)Lnet/minecraft/entity/Entity;
    • 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
      official a Lahm;a(Lamr;Lgp;IZ)Lgp;
      intermediary method_8487 Lnet/minecraft/class_3218;method_8487(Lnet/minecraft/class_6862;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
      named locateStructure Lnet/minecraft/server/world/ServerWorld;locateStructure(Lnet/minecraft/registry/tag/TagKey;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;
    • 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
      official a Lahm;a(Ljava/util/function/Predicate;Lgp;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;
      named locateBiome Lnet/minecraft/server/world/ServerWorld;locateBiome(Ljava/util/function/Predicate;Lnet/minecraft/util/math/BlockPos;III)Lcom/mojang/datafixers/util/Pair;
    • getRecipeManager

      public RecipeManager getRecipeManager()
      Specified by:
      getRecipeManager in class World
      Mappings:
      Namespace Name Mixin selector
      official q Lcjw;q()Lcgp;
      intermediary method_8433 Lnet/minecraft/class_1937;method_8433()Lnet/minecraft/class_1863;
      named getRecipeManager Lnet/minecraft/world/World;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
    • isSavingDisabled

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

      public DynamicRegistryManager getRegistryManager()
      Specified by:
      getRegistryManager in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official s Lcjz;s()Lhn;
      intermediary method_30349 Lnet/minecraft/class_4538;method_30349()Lnet/minecraft/class_5455;
      named getRegistryManager Lnet/minecraft/world/WorldView;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager;
    • getPersistentStateManager

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

      @Nullable public @Nullable MapState getMapState(String id)
      Specified by:
      getMapState in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Ljava/lang/String;)Lduu;
      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 void putMapState(String id, MapState state)
      Specified by:
      putMapState in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Ljava/lang/String;Lduu;)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 int getNextMapId()
      Specified by:
      getNextMapId in class World
      Mappings:
      Namespace Name Mixin selector
      official u Lcjw;u()I
      intermediary method_17889 Lnet/minecraft/class_1937;method_17889()I
      named getNextMapId Lnet/minecraft/world/World;getNextMapId()I
    • 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
      official a Lahm;a(Lgp;F)V
      intermediary method_8554 Lnet/minecraft/class_3218;method_8554(Lnet/minecraft/class_2338;F)V
      named setSpawnPos Lnet/minecraft/server/world/ServerWorld;setSpawnPos(Lnet/minecraft/util/math/BlockPos;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
      official v Lahm;v()Lit/unimi/dsi/fastutil/longs/LongSet;
      intermediary method_17984 Lnet/minecraft/class_3218;method_17984()Lit/unimi/dsi/fastutil/longs/LongSet;
      named getForcedChunks Lnet/minecraft/server/world/ServerWorld;getForcedChunks()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
      official a Lahm;a(IIZ)Z
      intermediary method_17988 Lnet/minecraft/class_3218;method_17988(IIZ)Z
      named setChunkForced Lnet/minecraft/server/world/ServerWorld;setChunkForced(IIZ)Z
    • getPlayers

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

      public void onBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock)
      Called when a block state changed.
      Overrides:
      onBlockChanged in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lgp;Lcyt;Lcyt;)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
    • getPointOfInterestStorage

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

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

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

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

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

      public RaidManager getRaidManager()
      Mappings:
      Namespace Name Mixin selector
      official y Lahm;y()Lbxy;
      intermediary method_19495 Lnet/minecraft/class_3218;method_19495()Lnet/minecraft/class_3767;
      named getRaidManager Lnet/minecraft/server/world/ServerWorld;getRaidManager()Lnet/minecraft/village/raid/RaidManager;
    • 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
      official c Lahm;c(Lgp;)Lbxw;
      intermediary method_19502 Lnet/minecraft/class_3218;method_19502(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3765;
      named getRaidAt Lnet/minecraft/server/world/ServerWorld;getRaidAt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/village/raid/Raid;
    • 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
      official d Lahm;d(Lgp;)Z
      intermediary method_19503 Lnet/minecraft/class_3218;method_19503(Lnet/minecraft/class_2338;)Z
      named hasRaidAt Lnet/minecraft/server/world/ServerWorld;hasRaidAt(Lnet/minecraft/util/math/BlockPos;)Z
    • handleInteraction

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

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

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

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

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

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

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

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

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

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

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

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

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

      public String getDebugString()
      Mappings:
      Namespace Name Mixin selector
      official E Lahm;E()Ljava/lang/String;
      intermediary method_31268 Lnet/minecraft/class_3218;method_31268()Ljava/lang/String;
      named getDebugString Lnet/minecraft/server/world/ServerWorld;getDebugString()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
      official a Lahm;a(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;
      named getTopFive Lnet/minecraft/server/world/ServerWorld;getTopFive(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
    • createEndSpawnPlatform

      public static void createEndSpawnPlatform(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lahm;a(Lahm;)V
      intermediary method_29200 Lnet/minecraft/class_3218;method_29200(Lnet/minecraft/class_3218;)V
      named createEndSpawnPlatform Lnet/minecraft/server/world/ServerWorld;createEndSpawnPlatform(Lnet/minecraft/server/world/ServerWorld;)V
    • getEntityLookup

      protected EntityLookup<Entity> getEntityLookup()
      Specified by:
      getEntityLookup in class World
      Mappings:
      Namespace Name Mixin selector
      official F Lcjw;F()Ldcs;
      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;
    • loadEntities

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

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

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

      public void cacheStructures(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lahm;a(Ldap;)V
      intermediary method_39778 Lnet/minecraft/class_3218;method_39778(Lnet/minecraft/class_2791;)V
      named cacheStructures Lnet/minecraft/server/world/ServerWorld;cacheStructures(Lnet/minecraft/world/chunk/Chunk;)V
    • 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
      official G Lcjw;G()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;
    • 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
      official c Lahm;c(J)Z
      intermediary method_37116 Lnet/minecraft/class_3218;method_37116(J)Z
      named isChunkLoaded Lnet/minecraft/server/world/ServerWorld;isChunkLoaded(J)Z
    • isTickingFutureReady

      private boolean isTickingFutureReady(long chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official d Lahm;d(J)Z
      intermediary method_37117 Lnet/minecraft/class_3218;method_37117(J)Z
      named isTickingFutureReady Lnet/minecraft/server/world/ServerWorld;isTickingFutureReady(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
      official e Lahm;e(Lgp;)Z
      intermediary method_37118 Lnet/minecraft/class_3218;method_37118(Lnet/minecraft/class_2338;)Z
      named shouldTickEntity Lnet/minecraft/server/world/ServerWorld;shouldTickEntity(Lnet/minecraft/util/math/BlockPos;)Z
    • shouldTick

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

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

      public FeatureSet getEnabledFeatures()
      Specified by:
      getEnabledFeatures in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official H Lcjz;H()Lbyx;
      intermediary method_45162 Lnet/minecraft/class_4538;method_45162()Lnet/minecraft/class_7699;
      named getEnabledFeatures Lnet/minecraft/world/WorldView;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;