Class ServerWorld

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

public class ServerWorld extends World implements EntityLookupView, StructureWorldAccess
Mappings:
Namespace Name
named net/minecraft/server/world/ServerWorld
intermediary net/minecraft/class_3218
official ash
  • 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 Lash;a:Ljh;
    • 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 Lash;b:Lbsn;
    • 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 Lash;c:Lbsn;
    • 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 E Lash;E:Lbsn;
    • 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 Lash;d:Lbsn;
    • 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 F Lash;F: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 G Lash;G: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 H Lash;H: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 I Lash;I: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 J Lash;J:Lase;
    • 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 K Lash;K: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 L Lash;L:Lewh;
    • 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 M Lash;M: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 N Lash;N:Lecd;
    • 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 O Lash;O:Leci;
    • 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 P Lash;P:Lecr;
    • 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 Lash;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 Q Lash;Q:Lawl;
    • 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 R Lash;R:I
    • portalForcer

      private final PortalForcer portalForcer
      Mappings:
      Namespace Name Mixin selector
      named portalForcer Lnet/minecraft/server/world/ServerWorld;portalForcer:Lnet/minecraft/world/dimension/PortalForcer;
      intermediary field_13956 Lnet/minecraft/class_3218;field_13956:Lnet/minecraft/class_1946;
      official S Lash;S:Leuu;
    • 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 T Lash;T:Lfdm;
    • 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 U Lash;U:Lfdm;
    • 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 V Lash;V:Leuo;
    • 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 W Lash;W: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 X Lash;X: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 Lash;f:Lcrl;
    • 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 Y Lash;Y: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 Z Lash;Z: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 aa Lash;aa: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 ab Lash;ab: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 ac Lash;ac:Lebs;
    • 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 ad Lash;ad: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 ae Lash;ae:Ldid;
    • 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 af Lash;af:Leok;
    • 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 ag Lash;ag: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 ah Lash;ah:Lbtn;
  • 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> Lash;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lewc$c;Lewh;Laly;Lebq;Lasr;ZJLjava/util/List;ZLbtn;)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 Lash;a(Lebs;)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 Lash;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 Ldhk;a(III)Ljq;
    • 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 b Lash;b()Ldid;
    • 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 Lash;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 Ldhh;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 c Lash;c()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 Lash;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 Lash;a(ZZ)V
    • 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 Lash;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 Lash;a(Ldzz;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 Lash;a(Ljh;)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 Lash;E(Ljh;)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 Lash;b(Ljh;)Ljh;
    • 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 d Lash;d()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 e Lash;e()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 Lash;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 f Lash;f()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 g Lash;g()Lams;
    • 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 Lash;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 h Lash;h()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 i Lash;i()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 Lash;a(Ljh;Letv;)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 Lash;d(Ljh;Ldkl;)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 Lash;a(Lbvj;)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 Lash;a(Lbvj;Lbvj;)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 Ldhh;a(Lcpw;Ljh;)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 Lash;a(Lbal;ZZ)V
    • savePersistentState

      private void savePersistentState(boolean flush)
      Mappings:
      Namespace Name Mixin selector
      named savePersistentState Lnet/minecraft/server/world/ServerWorld;savePersistentState(Z)V
      intermediary method_14188 Lnet/minecraft/class_3218;method_14188(Z)V
      official b Lash;b(Z)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 Lash;a(Lece;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 Lash;a(Lece;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 Lash;a(Lece;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 j Lash;j()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 Lash;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 Lash;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 k Lash;k()Lasi;
    • spawnEntity

      public boolean spawnEntity(Entity entity)
      Spawns an entity.
      Specified by:
      spawnEntity in interface ModifiableWorld
      See Also:
      API Note:
      To spawn an entity with passengers, use ServerWorldAccess.spawnEntityAndPassengers(net.minecraft.entity.Entity).
      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 Ldhp;b(Lbvj;)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 Lash;c(Lbvj;)Z
    • onDimensionChanged

      public void onDimensionChanged(Entity entity)
      Called on the destination world when an entity changed the dimension.
      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 Lash;d(Lbvj;)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 Lash;a(Lasi;)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 Lash;b(Lasi;)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 Lash;c(Lasi;)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 i Lash;i(Lbvj;)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 Lash;e(Lbvj;)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 Lash;a(Ldzz;)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 Lash;a(Lasi;Lbvj$d;)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 Ldhh;a(ILjh;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 Ldhh;a(Lcpw;DDDLjq;Laxg;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 Ldhh;a(Lcpw;Lbvj;Ljq;Laxg;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 Ldhh;b(ILjh;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 Ldhi;a(Lcpw;ILjh;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 l Lash;l()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 Ldhi;a(Ljq;Lfbx;Lecq$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 Ldhh;a(Ljh;Ldxu;Ldxu;I)V
    • updateNeighborsAlways

      public void updateNeighborsAlways(BlockPos pos, Block block)
      Overrides:
      updateNeighborsAlways in class World
      Mappings:
      Namespace Name Mixin selector
      named updateNeighborsAlways Lnet/minecraft/world/World;updateNeighborsAlways(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
      intermediary method_61271 Lnet/minecraft/class_1937;method_61271(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
      official a Ldhh;a(Ljh;Ldkl;)V
    • updateNeighborsAlways

      public void updateNeighborsAlways(BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation orientation)
      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;Lnet/minecraft/world/block/WireOrientation;)V
      intermediary method_8452 Lnet/minecraft/class_1937;method_8452(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_9904;)V
      official a Ldhh;a(Ljh;Ldkl;Leve;)V
    • updateNeighborsExcept

      public void updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction, @Nullable @Nullable WireOrientation orientation)
      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;Lnet/minecraft/world/block/WireOrientation;)V
      intermediary method_8508 Lnet/minecraft/class_1937;method_8508(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;Lnet/minecraft/class_9904;)V
      official a Ldhh;a(Ljh;Ldkl;Ljm;Leve;)V
    • updateNeighbor

      public void updateNeighbor(BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation orientation)
      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/world/block/WireOrientation;)V
      intermediary method_8492 Lnet/minecraft/class_1937;method_8492(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_9904;)V
      official b Ldhh;b(Ljh;Ldkl;Leve;)V
    • updateNeighbor

      public void updateNeighbor(BlockState state, BlockPos pos, Block sourceBlock, @Nullable @Nullable WireOrientation orientation, 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/world/block/WireOrientation;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_9904;Z)V
      official a Ldhh;a(Ldxu;Ljh;Ldkl;Leve;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 Ldhh;a(Lbvj;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 Ldhh;a(Lbvj;Lbtz;)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 m Lash;m()Lase;
    • createExplosion

      public void 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 smallParticle, ParticleEffect largeParticle, RegistryEntry<SoundEvent> soundEvent)
      Creates an explosion.
      Specified by:
      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;)V
      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;)V
      official a Ldhh;a(Lbvj;Lbtz;Ldha;DDDFZLdhh$a;Llq;Llq;Ljq;)V
    • getDestructionType

      private Explosion.DestructionType getDestructionType(GameRules.Key<GameRules.BooleanRule> decayRule)
      Mappings:
      Namespace Name Mixin selector
      named getDestructionType Lnet/minecraft/server/world/ServerWorld;getDestructionType(Lnet/minecraft/world/GameRules$Key;)Lnet/minecraft/world/explosion/Explosion$DestructionType;
      intermediary method_61270 Lnet/minecraft/class_3218;method_61270(Lnet/minecraft/class_1928$class_4313;)Lnet/minecraft/class_1927$class_4179;
      official a Lash;a(Ldhd$e;)Ldgz$a;
    • 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 Ldhh;a(Ljh;Ldkl;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 av Lash;av()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 Lash;a(Ldgl;)Z
    • getBlockTickScheduler

      public WorldTickScheduler<Block> getBlockTickScheduler()
      Specified by:
      getBlockTickScheduler in interface ScheduledTickView
      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 n Lash;n()Lfdm;
    • getFluidTickScheduler

      public WorldTickScheduler<Fluid> getFluidTickScheduler()
      Specified by:
      getFluidTickScheduler in interface ScheduledTickView
      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 o Lash;o()Lfdm;
    • 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 p Ldhi;p()Lnet/minecraft/server/MinecraftServer;
    • getPortalForcer

      public PortalForcer getPortalForcer()
      Mappings:
      Namespace Name Mixin selector
      named getPortalForcer Lnet/minecraft/server/world/ServerWorld;getPortalForcer()Lnet/minecraft/world/dimension/PortalForcer;
      intermediary method_14173 Lnet/minecraft/class_3218;method_14173()Lnet/minecraft/class_1946;
      official q Lash;q()Leuu;
    • 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 r Lash;r()Lesm;
    • 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 Lash;a(Llq;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 Lash;a(Lasi;Llq;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 Lash;a(Lasi;ZDDDLaac;)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 Ldhh;a(I)Lbvj;
    • 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 Lash;b(I)Lbvj;
    • 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 Lash;a(Ljava/util/UUID;)Lbvj;
    • 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 Lash;a(Layk;Ljh;IZ)Ljh;
    • 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 Lash;a(Ljava/util/function/Predicate;Ljh;III)Lcom/mojang/datafixers/util/Pair;
    • getRecipeManager

      public ServerRecipeManager getRecipeManager()
      Specified by:
      getRecipeManager in class World
      Mappings:
      Namespace Name Mixin selector
      named getRecipeManager Lnet/minecraft/server/world/ServerWorld;getRecipeManager()Lnet/minecraft/recipe/ServerRecipeManager;
      intermediary method_64577 Lnet/minecraft/class_3218;method_64577()Lnet/minecraft/class_1863;
      official s Lash;s()Ldck;
    • 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 t Ldhh;t()Lbtr;
    • 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 u Ldhh;u()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 v Lash;v()Levw;
    • 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 Ldhh;a(Levo;)Levq;
    • 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 Ldhh;a(Levo;Levq;)V
    • increaseAndGetMapId

      public MapIdComponent increaseAndGetMapId()
      Specified by:
      increaseAndGetMapId in class World
      Mappings:
      Namespace Name Mixin selector
      named increaseAndGetMapId Lnet/minecraft/world/World;increaseAndGetMapId()Lnet/minecraft/component/type/MapIdComponent;
      intermediary method_17889 Lnet/minecraft/class_1937;method_17889()Lnet/minecraft/class_9209;
      official w Ldhh;w()Levo;
    • 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 Lash;a(Ljh;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 x Lash;x()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 Lash;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 y Ldgy;y()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 Ldhh;a(Ljh;Ldxu;Ldxu;)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 z Lash;z()Lchj;
    • 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 Lash;c(Ljh;)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 Lash;a(Lkj;)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 Lash;a(Ljh;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 Lash;b(Lkj;)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 A Lash;A()Lcrl;
    • 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 Lash;d(Ljh;)Lcrj;
    • 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 Lash;e(Ljh;)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 Lash;a(Lchg;Lbvj;Lbwu;)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 Lash;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 Lash;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 Lash;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 Lash;a(Leob;)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 Ldhi;b(Ljh;Ldkl;)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 Ldgj;a(Ljm;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 B Lash;B()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 C Lash;C()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 D Ldif;D()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 E Lash;E()Lebs;
    • toServerWorld

      public ServerWorld toServerWorld()
      Specified by:
      toServerWorld in interface EntityLookupView
      Specified by:
      toServerWorld in interface ServerWorldAccess
      Mappings:
      Namespace Name Mixin selector
      named toServerWorld Lnet/minecraft/world/EntityLookupView;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
      intermediary method_8410 Lnet/minecraft/class_10245;method_8410()Lnet/minecraft/class_3218;
      official a Lasg;a()Lash;
    • 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 Lash;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 Lash;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 Ldhh;G()Lecg;
    • 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 Lash;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 Lash;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 Lash;b(Ldzz;)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 Lash;a(Ldzp;)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 Lash;H()Leuo;
    • 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 Ldhh;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 Lash;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 Lash;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 Lash;f(Ljh;)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 Lash;g(Ljh;)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 Lash;a(Ldgn;)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 Ldhk;J()Lcss;
    • 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 Ldhh;K()Lczm;
    • getFuelRegistry

      public FuelRegistry getFuelRegistry()
      Specified by:
      getFuelRegistry in class World
      Mappings:
      Namespace Name Mixin selector
      named getFuelRegistry Lnet/minecraft/world/World;getFuelRegistry()Lnet/minecraft/item/FuelRegistry;
      intermediary method_61269 Lnet/minecraft/class_1937;method_61269()Lnet/minecraft/class_9895;
      official L Ldhh;L()Ldvu;
    • 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 Lash;a(Lalz;)Lbam;
    • 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 M Lash;M()Lbtn;
    • getGameRules

      public GameRules getGameRules()
      Mappings:
      Namespace Name Mixin selector
      named getGameRules Lnet/minecraft/server/world/ServerWorld;getGameRules()Lnet/minecraft/world/GameRules;
      intermediary method_64395 Lnet/minecraft/class_3218;method_64395()Lnet/minecraft/class_1928;
      official N Lash;N()Ldhd;
    • 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 Ldhh;a(Lo;)Lp;
    • getSeaLevel

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