Class ClientWorld

java.lang.Object
net.minecraft.world.World
net.minecraft.world.ClientWorld
All Implemented Interfaces:
BlockView

@Environment(CLIENT) public class ClientWorld extends World
Mappings:
Namespace Name
intermediary net/minecraft/class_454
glue class_487
server net/minecraft/class_454
client mm
named net/minecraft/world/ClientWorld
  • Field Details

    • blockResets

      private LinkedList blockResets
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1722 Lnet/minecraft/class_454;field_1722:Ljava/util/LinkedList;
      glue field_1878 Lclass_487;field_1878:Ljava/util/LinkedList;
      server field_1722 Lnet/minecraft/class_454;field_1722:Ljava/util/LinkedList;
      client C Lmm;C:Ljava/util/LinkedList;
      named blockResets Lnet/minecraft/world/ClientWorld;blockResets:Ljava/util/LinkedList;
    • networkHandler

      private ClientNetworkHandler networkHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1723 Lnet/minecraft/class_454;field_1723:Lnet/minecraft/class_219;
      glue field_1879 Lclass_487;field_1879:Lclass_510;
      server field_1723 Lnet/minecraft/class_454;field_1723:Lnet/minecraft/class_219;
      client D Lmm;D:Lnb;
      named networkHandler Lnet/minecraft/world/ClientWorld;networkHandler:Lnet/minecraft/client/network/ClientNetworkHandler;
    • chunkCache

      private MultiplayerChunkCache chunkCache
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1724 Lnet/minecraft/class_454;field_1724:Lnet/minecraft/class_455;
      glue field_1880 Lclass_487;field_1880:Lclass_676;
      server field_1724 Lnet/minecraft/class_454;field_1724:Lnet/minecraft/class_455;
      client E Lmm;E:Luv;
      named chunkCache Lnet/minecraft/world/ClientWorld;chunkCache:Lnet/minecraft/client/world/chunk/MultiplayerChunkCache;
    • entitiesByNetworkId

      private IntHashMap entitiesByNetworkId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1725 Lnet/minecraft/class_454;field_1725:Lnet/minecraft/class_80;
      glue field_1881 Lclass_487;field_1881:Lclass_250;
      server field_1725 Lnet/minecraft/class_454;field_1725:Lgo;
      client F Lmm;F:Ljx;
      named entitiesByNetworkId Lnet/minecraft/world/ClientWorld;entitiesByNetworkId:Lnet/minecraft/util/IntHashMap;
    • forcedEntities

      private Set forcedEntities
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1726 Lnet/minecraft/class_454;field_1726:Ljava/util/Set;
      glue field_1882 Lclass_487;field_1882:Ljava/util/Set;
      server field_1726 Lnet/minecraft/class_454;field_1726:Ljava/util/Set;
      client G Lmm;G:Ljava/util/Set;
      named forcedEntities Lnet/minecraft/world/ClientWorld;forcedEntities:Ljava/util/Set;
    • pendingEntities

      private Set pendingEntities
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1727 Lnet/minecraft/class_454;field_1727:Ljava/util/Set;
      glue field_1883 Lclass_487;field_1883:Ljava/util/Set;
      server field_1727 Lnet/minecraft/class_454;field_1727:Ljava/util/Set;
      client H Lmm;H:Ljava/util/Set;
      named pendingEntities Lnet/minecraft/world/ClientWorld;pendingEntities:Ljava/util/Set;
  • Constructor Details

    • ClientWorld

      public ClientWorld(ClientNetworkHandler networkHandler, long seed, int dimensionId)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_454;<init>(Lnet/minecraft/class_219;JI)V
      glue <init> Lclass_487;<init>(Lclass_510;JI)V
      server <init> Lnet/minecraft/class_454;<init>(Lnet/minecraft/class_219;JI)V
      client <init> Lmm;<init>(Lnb;JI)V
      named <init> Lnet/minecraft/world/ClientWorld;<init>(Lnet/minecraft/client/network/ClientNetworkHandler;JI)V
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_242 Lnet/minecraft/class_18;method_242()V
      glue method_559 Lclass_129;method_559()V
      server h Ldj;h()V
      client l Lfd;l()V
      named tick Lnet/minecraft/world/World;tick()V
    • clearBlockResets

      public void clearBlockResets(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1498 Lnet/minecraft/class_454;method_1498(IIIIII)V
      glue method_1757 Lclass_487;method_1757(IIIIII)V
      server method_1498 Lnet/minecraft/class_454;method_1498(IIIIII)V
      client c Lmm;c(IIIIII)V
      named clearBlockResets Lnet/minecraft/world/ClientWorld;clearBlockResets(IIIIII)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;
    • updateSpawnPosition

      public void updateSpawnPosition()
      Overrides:
      updateSpawnPosition in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_283 Lnet/minecraft/class_18;method_283()V
      glue method_960 Lclass_129;method_960()V
      server method_283 Ldj;method_283()V
      client d Lfd;d()V
      named updateSpawnPosition Lnet/minecraft/world/World;updateSpawnPosition()V
    • manageChunkUpdatesAndEvents

      protected void manageChunkUpdatesAndEvents()
      Overrides:
      manageChunkUpdatesAndEvents in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_248 Lnet/minecraft/class_18;method_248()V
      glue method_565 Lclass_129;method_565()V
      server j Ldj;j()V
      client n Lfd;n()V
      named manageChunkUpdatesAndEvents Lnet/minecraft/world/World;manageChunkUpdatesAndEvents()V
    • scheduleBlockUpdate

      public void scheduleBlockUpdate(int x, int y, int z, int id, int tickRate)
      Overrides:
      scheduleBlockUpdate in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_216 Lnet/minecraft/class_18;method_216(IIIII)V
      glue method_533 Lclass_129;method_533(IIIII)V
      server c Ldj;c(IIIII)V
      client c Lfd;c(IIIII)V
      named scheduleBlockUpdate Lnet/minecraft/world/World;scheduleBlockUpdate(IIIII)V
    • processScheduledTicks

      public boolean processScheduledTicks(boolean flush)
      Overrides:
      processScheduledTicks in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_194 Lnet/minecraft/class_18;method_194(Z)Z
      glue method_511 Lclass_129;method_511(Z)Z
      server a Ldj;a(Z)Z
      client a Lfd;a(Z)Z
      named processScheduledTicks Lnet/minecraft/world/World;processScheduledTicks(Z)Z
    • updateChunk

      public void updateChunk(int chunkX, int chunkZ, boolean load)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1494 Lnet/minecraft/class_454;method_1494(IIZ)V
      glue method_1753 Lclass_487;method_1753(IIZ)V
      server method_1494 Lnet/minecraft/class_454;method_1494(IIZ)V
      client a Lmm;a(IIZ)V
      named updateChunk Lnet/minecraft/world/ClientWorld;updateChunk(IIZ)V
    • spawnEntity

      public boolean spawnEntity(Entity entity)
      Overrides:
      spawnEntity in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_210 Lnet/minecraft/class_18;method_210(Lnet/minecraft/class_57;)Z
      glue method_527 Lclass_129;method_527(Lclass_450;)Z
      server b Ldj;b(Llq;)Z
      client b Lfd;b(Lsn;)Z
      named spawnEntity Lnet/minecraft/world/World;spawnEntity(Lnet/minecraft/entity/Entity;)Z
    • remove

      public void remove(Entity entity)
      Overrides:
      remove in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_231 Lnet/minecraft/class_18;method_231(Lnet/minecraft/class_57;)V
      glue method_548 Lclass_129;method_548(Lclass_450;)V
      server e Ldj;e(Llq;)V
      client e Lfd;e(Lsn;)V
      named remove Lnet/minecraft/world/World;remove(Lnet/minecraft/entity/Entity;)V
    • 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
    • notifyEntityRemoved

      protected void notifyEntityRemoved(Entity entity)
      Overrides:
      notifyEntityRemoved 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 notifyEntityRemoved Lnet/minecraft/world/World;notifyEntityRemoved(Lnet/minecraft/entity/Entity;)V
    • forceEntity

      public void forceEntity(int id, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1495 Lnet/minecraft/class_454;method_1495(ILnet/minecraft/class_57;)V
      glue method_1754 Lclass_487;method_1754(ILclass_450;)V
      server method_1495 Lnet/minecraft/class_454;method_1495(ILlq;)V
      client a Lmm;a(ILsn;)V
      named forceEntity Lnet/minecraft/world/ClientWorld;forceEntity(ILnet/minecraft/entity/Entity;)V
    • getEntity

      public Entity getEntity(int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1496 Lnet/minecraft/class_454;method_1496(I)Lnet/minecraft/class_57;
      glue method_1755 Lclass_487;method_1755(I)Lclass_450;
      server method_1496 Lnet/minecraft/class_454;method_1496(I)Llq;
      client b Lmm;b(I)Lsn;
      named getEntity Lnet/minecraft/world/ClientWorld;getEntity(I)Lnet/minecraft/entity/Entity;
    • removeEntity

      public Entity removeEntity(int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1497 Lnet/minecraft/class_454;method_1497(I)Lnet/minecraft/class_57;
      glue method_1756 Lclass_487;method_1756(I)Lclass_450;
      server method_1497 Lnet/minecraft/class_454;method_1497(I)Llq;
      client c Lmm;c(I)Lsn;
      named removeEntity Lnet/minecraft/world/ClientWorld;removeEntity(I)Lnet/minecraft/entity/Entity;
    • setBlockMetaWithoutNotifyingNeighbors

      public boolean setBlockMetaWithoutNotifyingNeighbors(int x, int y, int z, int meta)
      Overrides:
      setBlockMetaWithoutNotifyingNeighbors in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_223 Lnet/minecraft/class_18;method_223(IIII)Z
      glue method_540 Lclass_129;method_540(IIII)Z
      server d Ldj;d(IIII)Z
      client e Lfd;e(IIII)Z
      named setBlockMetaWithoutNotifyingNeighbors Lnet/minecraft/world/World;setBlockMetaWithoutNotifyingNeighbors(IIII)Z
    • setBlockWithoutNotifyingNeighbors

      public boolean setBlockWithoutNotifyingNeighbors(int x, int y, int z, int blockId, int meta)
      Overrides:
      setBlockWithoutNotifyingNeighbors in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_154 Lnet/minecraft/class_18;method_154(IIIII)Z
      glue method_471 Lclass_129;method_471(IIIII)Z
      server a Ldj;a(IIIII)Z
      client a Lfd;a(IIIII)Z
      named setBlockWithoutNotifyingNeighbors Lnet/minecraft/world/World;setBlockWithoutNotifyingNeighbors(IIIII)Z
    • setBlockWithoutNotifyingNeighbors

      public boolean setBlockWithoutNotifyingNeighbors(int x, int y, int z, int blockId)
      Overrides:
      setBlockWithoutNotifyingNeighbors in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_200 Lnet/minecraft/class_18;method_200(IIII)Z
      glue method_517 Lclass_129;method_517(IIII)Z
      server b Ldj;b(IIII)Z
      client c Lfd;c(IIII)Z
      named setBlockWithoutNotifyingNeighbors Lnet/minecraft/world/World;setBlockWithoutNotifyingNeighbors(IIII)Z
    • setBlockWithMetaFromPacket

      public boolean setBlockWithMetaFromPacket(int x, int y, int z, int blockId, int meta)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1499 Lnet/minecraft/class_454;method_1499(IIIII)Z
      glue method_1758 Lclass_487;method_1758(IIIII)Z
      server method_1499 Lnet/minecraft/class_454;method_1499(IIIII)Z
      client f Lmm;f(IIIII)Z
      named setBlockWithMetaFromPacket Lnet/minecraft/world/ClientWorld;setBlockWithMetaFromPacket(IIIII)Z
    • disconnect

      public void disconnect()
      Overrides:
      disconnect in class World
      Mappings:
      Namespace Name Mixin selector
      intermediary method_293 Lnet/minecraft/class_18;method_293()V
      glue method_970 Lclass_129;method_970()V
      server method_293 Ldj;method_293()V
      client q Lfd;q()V
      named disconnect Lnet/minecraft/world/World;disconnect()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