Class ClientWorld

java.lang.Object
net.minecraft.world.World
net.minecraft.client.world.ClientWorld
All Implemented Interfaces:
AutoCloseable, class_3593, class_3600, class_3601, class_3602, BlockView, IWorld, RenderBlockView

@Environment(CLIENT) public class ClientWorld extends World
Mappings:
Namespace Name
official crg
intermediary net/minecraft/class_478
named net/minecraft/client/world/ClientWorld
  • Field Details

    • clientNetHandler

      private final ClientPlayNetworkHandler clientNetHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lcrg;b:Lcrd;
      intermediary field_1661 Lnet/minecraft/class_478;field_1661:Lnet/minecraft/class_1845;
      named clientNetHandler Lnet/minecraft/client/world/ClientWorld;clientNetHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
    • clientChunkCache

      private ClientChunkProvider clientChunkCache
      Mappings:
      Namespace Name Mixin selector
      official c Lcrg;c:Lcrb;
      intermediary field_1662 Lnet/minecraft/class_478;field_1662:Lnet/minecraft/class_476;
      named clientChunkCache Lnet/minecraft/client/world/ClientWorld;clientChunkCache:Lnet/minecraft/world/chunk/ClientChunkProvider;
    • world

      private final Set<Entity> world
      Mappings:
      Namespace Name Mixin selector
      official d Lcrg;d:Ljava/util/Set;
      intermediary field_1664 Lnet/minecraft/class_478;field_1664:Ljava/util/Set;
      named world Lnet/minecraft/client/world/ClientWorld;world:Ljava/util/Set;
    • field_1658

      private final Set<Entity> field_1658
      Mappings:
      Namespace Name Mixin selector
      official F Lcrg;F:Ljava/util/Set;
      intermediary field_1658 Lnet/minecraft/class_478;field_1658:Ljava/util/Set;
      named field_1658 Lnet/minecraft/client/world/ClientWorld;field_1658:Ljava/util/Set;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official G Lcrg;G:Lcft;
      intermediary field_1659 Lnet/minecraft/class_478;field_1659:Lnet/minecraft/class_1600;
      named client Lnet/minecraft/client/world/ClientWorld;client:Lnet/minecraft/client/MinecraftClient;
    • field_1660

      private final Set<ChunkPos> field_1660
      Mappings:
      Namespace Name Mixin selector
      official H Lcrg;H:Ljava/util/Set;
      intermediary field_1660 Lnet/minecraft/class_478;field_1660:Ljava/util/Set;
      named field_1660 Lnet/minecraft/client/world/ClientWorld;field_1660:Ljava/util/Set;
    • field_13407

      private int field_13407
      Mappings:
      Namespace Name Mixin selector
      official I Lcrg;I:I
      intermediary field_13407 Lnet/minecraft/class_478;field_13407:I
      named field_13407 Lnet/minecraft/client/world/ClientWorld;field_13407:I
    • field_13408

      protected Set<ChunkPos> field_13408
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a:Ljava/util/Set;
      intermediary field_13408 Lnet/minecraft/class_478;field_13408:Ljava/util/Set;
      named field_13408 Lnet/minecraft/client/world/ClientWorld;field_13408:Ljava/util/Set;
    • field_20626

      private Scoreboard field_20626
      Mappings:
      Namespace Name Mixin selector
      official J Lcrg;J:Lcfc;
      intermediary field_20626 Lnet/minecraft/class_478;field_20626:Lnet/minecraft/class_1471;
      named field_20626 Lnet/minecraft/client/world/ClientWorld;field_20626:Lnet/minecraft/scoreboard/Scoreboard;
  • Constructor Details

  • Method Details

    • method_16327

      public void method_16327(BooleanSupplier booleanSupplier)
      Overrides:
      method_16327 in class World
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(Ljava/util/function/BooleanSupplier;)V
      intermediary method_16327 Lnet/minecraft/class_1150;method_16327(Ljava/util/function/BooleanSupplier;)V
      named method_16327 Lnet/minecraft/world/World;method_16327(Ljava/util/function/BooleanSupplier;)V
    • getChunkCache

      protected ChunkProvider getChunkCache()
      Specified by:
      getChunkCache in class World
      Mappings:
      Namespace Name Mixin selector
      official r Laxy;r()Lbnc;
      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_8487

      public boolean method_8487(int int2, int int3, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Layc;a(IIZ)Z
      intermediary method_8487 Lnet/minecraft/class_3599;method_8487(IIZ)Z
      named method_8487 Lnet/minecraft/world/RenderBlockView;method_8487(IIZ)Z
    • method_12237

      protected void method_12237()
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a()V
      intermediary method_12237 Lnet/minecraft/class_478;method_12237()V
      named method_12237 Lnet/minecraft/client/world/ClientWorld;method_12237()V
    • tickBlocks

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

      public boolean spawnEntity(Entity entity)
      Specified by:
      spawnEntity in interface class_3602
      Overrides:
      spawnEntity in class World
      Mappings:
      Namespace Name Mixin selector
      official method_3686 Laxy;method_3686(Laer;)Z
      intermediary method_3686 Lnet/minecraft/class_1150;method_3686(Lnet/minecraft/class_864;)Z
      named spawnEntity Lnet/minecraft/world/World;spawnEntity(Lnet/minecraft/entity/Entity;)Z
    • removeEntity

      public void removeEntity(Entity entity)
      Overrides:
      removeEntity in class World
      Mappings:
      Namespace Name Mixin selector
      official e Laxy;e(Laer;)V
      intermediary method_3693 Lnet/minecraft/class_1150;method_3693(Lnet/minecraft/class_864;)V
      named removeEntity Lnet/minecraft/world/World;removeEntity(Lnet/minecraft/entity/Entity;)V
    • onEntitySpawned

      protected void onEntitySpawned(Entity entity)
      Overrides:
      onEntitySpawned in class World
      Mappings:
      Namespace Name Mixin selector
      official b Laxy;b(Laer;)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 c Laxy;c(Laer;)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
    • addEntity

      public void addEntity(int id, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a(ILaer;)V
      intermediary method_6843 Lnet/minecraft/class_478;method_6843(ILnet/minecraft/class_864;)V
      named addEntity Lnet/minecraft/client/world/ClientWorld;addEntity(ILnet/minecraft/entity/Entity;)V
    • getEntityById

      @Nullable public Entity getEntityById(int id)
      Overrides:
      getEntityById in class World
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(I)Laer;
      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;
    • removeEntity

      public Entity removeEntity(int int2)
      Mappings:
      Namespace Name Mixin selector
      official e Lcrg;e(I)Laer;
      intermediary method_1255 Lnet/minecraft/class_478;method_1255(I)Lnet/minecraft/class_864;
      named removeEntity Lnet/minecraft/client/world/ClientWorld;removeEntity(I)Lnet/minecraft/entity/Entity;
    • method_18973

      public void method_18973(BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official b Lcrg;b(Lel;Lblc;)V
      intermediary method_18973 Lnet/minecraft/class_478;method_18973(Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named method_18973 Lnet/minecraft/client/world/ClientWorld;method_18973(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • disconnect

      public void disconnect()
      Overrides:
      disconnect in class World
      Mappings:
      Namespace Name Mixin selector
      official T Laxy;T()V
      intermediary method_3577 Lnet/minecraft/class_1150;method_3577()V
      named disconnect Lnet/minecraft/world/World;disconnect()V
    • tickWeather

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

      protected void method_3605(int int2, int int3, Chunk chunk)
      Overrides:
      method_3605 in class World
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(IILbnj;)V
      intermediary method_3605 Lnet/minecraft/class_1150;method_3605(IILnet/minecraft/class_1196;)V
      named method_3605 Lnet/minecraft/world/World;method_3605(IILnet/minecraft/world/chunk/Chunk;)V
    • method_1248

      public void method_1248(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a(III)V
      intermediary method_1248 Lnet/minecraft/class_478;method_1248(III)V
      named method_1248 Lnet/minecraft/client/world/ClientWorld;method_1248(III)V
    • method_12238

      public void method_12238(int int2, int int3, int int4, int int5, Random random, boolean bool, BlockPos.Mutable mutable)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a(IIIILjava/util/Random;ZLel$a;)V
      intermediary method_12238 Lnet/minecraft/class_478;method_12238(IIIILjava/util/Random;ZLnet/minecraft/class_2552$class_2553;)V
      named method_12238 Lnet/minecraft/client/world/ClientWorld;method_12238(IIIILjava/util/Random;ZLnet/minecraft/util/math/BlockPos$Mutable;)V
    • method_18971

      private void method_18971(BlockPos blockPos, BlockState blockState, ParticleEffect particleEffect, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a(Lel;Lblc;Lfk;Z)V
      intermediary method_18971 Lnet/minecraft/class_478;method_18971(Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_4340;Z)V
      named method_18971 Lnet/minecraft/client/world/ClientWorld;method_18971(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/particle/ParticleEffect;Z)V
    • method_18972

      private void method_18972(BlockPos blockPos, ParticleEffect particleEffect, VoxelShape voxelShape, double double2)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a(Lel;Lfk;Lcew;D)V
      intermediary method_18972 Lnet/minecraft/class_478;method_18972(Lnet/minecraft/class_2552;Lnet/minecraft/class_4340;Lnet/minecraft/class_4100;D)V
      named method_18972 Lnet/minecraft/client/world/ClientWorld;method_18972(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/shapes/VoxelShape;D)V
    • method_18970

      private void method_18970(double double2, double double3, double double4, double double5, double double6, ParticleEffect particleEffect)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a(DDDDDLfk;)V
      intermediary method_18970 Lnet/minecraft/class_478;method_18970(DDDDDLnet/minecraft/class_4340;)V
      named method_18970 Lnet/minecraft/client/world/ClientWorld;method_18970(DDDDDLnet/minecraft/particle/ParticleEffect;)V
    • method_1249

      public void method_1249()
      Mappings:
      Namespace Name Mixin selector
      official b Lcrg;b()V
      intermediary method_1249 Lnet/minecraft/class_478;method_1249()V
      named method_1249 Lnet/minecraft/client/world/ClientWorld;method_1249()V
    • addToCrashReport

      public CrashReportSection addToCrashReport(CrashReport report)
      Overrides:
      addToCrashReport in class World
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(Lb;)Lc;
      intermediary method_4684 Lnet/minecraft/class_1150;method_4684(Lnet/minecraft/class_1;)Lnet/minecraft/class_1392;
      named addToCrashReport Lnet/minecraft/world/World;addToCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReportSection;
    • playSound

      public void playSound(@Nullable PlayerEntity playerEntity, double double2, double double3, double double4, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3)
      Overrides:
      playSound in class World
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(Laog;DDDLwi;Lwk;FF)V
      intermediary method_11485 Lnet/minecraft/class_1150;method_11485(Lnet/minecraft/class_988;DDDLnet/minecraft/class_2926;Lnet/minecraft/class_2153;FF)V
      named playSound Lnet/minecraft/world/World;playSound(Lnet/minecraft/entity/player/PlayerEntity;DDDLnet/minecraft/client/sound/SoundEvent;Lnet/minecraft/client/sound/SoundCategory;FF)V
    • method_9669

      public void method_9669(BlockPos blockPos, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a(Lel;Lwi;Lwk;FFZ)V
      intermediary method_9669 Lnet/minecraft/class_478;method_9669(Lnet/minecraft/class_2552;Lnet/minecraft/class_2926;Lnet/minecraft/class_2153;FFZ)V
      named method_9669 Lnet/minecraft/client/world/ClientWorld;method_9669(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/client/sound/SoundEvent;Lnet/minecraft/client/sound/SoundCategory;FFZ)V
    • playSound

      public void playSound(double double2, double double3, double double4, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool)
      Overrides:
      playSound in class World
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(DDDLwi;Lwk;FFZ)V
      intermediary method_3648 Lnet/minecraft/class_1150;method_3648(DDDLnet/minecraft/class_2926;Lnet/minecraft/class_2153;FFZ)V
      named playSound Lnet/minecraft/world/World;playSound(DDDLnet/minecraft/client/sound/SoundEvent;Lnet/minecraft/client/sound/SoundCategory;FFZ)V
    • addFireworkParticle

      public void addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable NbtCompound nbt)
      Overrides:
      addFireworkParticle in class World
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(DDDDDDLgy;)V
      intermediary method_4681 Lnet/minecraft/class_1150;method_4681(DDDDDDLnet/minecraft/class_322;)V
      named addFireworkParticle Lnet/minecraft/world/World;addFireworkParticle(DDDDDDLnet/minecraft/nbt/NbtCompound;)V
    • method_11483

      public void method_11483(Packet<?> packet)
      Overrides:
      method_11483 in class World
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(Liv;)V
      intermediary method_11483 Lnet/minecraft/class_1150;method_11483(Lnet/minecraft/class_700;)V
      named method_11483 Lnet/minecraft/world/World;method_11483(Lnet/minecraft/network/Packet;)V
    • method_16313

      public RecipeDispatcher method_16313()
      Specified by:
      method_16313 in class World
      Mappings:
      Namespace Name Mixin selector
      official E Laxy;E()Lavl;
      intermediary method_16313 Lnet/minecraft/class_1150;method_16313()Lnet/minecraft/class_1112;
      named method_16313 Lnet/minecraft/world/World;method_16313()Lnet/minecraft/recipe/RecipeDispatcher;
    • setScoreboard

      public void setScoreboard(Scoreboard sb)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrg;a(Lcfc;)V
      intermediary method_5131 Lnet/minecraft/class_478;method_5131(Lnet/minecraft/class_1471;)V
      named setScoreboard Lnet/minecraft/client/world/ClientWorld;setScoreboard(Lnet/minecraft/scoreboard/Scoreboard;)V
    • setTimeOfDay

      public void setTimeOfDay(long time)
      Overrides:
      setTimeOfDay in class World
      Mappings:
      Namespace Name Mixin selector
      official b Laxy;b(J)V
      intermediary method_3657 Lnet/minecraft/class_1150;method_3657(J)V
      named setTimeOfDay Lnet/minecraft/world/World;setTimeOfDay(J)V
    • getBlockTickScheduler

      public class_3604<Block> getBlockTickScheduler()
      Mappings:
      Namespace Name Mixin selector
      official J Laxz;J()Layo;
      intermediary method_16341 Lnet/minecraft/class_3598;method_16341()Lnet/minecraft/class_3604;
      named getBlockTickScheduler Lnet/minecraft/world/IWorld;getBlockTickScheduler()Lnet/minecraft/class_3604;
    • method_16340

      public class_3604<Fluid> method_16340()
      Mappings:
      Namespace Name Mixin selector
      official I Laxz;I()Layo;
      intermediary method_16340 Lnet/minecraft/class_3598;method_16340()Lnet/minecraft/class_3604;
      named method_16340 Lnet/minecraft/world/IWorld;method_16340()Lnet/minecraft/class_3604;
    • method_3586

      public ClientChunkProvider method_3586()
      Mappings:
      Namespace Name Mixin selector
      official i Lcrg;i()Lcrb;
      intermediary method_12239 Lnet/minecraft/class_478;method_12239()Lnet/minecraft/class_476;
      named method_3586 Lnet/minecraft/client/world/ClientWorld;method_3586()Lnet/minecraft/world/chunk/ClientChunkProvider;
    • getScoreboard

      public Scoreboard getScoreboard()
      Specified by:
      getScoreboard in class World
      Mappings:
      Namespace Name Mixin selector
      official G Laxy;G()Lcfc;
      intermediary method_4711 Lnet/minecraft/class_1150;method_4711()Lnet/minecraft/class_1471;
      named getScoreboard Lnet/minecraft/world/World;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
    • method_16314

      public class_4488 method_16314()
      Specified by:
      method_16314 in class World
      Mappings:
      Namespace Name Mixin selector
      official F Laxy;F()Lxb;
      intermediary method_16314 Lnet/minecraft/class_1150;method_16314()Lnet/minecraft/class_4488;
      named method_16314 Lnet/minecraft/world/World;method_16314()Lnet/minecraft/class_4488;