Class EmptyChunk

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

@Environment(CLIENT) public class EmptyChunk extends Chunk
Mappings:
Namespace Name
official axt
intermediary net/minecraft/class_1195
named net/minecraft/world/chunk/EmptyChunk
  • Constructor Details

    • EmptyChunk

      public EmptyChunk(World world, int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laxw;<init>(Lamu;II)V
      intermediary <init> Lnet/minecraft/class_1196;<init>(Lnet/minecraft/class_1150;II)V
      named <init> Lnet/minecraft/world/chunk/Chunk;<init>(Lnet/minecraft/world/World;II)V
  • Method Details

    • isChunkEqual

      public boolean isChunkEqual(int chunkX, int chunkZ)
      Overrides:
      isChunkEqual in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(II)Z
      intermediary method_3878 Lnet/minecraft/class_1196;method_3878(II)Z
      named isChunkEqual Lnet/minecraft/world/chunk/Chunk;isChunkEqual(II)Z
    • getHighestBlockY

      public int getHighestBlockY(int x, int z)
      Overrides:
      getHighestBlockY in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official b Laxw;b(II)I
      intermediary method_3898 Lnet/minecraft/class_1196;method_3898(II)I
      named getHighestBlockY Lnet/minecraft/world/chunk/Chunk;getHighestBlockY(II)I
    • method_3877

      public void method_3877()
      Overrides:
      method_3877 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a()V
      intermediary method_3877 Lnet/minecraft/class_1196;method_3877()V
      named method_3877 Lnet/minecraft/world/chunk/Chunk;method_3877()V
    • calculateSkyLight

      public void calculateSkyLight()
      Overrides:
      calculateSkyLight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official b Laxw;b()V
      intermediary method_3897 Lnet/minecraft/class_1196;method_3897()V
      named calculateSkyLight Lnet/minecraft/world/chunk/Chunk;calculateSkyLight()V
    • method_11770

      public BlockState method_11770(BlockPos blockPos)
      Overrides:
      method_11770 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Let;)Lawt;
      intermediary method_11770 Lnet/minecraft/class_1196;method_11770(Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named method_11770 Lnet/minecraft/world/chunk/Chunk;method_11770(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getBlockOpacityAtPos

      public int getBlockOpacityAtPos(BlockPos pos)
      Overrides:
      getBlockOpacityAtPos in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official b Laxw;b(Let;)I
      intermediary method_9144 Lnet/minecraft/class_1196;method_9144(Lnet/minecraft/class_2552;)I
      named getBlockOpacityAtPos Lnet/minecraft/world/chunk/Chunk;getBlockOpacityAtPos(Lnet/minecraft/util/math/BlockPos;)I
    • getLightAtPos

      public int getLightAtPos(LightType type, BlockPos pos)
      Overrides:
      getLightAtPos in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Lana;Let;)I
      intermediary method_9132 Lnet/minecraft/class_1196;method_9132(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;)I
      named getLightAtPos Lnet/minecraft/world/chunk/Chunk;getLightAtPos(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
    • setLightAtPos

      public void setLightAtPos(LightType type, BlockPos pos, int light)
      Overrides:
      setLightAtPos in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Lana;Let;I)V
      intermediary method_3891 Lnet/minecraft/class_1196;method_3891(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;I)V
      named setLightAtPos Lnet/minecraft/world/chunk/Chunk;setLightAtPos(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;I)V
    • getLightLevel

      public int getLightLevel(BlockPos pos, int darkness)
      Overrides:
      getLightLevel in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Let;I)I
      intermediary method_9134 Lnet/minecraft/class_1196;method_9134(Lnet/minecraft/class_2552;I)I
      named getLightLevel Lnet/minecraft/world/chunk/Chunk;getLightLevel(Lnet/minecraft/util/math/BlockPos;I)I
    • addEntity

      public void addEntity(Entity entity)
      Overrides:
      addEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Lvg;)V
      intermediary method_3887 Lnet/minecraft/class_1196;method_3887(Lnet/minecraft/class_864;)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
      official b Laxw;b(Lvg;)V
      intermediary method_3901 Lnet/minecraft/class_1196;method_3901(Lnet/minecraft/class_864;)V
      named removeEntity Lnet/minecraft/world/chunk/Chunk;removeEntity(Lnet/minecraft/entity/Entity;)V
    • removeEntity

      public void removeEntity(Entity entity, int index)
      Overrides:
      removeEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Lvg;I)V
      intermediary method_3888 Lnet/minecraft/class_1196;method_3888(Lnet/minecraft/class_864;I)V
      named removeEntity Lnet/minecraft/world/chunk/Chunk;removeEntity(Lnet/minecraft/entity/Entity;I)V
    • hasDirectSunlight

      public boolean hasDirectSunlight(BlockPos pos)
      Overrides:
      hasDirectSunlight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official c Laxw;c(Let;)Z
      intermediary method_9148 Lnet/minecraft/class_1196;method_9148(Lnet/minecraft/class_2552;)Z
      named hasDirectSunlight Lnet/minecraft/world/chunk/Chunk;hasDirectSunlight(Lnet/minecraft/util/math/BlockPos;)Z
    • getBlockEntity

      @Nullable public BlockEntity getBlockEntity(BlockPos pos, Chunk.Status status)
      Overrides:
      getBlockEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Let;Laxw$a;)Lavj;
      intermediary method_9138 Lnet/minecraft/class_1196;method_9138(Lnet/minecraft/class_2552;Lnet/minecraft/class_1196$class_2251;)Lnet/minecraft/class_226;
      named getBlockEntity Lnet/minecraft/world/chunk/Chunk;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/Chunk$Status;)Lnet/minecraft/block/entity/BlockEntity;
    • addBlockEntity

      public void addBlockEntity(BlockEntity be)
      Overrides:
      addBlockEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Lavj;)V
      intermediary method_3885 Lnet/minecraft/class_1196;method_3885(Lnet/minecraft/class_226;)V
      named addBlockEntity Lnet/minecraft/world/chunk/Chunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
    • method_9136

      public void method_9136(BlockPos pos, BlockEntity be)
      Overrides:
      method_9136 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Let;Lavj;)V
      intermediary method_9136 Lnet/minecraft/class_1196;method_9136(Lnet/minecraft/class_2552;Lnet/minecraft/class_226;)V
      named method_9136 Lnet/minecraft/world/chunk/Chunk;method_9136(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntity;)V
    • method_9150

      public void method_9150(BlockPos pos)
      Overrides:
      method_9150 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official d Laxw;d(Let;)V
      intermediary method_9150 Lnet/minecraft/class_1196;method_9150(Lnet/minecraft/class_2552;)V
      named method_9150 Lnet/minecraft/world/chunk/Chunk;method_9150(Lnet/minecraft/util/math/BlockPos;)V
    • loadToWorld

      public void loadToWorld()
      Overrides:
      loadToWorld in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official c Laxw;c()V
      intermediary method_3902 Lnet/minecraft/class_1196;method_3902()V
      named loadToWorld Lnet/minecraft/world/chunk/Chunk;loadToWorld()V
    • unloadFromWorld

      public void unloadFromWorld()
      Overrides:
      unloadFromWorld in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official d Laxw;d()V
      intermediary method_3906 Lnet/minecraft/class_1196;method_3906()V
      named unloadFromWorld Lnet/minecraft/world/chunk/Chunk;unloadFromWorld()V
    • setModified

      public void setModified()
      Overrides:
      setModified in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official e Laxw;e()V
      intermediary method_3910 Lnet/minecraft/class_1196;method_3910()V
      named setModified Lnet/minecraft/world/chunk/Chunk;setModified()V
    • method_9141

      public void method_9141(@Nullable Entity entity, Box box, List<Entity> list, Predicate<? super Entity> pred)
      Overrides:
      method_9141 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Lvg;Lbhb;Ljava/util/List;Lcom/google/common/base/Predicate;)V
      intermediary method_9141 Lnet/minecraft/class_1196;method_9141(Lnet/minecraft/class_864;Lnet/minecraft/class_231;Ljava/util/List;Lcom/google/common/base/Predicate;)V
      named method_9141 Lnet/minecraft/world/chunk/Chunk;method_9141(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/List;Lcom/google/common/base/Predicate;)V
    • method_9140

      public <T extends Entity> void method_9140(Class<? extends T> clazz, Box box, List<T> list, Predicate<? super T> pred)
      Overrides:
      method_9140 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Ljava/lang/Class;Lbhb;Ljava/util/List;Lcom/google/common/base/Predicate;)V
      intermediary method_9140 Lnet/minecraft/class_1196;method_9140(Ljava/lang/Class;Lnet/minecraft/class_231;Ljava/util/List;Lcom/google/common/base/Predicate;)V
      named method_9140 Lnet/minecraft/world/chunk/Chunk;method_9140(Ljava/lang/Class;Lnet/minecraft/util/math/Box;Ljava/util/List;Lcom/google/common/base/Predicate;)V
    • shouldSave

      public boolean shouldSave(boolean bool)
      Overrides:
      shouldSave in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(Z)Z
      intermediary method_3893 Lnet/minecraft/class_1196;method_3893(Z)Z
      named shouldSave Lnet/minecraft/world/chunk/Chunk;shouldSave(Z)Z
    • getRandom

      public Random getRandom(long seed)
      Overrides:
      getRandom in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Laxw;a(J)Ljava/util/Random;
      intermediary method_3884 Lnet/minecraft/class_1196;method_3884(J)Ljava/util/Random;
      named getRandom Lnet/minecraft/world/chunk/Chunk;getRandom(J)Ljava/util/Random;
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official f Laxw;f()Z
      intermediary method_3914 Lnet/minecraft/class_1196;method_3914()Z
      named isEmpty Lnet/minecraft/world/chunk/Chunk;isEmpty()Z
    • areSectionsEmptyBetween

      public boolean areSectionsEmptyBetween(int startY, int endY)
      Overrides:
      areSectionsEmptyBetween in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official c Laxw;c(II)Z
      intermediary method_3903 Lnet/minecraft/class_1196;method_3903(II)Z
      named areSectionsEmptyBetween Lnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z