Class ServerWorld

java.lang.Object
net.minecraft.world.World
net.minecraft.server.world.ServerWorld
All Implemented Interfaces:
BlockView
Direct Known Subclasses:
DemoServerWorld, MultiServerWorld

public class ServerWorld extends World
Mappings:
Namespace Name
official mi
intermediary net/minecraft/class_795
named net/minecraft/server/world/ServerWorld
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lmi;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_8892 Lnet/minecraft/class_795;field_8892:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/world/ServerWorld;LOGGER:Lorg/apache/logging/log4j/Logger;
    • field_2817

      private static final WeightedRandomChestContent[] field_2817
      Mappings:
      Namespace Name Mixin selector
      official U Lmi;U:[Lpj;
      intermediary field_2817 Lnet/minecraft/class_795;field_2817:[Lnet/minecraft/class_847;
      named field_2817 Lnet/minecraft/server/world/ServerWorld;field_2817:[Lnet/minecraft/util/WeightedRandomChestContent;
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official J Lmi;J:Lnet/minecraft/server/MinecraftServer;
      intermediary field_2819 Lnet/minecraft/class_795;field_2819:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/world/ServerWorld;server:Lnet/minecraft/server/MinecraftServer;
    • entityTracker

      private final EntityTracker entityTracker
      Mappings:
      Namespace Name Mixin selector
      official K Lmi;K:Lmc;
      intermediary field_2809 Lnet/minecraft/class_795;field_2809:Lnet/minecraft/class_790;
      named entityTracker Lnet/minecraft/server/world/ServerWorld;entityTracker:Lnet/minecraft/entity/EntityTracker;
    • playerWorldManager

      private final PlayerWorldManager playerWorldManager
      Mappings:
      Namespace Name Mixin selector
      official L Lmi;L:Lmf;
      intermediary field_2810 Lnet/minecraft/class_795;field_2810:Lnet/minecraft/class_792;
      named playerWorldManager Lnet/minecraft/server/world/ServerWorld;playerWorldManager:Lnet/minecraft/server/PlayerWorldManager;
    • entityNavigations

      private Set entityNavigations
      Mappings:
      Namespace Name Mixin selector
      official M Lmi;M:Ljava/util/Set;
      intermediary field_2811 Lnet/minecraft/class_795;field_2811:Ljava/util/Set;
      named entityNavigations Lnet/minecraft/server/world/ServerWorld;entityNavigations:Ljava/util/Set;
    • field_2812

      private TreeSet field_2812
      Mappings:
      Namespace Name Mixin selector
      official N Lmi;N:Ljava/util/TreeSet;
      intermediary field_2812 Lnet/minecraft/class_795;field_2812:Ljava/util/TreeSet;
      named field_2812 Lnet/minecraft/server/world/ServerWorld;field_2812:Ljava/util/TreeSet;
    • chunkCache

      public ServerChunkProvider chunkCache
      Mappings:
      Namespace Name Mixin selector
      official b Lmi;b:Lmh;
      intermediary field_2820 Lnet/minecraft/class_795;field_2820:Lnet/minecraft/class_794;
      named chunkCache Lnet/minecraft/server/world/ServerWorld;chunkCache:Lnet/minecraft/world/chunk/ServerChunkProvider;
    • savingDisabled

      public boolean savingDisabled
      Mappings:
      Namespace Name Mixin selector
      official c Lmi;c:Z
      intermediary field_2822 Lnet/minecraft/class_795;field_2822:Z
      named savingDisabled Lnet/minecraft/server/world/ServerWorld;savingDisabled:Z
    • ready

      private boolean ready
      Mappings:
      Namespace Name Mixin selector
      official O Lmi;O:Z
      intermediary field_2813 Lnet/minecraft/class_795;field_2813:Z
      named ready Lnet/minecraft/server/world/ServerWorld;ready:Z
    • idleTimeout

      private int idleTimeout
      Mappings:
      Namespace Name Mixin selector
      official P Lmi;P:I
      intermediary field_2814 Lnet/minecraft/class_795;field_2814:I
      named idleTimeout Lnet/minecraft/server/world/ServerWorld;idleTimeout:I
    • portalTeleporter

      private final PortalTeleporter portalTeleporter
      Mappings:
      Namespace Name Mixin selector
      official Q Lmi;Q:Laga;
      intermediary field_5302 Lnet/minecraft/class_795;field_5302:Lnet/minecraft/class_1163;
      named portalTeleporter Lnet/minecraft/server/world/ServerWorld;portalTeleporter:Lnet/minecraft/entity/PortalTeleporter;
    • field_6728

      private final MobSpawnerHelper field_6728
      Mappings:
      Namespace Name Mixin selector
      official R Lmi;R:Lafz;
      intermediary field_6728 Lnet/minecraft/class_795;field_6728:Lnet/minecraft/class_1162;
      named field_6728 Lnet/minecraft/server/world/ServerWorld;field_6728:Lnet/minecraft/entity/MobSpawnerHelper;
    • field_2815

      private class_797[] field_2815
      Mappings:
      Namespace Name Mixin selector
      official S Lmi;S:[Lmk;
      intermediary field_2815 Lnet/minecraft/class_795;field_2815:[Lnet/minecraft/class_797;
      named field_2815 Lnet/minecraft/server/world/ServerWorld;field_2815:[Lnet/minecraft/util/class_797;
    • field_2816

      private int field_2816
      Mappings:
      Namespace Name Mixin selector
      official T Lmi;T:I
      intermediary field_2816 Lnet/minecraft/class_795;field_2816:I
      named field_2816 Lnet/minecraft/server/world/ServerWorld;field_2816:I
    • players

      private List players
      Mappings:
      Namespace Name Mixin selector
      official V Lmi;V:Ljava/util/List;
      intermediary field_6729 Lnet/minecraft/class_795;field_6729:Ljava/util/List;
      named players Lnet/minecraft/server/world/ServerWorld;players:Ljava/util/List;
    • field_2818

      private IntObjectStorage field_2818
      Mappings:
      Namespace Name Mixin selector
      official W Lmi;W:Lom;
      intermediary field_2818 Lnet/minecraft/class_795;field_2818:Lnet/minecraft/class_833;
      named field_2818 Lnet/minecraft/server/world/ServerWorld;field_2818:Lnet/minecraft/util/collection/IntObjectStorage;
  • Constructor Details

  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class World
      Mappings:
      Namespace Name Mixin selector
      official b Lafm;b()V
      intermediary method_3646 Lnet/minecraft/class_1150;method_3646()V
      named tick Lnet/minecraft/world/World;tick()V
    • method_2136

      public SpawnEntry method_2136(EntityCategory entityCategory, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Lmi;a(Lri;III)Lagi;
      intermediary method_2136 Lnet/minecraft/class_795;method_2136(Lnet/minecraft/class_872;III)Lnet/minecraft/class_1171;
      named method_2136 Lnet/minecraft/server/world/ServerWorld;method_2136(Lnet/minecraft/entity/EntityCategory;III)Lnet/minecraft/entity/SpawnEntry;
    • method_3669

      public void method_3669()
      Overrides:
      method_3669 in class World
      Mappings:
      Namespace Name Mixin selector
      official c Lafm;c()V
      intermediary method_3669 Lnet/minecraft/class_1150;method_3669()V
      named method_3669 Lnet/minecraft/world/World;method_3669()V
    • method_2141

      protected void method_2141()
      Mappings:
      Namespace Name Mixin selector
      official d Lmi;d()V
      intermediary method_2141 Lnet/minecraft/class_795;method_2141()V
      named method_2141 Lnet/minecraft/server/world/ServerWorld;method_2141()V
    • resetWeather

      private void resetWeather()
      Mappings:
      Namespace Name Mixin selector
      official Y Lmi;Y()V
      intermediary method_2130 Lnet/minecraft/class_795;method_2130()V
      named resetWeather Lnet/minecraft/server/world/ServerWorld;resetWeather()V
    • isReady

      public boolean isReady()
      Mappings:
      Namespace Name Mixin selector
      official e Lmi;e()Z
      intermediary method_2142 Lnet/minecraft/class_795;method_2142()Z
      named isReady Lnet/minecraft/server/world/ServerWorld;isReady()Z
    • setDefaultSpawnClient

      @Environment(CLIENT) public void setDefaultSpawnClient()
      Overrides:
      setDefaultSpawnClient in class World
      Mappings:
      Namespace Name Mixin selector
      official f Lafm;f()V
      intermediary method_3694 Lnet/minecraft/class_1150;method_3694()V
      named setDefaultSpawnClient Lnet/minecraft/world/World;setDefaultSpawnClient()V
    • tickBlocks

      protected void tickBlocks()
      Overrides:
      tickBlocks in class World
      Mappings:
      Namespace Name Mixin selector
      official g Lafm;g()V
      intermediary method_3701 Lnet/minecraft/class_1150;method_3701()V
      named tickBlocks Lnet/minecraft/world/World;tickBlocks()V
    • isTicking

      public boolean isTicking(int int2, int int3, int int4, Block block)
      Overrides:
      isTicking in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(IIILaht;)Z
      intermediary method_4713 Lnet/minecraft/class_1150;method_4713(IIILnet/minecraft/class_197;)Z
      named isTicking Lnet/minecraft/world/World;isTicking(IIILnet/minecraft/block/Block;)Z
    • method_3599

      public void method_3599(int int2, int int3, int int4, Block block, int int5)
      Overrides:
      method_3599 in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(IIILaht;I)V
      intermediary method_3599 Lnet/minecraft/class_1150;method_3599(IIILnet/minecraft/class_197;I)V
      named method_3599 Lnet/minecraft/world/World;method_3599(IIILnet/minecraft/block/Block;I)V
    • setTickPriority

      public void setTickPriority(int int2, int int3, int int4, Block block, int int5, int int6)
      Overrides:
      setTickPriority in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(IIILaht;II)V
      intermediary method_4682 Lnet/minecraft/class_1150;method_4682(IIILnet/minecraft/class_197;II)V
      named setTickPriority Lnet/minecraft/world/World;setTickPriority(IIILnet/minecraft/block/Block;II)V
    • method_3653

      public void method_3653(int int2, int int3, int int4, Block block, int int5, int int6)
      Overrides:
      method_3653 in class World
      Mappings:
      Namespace Name Mixin selector
      official b Lafm;b(IIILaht;II)V
      intermediary method_3653 Lnet/minecraft/class_1150;method_3653(IIILnet/minecraft/class_197;II)V
      named method_3653 Lnet/minecraft/world/World;method_3653(IIILnet/minecraft/block/Block;II)V
    • tickEntities

      public void tickEntities()
      Overrides:
      tickEntities in class World
      Mappings:
      Namespace Name Mixin selector
      official h Lafm;h()V
      intermediary method_3706 Lnet/minecraft/class_1150;method_3706()V
      named tickEntities Lnet/minecraft/world/World;tickEntities()V
    • resetIdleTimeout

      public void resetIdleTimeout()
      Mappings:
      Namespace Name Mixin selector
      official i Lmi;i()V
      intermediary method_4411 Lnet/minecraft/class_795;method_4411()V
      named resetIdleTimeout Lnet/minecraft/server/world/ServerWorld;resetIdleTimeout()V
    • method_3644

      public boolean method_3644(boolean bool)
      Overrides:
      method_3644 in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(Z)Z
      intermediary method_3644 Lnet/minecraft/class_1150;method_3644(Z)Z
      named method_3644 Lnet/minecraft/world/World;method_3644(Z)Z
    • getEntities

      public List getEntities(Chunk chunk, boolean bool)
      Overrides:
      getEntities in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(Laoi;Z)Ljava/util/List;
      intermediary method_3643 Lnet/minecraft/class_1150;method_3643(Lnet/minecraft/class_1196;Z)Ljava/util/List;
      named getEntities Lnet/minecraft/world/World;getEntities(Lnet/minecraft/world/chunk/Chunk;Z)Ljava/util/List;
    • checkChunk

      public void checkChunk(Entity entity, boolean bl)
      Overrides:
      checkChunk in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(Lqm;Z)V
      intermediary method_3636 Lnet/minecraft/class_1150;method_3636(Lnet/minecraft/class_864;Z)V
      named checkChunk Lnet/minecraft/world/World;checkChunk(Lnet/minecraft/entity/Entity;Z)V
    • getChunkCache

      protected ChunkProvider getChunkCache()
      Specified by:
      getChunkCache in class World
      Mappings:
      Namespace Name Mixin selector
      official j Lafm;j()Laof;
      intermediary method_3712 Lnet/minecraft/class_1150;method_3712()Lnet/minecraft/class_1193;
      named getChunkCache Lnet/minecraft/world/World;getChunkCache()Lnet/minecraft/world/chunk/ChunkProvider;
    • method_2134

      public List method_2134(int int2, int int3, int int4, int int5, int int6, int int7)
      Mappings:
      Namespace Name Mixin selector
      official a Lmi;a(IIIIII)Ljava/util/List;
      intermediary method_2134 Lnet/minecraft/class_795;method_2134(IIIIII)Ljava/util/List;
      named method_2134 Lnet/minecraft/server/world/ServerWorld;method_2134(IIIIII)Ljava/util/List;
    • method_3637

      public boolean method_3637(PlayerEntity playerEntity, int int2, int int3, int int4)
      Overrides:
      method_3637 in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(Lxk;III)Z
      intermediary method_3637 Lnet/minecraft/class_1150;method_3637(Lnet/minecraft/class_988;III)Z
      named method_3637 Lnet/minecraft/world/World;method_3637(Lnet/minecraft/entity/player/PlayerEntity;III)Z
    • setPropertiesInitialized

      protected void setPropertiesInitialized(LevelInfo info)
      Overrides:
      setPropertiesInitialized in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(Lafu;)V
      intermediary method_3641 Lnet/minecraft/class_1150;method_3641(Lnet/minecraft/class_1156;)V
      named setPropertiesInitialized Lnet/minecraft/world/World;setPropertiesInitialized(Lnet/minecraft/world/level/LevelInfo;)V
    • init

      protected void init(LevelInfo levelInfo)
      Mappings:
      Namespace Name Mixin selector
      official b Lmi;b(Lafu;)V
      intermediary method_2140 Lnet/minecraft/class_795;method_2140(Lnet/minecraft/class_1156;)V
      named init Lnet/minecraft/server/world/ServerWorld;init(Lnet/minecraft/world/level/LevelInfo;)V
    • placeBonusChest

      protected void placeBonusChest()
      Mappings:
      Namespace Name Mixin selector
      official k Lmi;k()V
      intermediary method_2143 Lnet/minecraft/class_795;method_2143()V
      named placeBonusChest Lnet/minecraft/server/world/ServerWorld;placeBonusChest()V
    • method_2144

      public BlockPos method_2144()
      Mappings:
      Namespace Name Mixin selector
      official l Lmi;l()Lr;
      intermediary method_2144 Lnet/minecraft/class_795;method_2144()Lnet/minecraft/class_851;
      named method_2144 Lnet/minecraft/server/world/ServerWorld;method_2144()Lnet/minecraft/util/math/BlockPos;
    • save

      public void save(boolean bool, ProgressListener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lmi;a(ZLow;)V
      intermediary method_8133 Lnet/minecraft/class_795;method_8133(ZLnet/minecraft/class_841;)V
      named save Lnet/minecraft/server/world/ServerWorld;save(ZLnet/minecraft/util/ProgressListener;)V
    • method_5323

      public void method_5323()
      Mappings:
      Namespace Name Mixin selector
      official m Lmi;m()V
      intermediary method_5323 Lnet/minecraft/class_795;method_5323()V
      named method_5323 Lnet/minecraft/server/world/ServerWorld;method_5323()V
    • method_2132

      protected void method_2132()
      Mappings:
      Namespace Name Mixin selector
      official a Lmi;a()V
      intermediary method_2132 Lnet/minecraft/class_795;method_2132()V
      named method_2132 Lnet/minecraft/server/world/ServerWorld;method_2132()V
    • onEntitySpawned

      protected void onEntitySpawned(Entity entity)
      Overrides:
      onEntitySpawned in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(Lqm;)V
      intermediary method_3626 Lnet/minecraft/class_1150;method_3626(Lnet/minecraft/class_864;)V
      named onEntitySpawned Lnet/minecraft/world/World;onEntitySpawned(Lnet/minecraft/entity/Entity;)V
    • onEntityRemoved

      protected void onEntityRemoved(Entity entity)
      Overrides:
      onEntityRemoved in class World
      Mappings:
      Namespace Name Mixin selector
      official b Lafm;b(Lqm;)V
      intermediary method_3663 Lnet/minecraft/class_1150;method_3663(Lnet/minecraft/class_864;)V
      named onEntityRemoved Lnet/minecraft/world/World;onEntityRemoved(Lnet/minecraft/entity/Entity;)V
    • getEntityById

      public Entity getEntityById(int id)
      Specified by:
      getEntityById in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(I)Lqm;
      intermediary method_2133 Lnet/minecraft/class_1150;method_2133(I)Lnet/minecraft/class_864;
      named getEntityById Lnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
    • addEntity

      public boolean addEntity(Entity entity)
      Overrides:
      addEntity in class World
      Mappings:
      Namespace Name Mixin selector
      official c Lafm;c(Lqm;)Z
      intermediary method_3677 Lnet/minecraft/class_1150;method_3677(Lnet/minecraft/class_864;)Z
      named addEntity Lnet/minecraft/world/World;addEntity(Lnet/minecraft/entity/Entity;)Z
    • sendEntityStatus

      public void sendEntityStatus(Entity entity, byte status)
      Overrides:
      sendEntityStatus in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(Lqm;B)V
      intermediary method_3627 Lnet/minecraft/class_1150;method_3627(Lnet/minecraft/class_864;B)V
      named sendEntityStatus Lnet/minecraft/world/World;sendEntityStatus(Lnet/minecraft/entity/Entity;B)V
    • createExplosion

      public Explosion createExplosion(Entity entity, double x, double y, double z, float power, boolean createFire, boolean destructive)
      Overrides:
      createExplosion in class World
      Mappings:
      Namespace Name Mixin selector
      official a Lafm;a(Lqm;DDDFZZ)Lafh;
      intermediary method_3630 Lnet/minecraft/class_1150;method_3630(Lnet/minecraft/class_864;DDDFZZ)Lnet/minecraft/class_1147;
      named createExplosion Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;DDDFZZ)Lnet/minecraft/world/explosion/Explosion;
    • method_3654

      public void method_3654(int int2, int int3, int int4, Block block, int int5, int int6)
      Overrides:
      method_3654 in class World
      Mappings:
      Namespace Name Mixin selector
      official c Lafm;c(IIILaht;II)V
      intermediary method_3654 Lnet/minecraft/class_1150;method_3654(IIILnet/minecraft/class_197;II)V
      named method_3654 Lnet/minecraft/world/World;method_3654(IIILnet/minecraft/block/Block;II)V
    • method_2131

      private void method_2131()
      Mappings:
      Namespace Name Mixin selector
      official Z Lmi;Z()V
      intermediary method_2131 Lnet/minecraft/class_795;method_2131()V
      named method_2131 Lnet/minecraft/server/world/ServerWorld;method_2131()V
    • method_2137

      private boolean method_2137(BlockAction blockAction)
      Mappings:
      Namespace Name Mixin selector
      official a Lmi;a(Lafd;)Z
      intermediary method_2137 Lnet/minecraft/class_795;method_2137(Lnet/minecraft/class_1166;)Z
      named method_2137 Lnet/minecraft/server/world/ServerWorld;method_2137(Lnet/minecraft/server/world/BlockAction;)Z
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      official n Lmi;n()V
      intermediary method_2145 Lnet/minecraft/class_795;method_2145()V
      named close Lnet/minecraft/server/world/ServerWorld;close()V
    • tickWeather

      protected void tickWeather()
      Overrides:
      tickWeather in class World
      Mappings:
      Namespace Name Mixin selector
      official o Lafm;o()V
      intermediary method_3722 Lnet/minecraft/class_1150;method_3722()V
      named tickWeather Lnet/minecraft/world/World;tickWeather()V
    • getServer

      public MinecraftServer getServer()
      Mappings:
      Namespace Name Mixin selector
      official p Lmi;p()Lnet/minecraft/server/MinecraftServer;
      intermediary method_2146 Lnet/minecraft/class_795;method_2146()Lnet/minecraft/server/MinecraftServer;
      named getServer Lnet/minecraft/server/world/ServerWorld;getServer()Lnet/minecraft/server/MinecraftServer;
    • getEntityTracker

      public EntityTracker getEntityTracker()
      Mappings:
      Namespace Name Mixin selector
      official q Lmi;q()Lmc;
      intermediary method_2147 Lnet/minecraft/class_795;method_2147()Lnet/minecraft/class_790;
      named getEntityTracker Lnet/minecraft/server/world/ServerWorld;getEntityTracker()Lnet/minecraft/entity/EntityTracker;
    • getPlayerWorldManager

      public PlayerWorldManager getPlayerWorldManager()
      Mappings:
      Namespace Name Mixin selector
      official s Lmi;s()Lmf;
      intermediary method_2148 Lnet/minecraft/class_795;method_2148()Lnet/minecraft/class_792;
      named getPlayerWorldManager Lnet/minecraft/server/world/ServerWorld;getPlayerWorldManager()Lnet/minecraft/server/PlayerWorldManager;
    • getPortalTeleporter

      public PortalTeleporter getPortalTeleporter()
      Mappings:
      Namespace Name Mixin selector
      official t Lmi;t()Laga;
      intermediary method_4412 Lnet/minecraft/class_795;method_4412()Lnet/minecraft/class_1163;
      named getPortalTeleporter Lnet/minecraft/server/world/ServerWorld;getPortalTeleporter()Lnet/minecraft/entity/PortalTeleporter;
    • method_8132

      public void method_8132(String string, double double2, double double3, double double4, int int2, double double5, double double6, double double7, double double8)
      Mappings:
      Namespace Name Mixin selector
      official a Lmi;a(Ljava/lang/String;DDDIDDDD)V
      intermediary method_8132 Lnet/minecraft/class_795;method_8132(Ljava/lang/String;DDDIDDDD)V
      named method_8132 Lnet/minecraft/server/world/ServerWorld;method_8132(Ljava/lang/String;DDDIDDDD)V