Class EmptyChunk

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

public class EmptyChunk extends Chunk
Mappings:
Namespace Name
official bfg
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> Lbfh;<init>(Laqu;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 Lbfh;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 Lbfh;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

      @Environment(CLIENT) public void method_3877()
      Overrides:
      method_3877 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;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 Lbfh;b()V
      intermediary method_3897 Lnet/minecraft/class_1196;method_3897()V
      named calculateSkyLight Lnet/minecraft/world/chunk/Chunk;calculateSkyLight()V
    • getBlockAtPos

      public Block getBlockAtPos(BlockPos pos)
      Overrides:
      getBlockAtPos in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Ldt;)Latr;
      intermediary method_9133 Lnet/minecraft/class_1196;method_9133(Lnet/minecraft/class_2552;)Lnet/minecraft/class_197;
      named getBlockAtPos Lnet/minecraft/world/chunk/Chunk;getBlockAtPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/Block;
    • getBlockOpacityAtPos

      public int getBlockOpacityAtPos(BlockPos pos)
      Overrides:
      getBlockOpacityAtPos in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official b Lbfh;b(Ldt;)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
    • getBlockData

      public int getBlockData(BlockPos pos)
      Overrides:
      getBlockData in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official c Lbfh;c(Ldt;)I
      intermediary method_9146 Lnet/minecraft/class_1196;method_9146(Lnet/minecraft/class_2552;)I
      named getBlockData Lnet/minecraft/world/chunk/Chunk;getBlockData(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 Lbfh;a(Larf;Ldt;)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 Lbfh;a(Larf;Ldt;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 Lbfh;a(Ldt;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 Lbfh;a(Lwv;)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 Lbfh;b(Lwv;)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 Lbfh;a(Lwv;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 d Lbfh;d(Ldt;)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
    • method_9138

      public BlockEntity method_9138(BlockPos blockPos, class_2251 class_2251)
      Overrides:
      method_9138 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Ldt;Lbfl;)Lbcm;
      intermediary method_9138 Lnet/minecraft/class_1196;method_9138(Lnet/minecraft/class_2552;Lnet/minecraft/class_2251;)Lnet/minecraft/class_226;
      named method_9138 Lnet/minecraft/world/chunk/Chunk;method_9138(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/class_2251;)Lnet/minecraft/block/entity/BlockEntity;
    • addBlockEntity

      public void addBlockEntity(BlockEntity be)
      Overrides:
      addBlockEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Lbcm;)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 Lbfh;a(Ldt;Lbcm;)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 e Lbfh;e(Ldt;)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 Lbfh;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 Lbfh;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 Lbfh;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(Entity entity, Box box, List list, Predicate pred)
      Overrides:
      method_9141 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Lwv;Lbrt;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 void method_9140(Class clazz, Box box, List list, Predicate pred)
      Overrides:
      method_9140 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Ljava/lang/Class;Lbrt;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 Lbfh;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 Lbfh;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 Lbfh;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 Lbfh;c(II)Z
      intermediary method_3903 Lnet/minecraft/class_1196;method_3903(II)Z
      named areSectionsEmptyBetween Lnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z