Class EmptyChunk

java.lang.Object
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.EmptyChunk

public class EmptyChunk extends Chunk
Mappings:
Namespace Name
intermediary net/minecraft/class_255
glue class_276
server hg
client li
named net/minecraft/world/chunk/EmptyChunk
  • Constructor Details

    • EmptyChunk

      public EmptyChunk(World world, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_43;<init>(Lnet/minecraft/class_18;II)V
      glue <init> Lclass_279;<init>(Lclass_129;II)V
      server <init> Lhi;<init>(Ldj;II)V
      client <init> Llm;<init>(Lfd;II)V
      named <init> Lnet/minecraft/world/chunk/Chunk;<init>(Lnet/minecraft/world/World;II)V
    • EmptyChunk

      public EmptyChunk(World world, byte[] blocks, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_43;<init>(Lnet/minecraft/class_18;[BII)V
      glue <init> Lclass_279;<init>(Lclass_129;[BII)V
      server <init> Lhi;<init>(Ldj;[BII)V
      client <init> Llm;<init>(Lfd;[BII)V
      named <init> Lnet/minecraft/world/chunk/Chunk;<init>(Lnet/minecraft/world/World;[BII)V
  • Method Details

    • chunkPosEquals

      public boolean chunkPosEquals(int x, int z)
      Overrides:
      chunkPosEquals in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_858 Lnet/minecraft/class_43;method_858(II)Z
      glue method_1244 Lclass_279;method_1244(II)Z
      server a Lhi;a(II)Z
      client a Llm;a(II)Z
      named chunkPosEquals Lnet/minecraft/world/chunk/Chunk;chunkPosEquals(II)Z
    • getHeight

      public int getHeight(int x, int z)
      Overrides:
      getHeight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_874 Lnet/minecraft/class_43;method_874(II)I
      glue method_1260 Lclass_279;method_1260(II)I
      server b Lhi;b(II)I
      client b Llm;b(II)I
      named getHeight Lnet/minecraft/world/chunk/Chunk;getHeight(II)I
    • method_857

      public void method_857()
      Overrides:
      method_857 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_857 Lnet/minecraft/class_43;method_857()V
      glue method_1243 Lclass_279;method_1243()V
      server a Lhi;a()V
      client a Llm;a()V
      named method_857 Lnet/minecraft/world/chunk/Chunk;method_857()V
    • populateHeightMapOnly

      @Environment(CLIENT) public void populateHeightMapOnly()
      Overrides:
      populateHeightMapOnly in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_892 Lnet/minecraft/class_43;method_892()V
      glue method_1607 Lclass_279;method_1607()V
      server method_892 Lhi;method_892()V
      client b Llm;b()V
      named populateHeightMapOnly Lnet/minecraft/world/chunk/Chunk;populateHeightMapOnly()V
    • populateHeightMap

      public void populateHeightMap()
      Overrides:
      populateHeightMap in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_873 Lnet/minecraft/class_43;method_873()V
      glue method_1259 Lclass_279;method_1259()V
      server b Lhi;b()V
      client c Llm;c()V
      named populateHeightMap Lnet/minecraft/world/chunk/Chunk;populateHeightMap()V
    • populateBlockLight

      public void populateBlockLight()
      Overrides:
      populateBlockLight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_878 Lnet/minecraft/class_43;method_878()V
      glue method_1264 Lclass_279;method_1264()V
      server c Lhi;c()V
      client d Llm;d()V
      named populateBlockLight Lnet/minecraft/world/chunk/Chunk;populateBlockLight()V
    • getBlockId

      public int getBlockId(int x, int y, int z)
      Overrides:
      getBlockId in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_859 Lnet/minecraft/class_43;method_859(III)I
      glue method_1245 Lclass_279;method_1245(III)I
      server a Lhi;a(III)I
      client a Llm;a(III)I
      named getBlockId Lnet/minecraft/world/chunk/Chunk;getBlockId(III)I
    • setBlock

      public boolean setBlock(int x, int y, int z, int rawId, int meta)
      Overrides:
      setBlock in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_861 Lnet/minecraft/class_43;method_861(IIIII)Z
      glue method_1247 Lclass_279;method_1247(IIIII)Z
      server a Lhi;a(IIIII)Z
      client a Llm;a(IIIII)Z
      named setBlock Lnet/minecraft/world/chunk/Chunk;setBlock(IIIII)Z
    • setBlock

      public boolean setBlock(int x, int y, int z, int rawId)
      Overrides:
      setBlock in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_860 Lnet/minecraft/class_43;method_860(IIII)Z
      glue method_1246 Lclass_279;method_1246(IIII)Z
      server a Lhi;a(IIII)Z
      client a Llm;a(IIII)Z
      named setBlock Lnet/minecraft/world/chunk/Chunk;setBlock(IIII)Z
    • getBlockMeta

      public int getBlockMeta(int x, int y, int z)
      Overrides:
      getBlockMeta in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_875 Lnet/minecraft/class_43;method_875(III)I
      glue method_1261 Lclass_279;method_1261(III)I
      server b Lhi;b(III)I
      client b Llm;b(III)I
      named getBlockMeta Lnet/minecraft/world/chunk/Chunk;getBlockMeta(III)I
    • setBlockMeta

      public void setBlockMeta(int x, int y, int z, int meta)
      Overrides:
      setBlockMeta in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_876 Lnet/minecraft/class_43;method_876(IIII)V
      glue method_1262 Lclass_279;method_1262(IIII)V
      server b Lhi;b(IIII)V
      client b Llm;b(IIII)V
      named setBlockMeta Lnet/minecraft/world/chunk/Chunk;setBlockMeta(IIII)V
    • getLight

      public int getLight(LightType lightType, int x, int y, int z)
      Overrides:
      getLight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_864 Lnet/minecraft/class_43;method_864(Lnet/minecraft/class_56;III)I
      glue method_1250 Lclass_279;method_1250(Lclass_97;III)I
      server a Lhi;a(Lco;III)I
      client a Llm;a(Leb;III)I
      named getLight Lnet/minecraft/world/chunk/Chunk;getLight(Lnet/minecraft/world/LightType;III)I
    • setLight

      public void setLight(LightType lightType, int x, int y, int z, int value)
      Overrides:
      setLight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_865 Lnet/minecraft/class_43;method_865(Lnet/minecraft/class_56;IIII)V
      glue method_1251 Lclass_279;method_1251(Lclass_97;IIII)V
      server a Lhi;a(Lco;IIII)V
      client a Llm;a(Leb;IIII)V
      named setLight Lnet/minecraft/world/chunk/Chunk;setLight(Lnet/minecraft/world/LightType;IIII)V
    • getLight

      public int getLight(int x, int y, int z, int ambientDarkness)
      Overrides:
      getLight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_880 Lnet/minecraft/class_43;method_880(IIII)I
      glue method_1266 Lclass_279;method_1266(IIII)I
      server c Lhi;c(IIII)I
      client c Llm;c(IIII)I
      named getLight Lnet/minecraft/world/chunk/Chunk;getLight(IIII)I
    • addEntity

      public void addEntity(Entity entity)
      Overrides:
      addEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_868 Lnet/minecraft/class_43;method_868(Lnet/minecraft/class_57;)V
      glue method_1254 Lclass_279;method_1254(Lclass_450;)V
      server a Lhi;a(Llq;)V
      client a Llm;a(Lsn;)V
      named addEntity Lnet/minecraft/world/chunk/Chunk;addEntity(Lnet/minecraft/entity/Entity;)V
    • removeEntity

      public void removeEntity(Entity entity)
      Overrides:
      removeEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_877 Lnet/minecraft/class_43;method_877(Lnet/minecraft/class_57;)V
      glue method_1263 Lclass_279;method_1263(Lclass_450;)V
      server b Lhi;b(Llq;)V
      client b Llm;b(Lsn;)V
      named removeEntity Lnet/minecraft/world/chunk/Chunk;removeEntity(Lnet/minecraft/entity/Entity;)V
    • removeEntity

      public void removeEntity(Entity entity, int chunkSlice)
      Overrides:
      removeEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_869 Lnet/minecraft/class_43;method_869(Lnet/minecraft/class_57;I)V
      glue method_1255 Lclass_279;method_1255(Lclass_450;I)V
      server a Lhi;a(Llq;I)V
      client a Llm;a(Lsn;I)V
      named removeEntity Lnet/minecraft/world/chunk/Chunk;removeEntity(Lnet/minecraft/entity/Entity;I)V
    • isAboveMaxHeight

      public boolean isAboveMaxHeight(int x, int y, int z)
      Overrides:
      isAboveMaxHeight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_879 Lnet/minecraft/class_43;method_879(III)Z
      glue method_1265 Lclass_279;method_1265(III)Z
      server c Lhi;c(III)Z
      client c Llm;c(III)Z
      named isAboveMaxHeight Lnet/minecraft/world/chunk/Chunk;isAboveMaxHeight(III)Z
    • getBlockEntity

      public BlockEntity getBlockEntity(int x, int y, int z)
      Overrides:
      getBlockEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_882 Lnet/minecraft/class_43;method_882(III)Lnet/minecraft/class_55;
      glue method_1268 Lclass_279;method_1268(III)Lclass_356;
      server d Lhi;d(III)Ljh;
      client d Llm;d(III)Low;
      named getBlockEntity Lnet/minecraft/world/chunk/Chunk;getBlockEntity(III)Lnet/minecraft/block/entity/BlockEntity;
    • addBlockEntity

      public void addBlockEntity(BlockEntity blockEntity)
      Overrides:
      addBlockEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_867 Lnet/minecraft/class_43;method_867(Lnet/minecraft/class_55;)V
      glue method_1253 Lclass_279;method_1253(Lclass_356;)V
      server a Lhi;a(Ljh;)V
      client a Llm;a(Low;)V
      named addBlockEntity Lnet/minecraft/world/chunk/Chunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
    • setBlockEntity

      public void setBlockEntity(int localX, int y, int localZ, BlockEntity blockEntity)
      Overrides:
      setBlockEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_862 Lnet/minecraft/class_43;method_862(IIILnet/minecraft/class_55;)V
      glue method_1248 Lclass_279;method_1248(IIILclass_356;)V
      server a Lhi;a(IIILjh;)V
      client a Llm;a(IIILow;)V
      named setBlockEntity Lnet/minecraft/world/chunk/Chunk;setBlockEntity(IIILnet/minecraft/block/entity/BlockEntity;)V
    • removeBlockEntityAt

      public void removeBlockEntityAt(int localX, int y, int localZ)
      Overrides:
      removeBlockEntityAt in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_884 Lnet/minecraft/class_43;method_884(III)V
      glue method_1270 Lclass_279;method_1270(III)V
      server e Lhi;e(III)V
      client e Llm;e(III)V
      named removeBlockEntityAt Lnet/minecraft/world/chunk/Chunk;removeBlockEntityAt(III)V
    • load

      public void load()
      Overrides:
      load in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_881 Lnet/minecraft/class_43;method_881()V
      glue method_1267 Lclass_279;method_1267()V
      server d Lhi;d()V
      client e Llm;e()V
      named load Lnet/minecraft/world/chunk/Chunk;load()V
    • unload

      public void unload()
      Overrides:
      unload in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_883 Lnet/minecraft/class_43;method_883()V
      glue method_1269 Lclass_279;method_1269()V
      server e Lhi;e()V
      client f Llm;f()V
      named unload Lnet/minecraft/world/chunk/Chunk;unload()V
    • markDirty

      public void markDirty()
      Overrides:
      markDirty in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_885 Lnet/minecraft/class_43;method_885()V
      glue method_1271 Lclass_279;method_1271()V
      server f Lhi;f()V
      client g Llm;g()V
      named markDirty Lnet/minecraft/world/chunk/Chunk;markDirty()V
    • collectOtherEntities

      public void collectOtherEntities(Entity except, Box box, List result)
      Overrides:
      collectOtherEntities in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_870 Lnet/minecraft/class_43;method_870(Lnet/minecraft/class_57;Lnet/minecraft/class_25;Ljava/util/List;)V
      glue method_1256 Lclass_279;method_1256(Lclass_450;Lclass_113;Ljava/util/List;)V
      server a Lhi;a(Llq;Lcz;Ljava/util/List;)V
      client a Llm;a(Lsn;Leq;Ljava/util/List;)V
      named collectOtherEntities Lnet/minecraft/world/chunk/Chunk;collectOtherEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/List;)V
    • collectEntitiesByClass

      public void collectEntitiesByClass(Class entityClass, Box box, List result)
      Overrides:
      collectEntitiesByClass in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_866 Lnet/minecraft/class_43;method_866(Ljava/lang/Class;Lnet/minecraft/class_25;Ljava/util/List;)V
      glue method_1252 Lclass_279;method_1252(Ljava/lang/Class;Lclass_113;Ljava/util/List;)V
      server a Lhi;a(Ljava/lang/Class;Lcz;Ljava/util/List;)V
      client a Llm;a(Ljava/lang/Class;Leq;Ljava/util/List;)V
      named collectEntitiesByClass Lnet/minecraft/world/chunk/Chunk;collectEntitiesByClass(Ljava/lang/Class;Lnet/minecraft/util/math/Box;Ljava/util/List;)V
    • shouldSave

      public boolean shouldSave(boolean saveEntities)
      Overrides:
      shouldSave in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_871 Lnet/minecraft/class_43;method_871(Z)Z
      glue method_1257 Lclass_279;method_1257(Z)Z
      server a Lhi;a(Z)Z
      client a Llm;a(Z)Z
      named shouldSave Lnet/minecraft/world/chunk/Chunk;shouldSave(Z)Z
    • loadFromPacket

      @Environment(CLIENT) public int loadFromPacket(byte[] bytes, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int offset)
      Overrides:
      loadFromPacket in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_891 Lnet/minecraft/class_43;method_891([BIIIIIII)I
      glue method_1606 Lclass_279;method_1606([BIIIIIII)I
      server method_891 Lhi;method_891([BIIIIIII)I
      client a Llm;a([BIIIIIII)I
      named loadFromPacket Lnet/minecraft/world/chunk/Chunk;loadFromPacket([BIIIIIII)I
    • toPacket

      @Environment(SERVER) public int toPacket(byte[] bytes, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int offset)
      Overrides:
      toPacket in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_872 Lnet/minecraft/class_43;method_872([BIIIIIII)I
      glue method_1258 Lclass_279;method_1258([BIIIIIII)I
      server a Lhi;a([BIIIIIII)I
      client method_872 Llm;method_872([BIIIIIII)I
      named toPacket Lnet/minecraft/world/chunk/Chunk;toPacket([BIIIIIII)I
    • getSlimeRandom

      public Random getSlimeRandom(long scrambler)
      Overrides:
      getSlimeRandom in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_863 Lnet/minecraft/class_43;method_863(J)Ljava/util/Random;
      glue method_1249 Lclass_279;method_1249(J)Ljava/util/Random;
      server a Lhi;a(J)Ljava/util/Random;
      client a Llm;a(J)Ljava/util/Random;
      named getSlimeRandom Lnet/minecraft/world/chunk/Chunk;getSlimeRandom(J)Ljava/util/Random;
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class Chunk
      Mappings:
      Namespace Name Mixin selector
      intermediary method_886 Lnet/minecraft/class_43;method_886()Z
      glue method_1272 Lclass_279;method_1272()Z
      server g Lhi;g()Z
      client h Llm;h()Z
      named isEmpty Lnet/minecraft/world/chunk/Chunk;isEmpty()Z