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 ard
  • Field Details Link icon

    • END_SPAWN_POS Link icon

      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 Lard;a:Lji;
    • CLEAR_WEATHER_DURATION_PROVIDER Link icon

      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 Lard;b:Lbrq;
    • RAIN_WEATHER_DURATION_PROVIDER Link icon

      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 Lard;c:Lbrq;
    • CLEAR_THUNDER_WEATHER_DURATION_PROVIDER Link icon

      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 Lard;E:Lbrq;
    • THUNDER_WEATHER_DURATION_PROVIDER Link icon

      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 Lard;d:Lbrq;
    • LOGGER Link icon

      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 Lard;F:Lorg/slf4j/Logger;
    • SERVER_IDLE_COOLDOWN Link icon

      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 Lard;G:I
    • MAX_TICKS Link icon

      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 Lard;H:I
    • players Link icon

      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 Lard;I:Ljava/util/List;
    • chunkManager Link icon

      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 Lard;J:Lara;
    • server Link icon

      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 Lard;K:Lnet/minecraft/server/MinecraftServer;
    • worldProperties Link icon

      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 Lard;L:Levl;
    • spawnChunkRadius Link icon

      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 Lard;M:I
    • entityList Link icon

      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 Lard;N:Lebh;
    • entityManager Link icon

      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 Lard;O:Lebm;
    • gameEventDispatchManager Link icon

      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 Lard;P:Lebv;
    • savingDisabled Link icon

      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 Lard;e:Z
    • sleepManager Link icon

      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 Lard;Q:Lavg;
    • idleTimeout Link icon

      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 Lard;R:I
    • portalForcer Link icon

      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 Lard;S:Lety;
    • blockTickScheduler Link icon

      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 Lard;T:Lfcq;
    • fluidTickScheduler Link icon

      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 Lard;U:Lfcq;
    • pathNodeTypeCache Link icon

      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 Lard;V:Lets;
    • loadedMobs Link icon

      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 Lard;W:Ljava/util/Set;
    • duringListenerUpdate Link icon

      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 Lard;X:Z
    • raidManager Link icon

      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 Lard;f:Lcqn;
    • syncedBlockEventQueue Link icon

      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 Lard;Y:Lit/unimi/dsi/fastutil/objects/ObjectLinkedOpenHashSet;
    • blockEventQueue Link icon

      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 Lard;Z:Ljava/util/List;
    • inBlockTick Link icon

      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 Lard;aa:Z
    • spawners Link icon

      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 Lard;ab:Ljava/util/List;
    • enderDragonFight Link icon

      @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 Lard;ac:Leaw;
    • enderDragonParts Link icon

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

      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 Lard;ae:Ldhf;
    • structureLocator Link icon

      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 Lard;af:Leno;
    • shouldTickTime Link icon

      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 Lard;ag:Z
    • randomSequences Link icon

      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 Lard;ah:Lbsq;
  • Constructor Details Link icon

    • ServerWorld Link icon

      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> Lard;<init>(Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Levg$c;Levl;Laku;Leau;Larn;ZJLjava/util/List;ZLbsq;)V
  • Method Details Link icon

    • setEnderDragonFight Link icon

      @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 Lard;a(Leaw;)V
    • setWeather Link icon

      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 Lard;a(IIZZ)V
    • getGeneratorStoredBiome Link icon

      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 Ldgm;a(III)Ljr;
    • getStructureAccessor Link icon

      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 Lard;b()Ldhf;
    • tick Link icon

      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 Lard;a(Ljava/util/function/BooleanSupplier;)V
    • shouldTickBlocksInChunk Link icon

      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 Ldgj;a(J)Z
    • tickTime Link icon

      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 Lard;c()V
    • setTimeOfDay Link icon

      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 Lard;b(J)V
    • tickSpawners Link icon

      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 Lard;a(ZZ)V
    • wakeSleepingPlayers Link icon

      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 at Lard;at()V
    • tickChunk Link icon

      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 Lard;a(Ldzd;I)V
    • tickIceAndSnow Link icon

      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 Lard;a(Lji;)V
    • getLightningRodPos Link icon

      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 Lard;E(Lji;)Ljava/util/Optional;
    • getLightningPos Link icon

      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 Lard;b(Lji;)Lji;
    • isInBlockTick Link icon

      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 Lard;d()Z
    • isSleepingEnabled Link icon

      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 Lard;e()Z
    • sendSleepingStatus Link icon

      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 au Lard;au()V
    • updateSleepingPlayers Link icon

      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 Lard;f()V
    • getScoreboard Link icon

      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 Lard;g()Lalo;
    • tickWeather Link icon

      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 av Lard;av()V
    • resetWeather Link icon

      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 Lard;h()V
    • resetIdleTimeout Link icon

      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 Lard;i()V
    • tickFluid Link icon

      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 Lard;a(Lji;Lesz;)V
    • tickBlock Link icon

      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 Lard;d(Lji;Ldjn;)V
    • tickEntity Link icon

      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 Lard;a(Lbum;)V
    • tickPassenger Link icon

      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 Lard;a(Lbum;Lbum;)V
    • canPlayerModifyAt Link icon

      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 Ldgj;a(Lcoy;Lji;)Z
    • save Link icon

      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 Lard;a(Lazg;ZZ)V
    • savePersistentState Link icon

      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 Lard;b(Z)V
    • getEntitiesByType Link icon

      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 Lard;a(Lebi;Ljava/util/function/Predicate;)Ljava/util/List;
    • collectEntitiesByType Link icon

      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 Lard;a(Lebi;Ljava/util/function/Predicate;Ljava/util/List;)V
    • collectEntitiesByType Link icon

      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 Lard;a(Lebi;Ljava/util/function/Predicate;Ljava/util/List;I)V
    • getAliveEnderDragons Link icon

      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 Lard;j()Ljava/util/List;
    • getPlayers Link icon

      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 Lard;a(Ljava/util/function/Predicate;)Ljava/util/List;
    • getPlayers Link icon

      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 Lard;a(Ljava/util/function/Predicate;I)Ljava/util/List;
    • getRandomAlivePlayer Link icon

      @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 Lard;k()Lare;
    • spawnEntity Link icon

      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 Ldgr;b(Lbum;)Z
    • tryLoadEntity Link icon

      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 Lard;c(Lbum;)Z
    • onDimensionChanged Link icon

      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 Lard;d(Lbum;)V
    • onPlayerConnected Link icon

      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 Lard;a(Lare;)V
    • onPlayerRespawned Link icon

      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 Lard;b(Lare;)V
    • addPlayer Link icon

      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 Lard;c(Lare;)V
    • addEntity Link icon

      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 Lard;i(Lbum;)Z
    • spawnNewEntityAndPassengers Link icon

      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 Lard;e(Lbum;)Z
    • unloadEntities Link icon

      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 Lard;a(Ldzd;)V
    • removePlayer Link icon

      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 Lard;a(Lare;Lbum$d;)V
    • setBlockBreakingInfo Link icon

      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 Ldgj;a(ILji;I)V
    • playSound Link icon

      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 Ldgj;a(Lcoy;DDDLjr;Lawb;FFJ)V
    • playSoundFromEntity Link icon

      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 Ldgj;a(Lcoy;Lbum;Ljr;Lawb;FFJ)V
    • syncGlobalEvent Link icon

      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 Ldgj;b(ILji;I)V
    • syncWorldEvent Link icon

      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 Ldgk;a(Lcoy;ILji;I)V
    • getLogicalHeight Link icon

      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 Lard;l()I
    • emitGameEvent Link icon

      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 Ldgk;a(Ljr;Lfbb;Lebu$a;)V
    • updateListeners Link icon

      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 Ldgj;a(Lji;Ldwy;Ldwy;I)V
    • updateNeighborsAlways Link icon

      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 Ldgj;a(Lji;Ldjn;)V
    • updateNeighborsAlways Link icon

      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 Ldgj;a(Lji;Ldjn;Leui;)V
    • updateNeighborsExcept Link icon

      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 Ldgj;a(Lji;Ldjn;Ljn;Leui;)V
    • updateNeighbor Link icon

      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 Ldgj;b(Lji;Ldjn;Leui;)V
    • updateNeighbor Link icon

      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 Ldgj;a(Ldwy;Lji;Ldjn;Leui;Z)V
    • sendEntityStatus Link icon

      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 Ldgj;a(Lbum;B)V
    • sendEntityDamage Link icon

      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 Ldgj;a(Lbum;Lbtc;)V
    • getChunkManager Link icon

      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 Lard;m()Lara;
    • createExplosion Link icon

      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 Ldgj;a(Lbum;Lbtc;Ldgc;DDDFZLdgj$a;Llr;Llr;Ljr;)V
    • getDestructionType Link icon

      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 Lard;a(Ldgf$e;)Ldgb$a;
    • addSyncedBlockEvent Link icon

      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 Ldgj;a(Lji;Ldjn;II)V
    • processSyncedBlockEvents Link icon

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

      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 Lard;a(Ldfn;)Z
    • getBlockTickScheduler Link icon

      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 Lard;n()Lfcq;
    • getFluidTickScheduler Link icon

      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 Lard;o()Lfcq;
    • getServer Link icon

      @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 Ldgk;p()Lnet/minecraft/server/MinecraftServer;
    • getPortalForcer Link icon

      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 Lard;q()Lety;
    • getStructureTemplateManager Link icon

      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 Lard;r()Lerq;
    • spawnParticles Link icon

      public <T extends ParticleEffect> int spawnParticles(T parameters, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed)
      Mappings:
      Namespace Name Mixin selector
      named spawnParticles Lnet/minecraft/server/world/ServerWorld;spawnParticles(Lnet/minecraft/particle/ParticleEffect;DDDIDDDD)I
      intermediary method_65096 Lnet/minecraft/class_3218;method_65096(Lnet/minecraft/class_2394;DDDIDDDD)I
      official a Lard;a(Llr;DDDIDDDD)I
    • spawnParticles Link icon

      public <T extends ParticleEffect> int spawnParticles(T parameters, boolean force, boolean important, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double speed)
      Spawns a particle visible to nearby players.
      Returns:
      the number of players the particle packet was sent to
      See Also:
      • invalid reference
        #spawnParticles(ServerPlayerEntity, ParticleEffect, boolean, double, double, double, int, double, double, double, double)
      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;ZZDDDIDDDD)I
      intermediary method_14199 Lnet/minecraft/class_3218;method_14199(Lnet/minecraft/class_2394;ZZDDDIDDDD)I
      official a Lard;a(Llr;ZZDDDIDDDD)I
    • spawnParticles Link icon

      public <T extends ParticleEffect> boolean spawnParticles(ServerPlayerEntity viewer, T parameters, boolean force, boolean important, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, 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;ZZDDDIDDDD)Z
      intermediary method_14166 Lnet/minecraft/class_3218;method_14166(Lnet/minecraft/class_3222;Lnet/minecraft/class_2394;ZZDDDIDDDD)Z
      official a Lard;a(Lare;Llr;ZZDDDIDDDD)Z
    • sendToPlayerIfNearby Link icon

      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 Lard;a(Lare;ZDDDLyw;)Z
    • getEntityById Link icon

      @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 Ldgj;a(I)Lbum;
    • getEntity Link icon

      @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 Lard;a(Ljava/util/UUID;)Lbum;
    • getDragonPart Link icon

      @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 Lard;b(I)Lbum;
    • getEnderDragonParts Link icon

      public Collection<EnderDragonPart> getEnderDragonParts()
      Specified by:
      getEnderDragonParts in class World
      Mappings:
      Namespace Name Mixin selector
      named getEnderDragonParts Lnet/minecraft/world/World;getEnderDragonParts()Ljava/util/Collection;
      intermediary method_65097 Lnet/minecraft/class_1937;method_65097()Ljava/util/Collection;
      official s Ldgj;s()Ljava/util/Collection;
    • locateStructure Link icon

      @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 Lard;a(Laxf;Lji;IZ)Lji;
    • locateBiome Link icon

      @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 Lard;a(Ljava/util/function/Predicate;Lji;III)Lcom/mojang/datafixers/util/Pair;
    • getRecipeManager Link icon

      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 t Lard;t()Ldbm;
    • getTickManager Link icon

      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 u Ldgj;u()Lbsu;
    • isSavingDisabled Link icon

      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 v Ldgj;v()Z
    • getPersistentStateManager Link icon

      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 w Lard;w()Leva;
    • getMapState Link icon

      @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 Ldgj;a(Leus;)Leuu;
    • putMapState Link icon

      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 Ldgj;a(Leus;Leuu;)V
    • increaseAndGetMapId Link icon

      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 x Ldgj;x()Leus;
    • setSpawnPos Link icon

      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 Lard;a(Lji;F)V
    • getForcedChunks Link icon

      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 y Lard;y()Lit/unimi/dsi/fastutil/longs/LongSet;
    • setChunkForced Link icon

      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 Lard;a(IIZ)Z
    • getPlayers Link icon

      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 z Ldga;z()Ljava/util/List;
    • onBlockChanged Link icon

      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 Ldgj;a(Lji;Ldwy;Ldwy;)V
    • getPointOfInterestStorage Link icon

      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 A Lard;A()Lcgm;
    • isNearOccupiedPointOfInterest Link icon

      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 Lard;c(Lji;)Z
    • isNearOccupiedPointOfInterest Link icon

      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 Lard;a(Lkk;)Z
    • isNearOccupiedPointOfInterest Link icon

      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 Lard;a(Lji;I)Z
    • getOccupiedPointOfInterestDistance Link icon

      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 Lard;b(Lkk;)I
    • getRaidManager Link icon

      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 B Lard;B()Lcqn;
    • getRaidAt Link icon

      @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 Lard;d(Lji;)Lcql;
    • hasRaidAt Link icon

      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 Lard;e(Lji;)Z
    • handleInteraction Link icon

      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 Lard;a(Lcgj;Lbum;Lbvx;)V
    • dump Link icon

      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 Lard;a(Ljava/nio/file/Path;)V
    • dumpEntities Link icon

      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 Lard;a(Ljava/io/Writer;Ljava/lang/Iterable;)V
    • dumpBlockEntities Link icon

      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 Lard;a(Ljava/io/Writer;)V
    • clearUpdatesInArea Link icon

      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 Lard;a(Lenf;)V
    • updateNeighbors Link icon

      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 Ldgk;b(Lji;Ldjn;)V
    • getBrightness Link icon

      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 Ldfl;a(Ljn;Z)F
    • iterateEntities Link icon

      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 C Lard;C()Ljava/lang/Iterable;
    • toString Link icon

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

      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 D Lard;D()Z
    • getSeed Link icon

      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 E Ldhh;E()J
    • getEnderDragonFight Link icon

      @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 F Lard;F()Leaw;
    • toServerWorld Link icon

      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 Larc;a()Lard;
    • getDebugString Link icon

      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 G Lard;G()Ljava/lang/String;
    • getTopFive Link icon

      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 Lard;a(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/lang/String;
    • getEntityLookup Link icon

      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 H Ldgj;H()Lebk;
    • loadEntities Link icon

      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 Lard;a(Ljava/util/stream/Stream;)V
    • addEntities Link icon

      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 Lard;b(Ljava/util/stream/Stream;)V
    • disableTickSchedulers Link icon

      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 Lard;b(Ldzd;)V
    • cacheStructures Link icon

      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 Lard;a(Ldyt;)V
    • getPathNodeTypeCache Link icon

      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 I Lard;I()Lets;
    • close Link icon

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

      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 J Ldgj;J()Ljava/lang/String;
    • isChunkLoaded Link icon

      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 Lard;c(J)Z
    • isTickingFutureReady Link icon

      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 Lard;d(J)Z
    • shouldTickEntity Link icon

      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 Lard;f(Lji;)Z
    • shouldTick Link icon

      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 Lard;g(Lji;)Z
    • shouldTick Link icon

      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 Lard;a(Ldfp;)Z
    • getEnabledFeatures Link icon

      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 K Ldgm;K()Lcru;
    • getBrewingRecipeRegistry Link icon

      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 L Ldgj;L()Lcyo;
    • getFuelRegistry Link icon

      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 M Ldgj;M()Lduy;
    • getOrCreateRandom Link icon

      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 Lard;a(Lakv;)Lazh;
    • getRandomSequences Link icon

      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 N Lard;N()Lbsq;
    • getGameRules Link icon

      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 O Lard;O()Ldgf;
    • addDetailsToCrashReport Link icon

      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 Ldgj;a(Lo;)Lp;
    • getSeaLevel Link icon

      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 P Ldgm;P()I