Class ServerWorld

java.lang.Object
net.minecraft.world.World
net.minecraft.world.ServerWorld
All Implemented Interfaces:
BlockView
Direct Known Subclasses:
ReadOnlyServerWorld

@Environment(SERVER) public class ServerWorld extends World
Mappings:
Namespace Name
intermediary net/minecraft/class_73
glue class_137
server dp
client net/minecraft/class_73
named net/minecraft/world/ServerWorld
  • Field Details

    • chunkCache

      public ServerChunkCache chunkCache
      Mappings:
      Namespace Name Mixin selector
      intermediary field_273 Lnet/minecraft/class_73;field_273:Lnet/minecraft/class_79;
      glue field_506 Lclass_137;field_506:Lclass_273;
      server C Ldp;C:Lhe;
      client field_273 Lnet/minecraft/class_73;field_273:Lnet/minecraft/class_79;
      named chunkCache Lnet/minecraft/world/ServerWorld;chunkCache:Lnet/minecraft/server/world/chunk/ServerChunkCache;
    • bypassSpawnProtection

      public boolean bypassSpawnProtection
      Mappings:
      Namespace Name Mixin selector
      intermediary field_274 Lnet/minecraft/class_73;field_274:Z
      glue field_507 Lclass_137;field_507:Z
      server D Ldp;D:Z
      client field_274 Lnet/minecraft/class_73;field_274:Z
      named bypassSpawnProtection Lnet/minecraft/world/ServerWorld;bypassSpawnProtection:Z
    • savingDisabled

      public boolean savingDisabled
      Mappings:
      Namespace Name Mixin selector
      intermediary field_275 Lnet/minecraft/class_73;field_275:Z
      glue field_508 Lclass_137;field_508:Z
      server E Ldp;E:Z
      client field_275 Lnet/minecraft/class_73;field_275:Z
      named savingDisabled Lnet/minecraft/world/ServerWorld;savingDisabled:Z
    • server

      private MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      intermediary field_276 Lnet/minecraft/class_73;field_276:Lnet/minecraft/server/MinecraftServer;
      glue field_509 Lclass_137;field_509:Lnet/minecraft/server/MinecraftServer;
      server F Ldp;F:Lnet/minecraft/server/MinecraftServer;
      client field_276 Lnet/minecraft/class_73;field_276:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/world/ServerWorld;server:Lnet/minecraft/server/MinecraftServer;
    • entitiesById

      private IntHashMap entitiesById
      Mappings:
      Namespace Name Mixin selector
      intermediary field_277 Lnet/minecraft/class_73;field_277:Lnet/minecraft/class_80;
      glue field_510 Lclass_137;field_510:Lclass_250;
      server G Ldp;G:Lgo;
      client field_277 Lnet/minecraft/class_73;field_277:Ljx;
      named entitiesById Lnet/minecraft/world/ServerWorld;entitiesById:Lnet/minecraft/util/IntHashMap;
  • Constructor Details

    • ServerWorld

      public ServerWorld(MinecraftServer server, WorldStorage storage, String name, int dimensionId, long seed)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_73;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_52;Ljava/lang/String;IJ)V
      glue <init> Lclass_137;<init>(Lnet/minecraft/server/MinecraftServer;Lclass_561;Ljava/lang/String;IJ)V
      server <init> Ldp;<init>(Lnet/minecraft/server/MinecraftServer;Lom;Ljava/lang/String;IJ)V
      client <init> Lnet/minecraft/class_73;<init>(Lnet/minecraft/server/MinecraftServer;Lwt;Ljava/lang/String;IJ)V
      named <init> Lnet/minecraft/world/ServerWorld;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/storage/WorldStorage;Ljava/lang/String;IJ)V
  • Method Details

    • updateEntity

      public void updateEntity(Entity entity, boolean requireLoaded)
      Overrides:
      updateEntity in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_193 Lnet/minecraft/class_18;method_193(Lnet/minecraft/class_57;Z)V
      glue method_510 Lclass_129;method_510(Lclass_450;Z)V
      server a Ldj;a(Llq;Z)V
      client a Lfd;a(Lsn;Z)V
      named updateEntity Lnet/minecraft/world/World;updateEntity(Lnet/minecraft/entity/Entity;Z)V
    • tickVehicle

      public void tickVehicle(Entity vehicle, boolean requireLoaded)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_329 Lnet/minecraft/class_73;method_329(Lnet/minecraft/class_57;Z)V
      glue method_649 Lclass_137;method_649(Lclass_450;Z)V
      server b Ldp;b(Llq;Z)V
      client method_329 Lnet/minecraft/class_73;method_329(Lsn;Z)V
      named tickVehicle Lnet/minecraft/world/ServerWorld;tickVehicle(Lnet/minecraft/entity/Entity;Z)V
    • createChunkCache

      protected ChunkSource createChunkCache()
      Overrides:
      createChunkCache in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_197 Lnet/minecraft/class_18;method_197()Lnet/minecraft/class_51;
      glue method_514 Lclass_129;method_514()Lclass_60;
      server b Ldj;b()Lbl;
      client b Lfd;b()Lcl;
      named createChunkCache Lnet/minecraft/world/World;createChunkCache()Lnet/minecraft/world/chunk/ChunkSource;
    • getBlockEntities

      public List getBlockEntities(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_330 Lnet/minecraft/class_73;method_330(IIIIII)Ljava/util/List;
      glue method_650 Lclass_137;method_650(IIIIII)Ljava/util/List;
      server d Ldp;d(IIIIII)Ljava/util/List;
      client method_330 Lnet/minecraft/class_73;method_330(IIIIII)Ljava/util/List;
      named getBlockEntities Lnet/minecraft/world/ServerWorld;getBlockEntities(IIIIII)Ljava/util/List;
    • canInteract

      public boolean canInteract(PlayerEntity player, int x, int y, int z)
      Overrides:
      canInteract in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_171 Lnet/minecraft/class_18;method_171(Lnet/minecraft/class_54;III)Z
      glue method_488 Lclass_129;method_488(Lclass_172;III)Z
      server a Ldj;a(Lem;III)Z
      client a Lfd;a(Lgs;III)Z
      named canInteract Lnet/minecraft/world/World;canInteract(Lnet/minecraft/entity/player/PlayerEntity;III)Z
    • notifyEntityAdded

      protected void notifyEntityAdded(Entity entity)
      Overrides:
      notifyEntityAdded in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_219 Lnet/minecraft/class_18;method_219(Lnet/minecraft/class_57;)V
      glue method_536 Lclass_129;method_536(Lclass_450;)V
      server c Ldj;c(Llq;)V
      client c Lfd;c(Lsn;)V
      named notifyEntityAdded Lnet/minecraft/world/World;notifyEntityAdded(Lnet/minecraft/entity/Entity;)V
    • notifiyEntityRemoved

      protected void notifiyEntityRemoved(Entity entity)
      Overrides:
      notifiyEntityRemoved in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_226 Lnet/minecraft/class_18;method_226(Lnet/minecraft/class_57;)V
      glue method_543 Lclass_129;method_543(Lclass_450;)V
      server d Ldj;d(Llq;)V
      client d Lfd;d(Lsn;)V
      named notifiyEntityRemoved Lnet/minecraft/world/World;notifiyEntityRemoved(Lnet/minecraft/entity/Entity;)V
    • getEntity

      public Entity getEntity(int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_328 Lnet/minecraft/class_73;method_328(I)Lnet/minecraft/class_57;
      glue method_648 Lclass_137;method_648(I)Lclass_450;
      server a Ldp;a(I)Llq;
      client method_328 Lnet/minecraft/class_73;method_328(I)Lsn;
      named getEntity Lnet/minecraft/world/ServerWorld;getEntity(I)Lnet/minecraft/entity/Entity;
    • spawnGlobalEntity

      public boolean spawnGlobalEntity(Entity entity)
      Overrides:
      spawnGlobalEntity in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_184 Lnet/minecraft/class_18;method_184(Lnet/minecraft/class_57;)Z
      glue method_501 Lclass_129;method_501(Lclass_450;)Z
      server a Ldj;a(Llq;)Z
      client a Lfd;a(Lsn;)Z
      named spawnGlobalEntity Lnet/minecraft/world/World;spawnGlobalEntity(Lnet/minecraft/entity/Entity;)Z
    • broadcastEntityEvent

      public void broadcastEntityEvent(Entity entity, byte event)
      Overrides:
      broadcastEntityEvent in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_185 Lnet/minecraft/class_18;method_185(Lnet/minecraft/class_57;B)V
      glue method_502 Lclass_129;method_502(Lclass_450;B)V
      server a Ldj;a(Llq;B)V
      client a Lfd;a(Lsn;B)V
      named broadcastEntityEvent Lnet/minecraft/world/World;broadcastEntityEvent(Lnet/minecraft/entity/Entity;B)V
    • createExplosion

      public Explosion createExplosion(Entity source, double x, double y, double z, float power, boolean fire)
      Overrides:
      createExplosion in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_188 Lnet/minecraft/class_18;method_188(Lnet/minecraft/class_57;DDDFZ)Lnet/minecraft/class_60;
      glue method_505 Lclass_129;method_505(Lclass_450;DDDFZ)Lclass_394;
      server a Ldj;a(Llq;DDDFZ)Lkh;
      client a Lfd;a(Lsn;DDDFZ)Lqx;
      named createExplosion Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;DDDFZ)Lnet/minecraft/world/explosion/Explosion;
    • playNoteBlockActionAt

      public void playNoteBlockActionAt(int x, int y, int z, int soundType, int pitch)
      Overrides:
      playNoteBlockActionAt in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_224 Lnet/minecraft/class_18;method_224(IIIII)V
      glue method_541 Lclass_129;method_541(IIIII)V
      server d Ldj;d(IIIII)V
      client d Lfd;d(IIIII)V
      named playNoteBlockActionAt Lnet/minecraft/world/World;playNoteBlockActionAt(IIIII)V
    • forceSave

      public void forceSave()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_331 Lnet/minecraft/class_73;method_331()V
      glue method_651 Lclass_137;method_651()V
      server w Ldp;w()V
      client method_331 Lnet/minecraft/class_73;method_331()V
      named forceSave Lnet/minecraft/world/ServerWorld;forceSave()V
    • updateWeatherCycles

      protected void updateWeatherCycles()
      Overrides:
      updateWeatherCycles in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_245 Lnet/minecraft/class_18;method_245()V
      glue method_562 Lclass_129;method_562()V
      server i Ldj;i()V
      client m Lfd;m()V
      named updateWeatherCycles Lnet/minecraft/world/World;updateWeatherCycles()V