Class EmptyChunk

java.lang.Object
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.EmptyChunk
All Implemented Interfaces:
class_3781, BlockView

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

    • field_18876

      private static final Biome[] field_18876
      Mappings:
      Namespace Name Mixin selector
      official d Lbnf;d:[Layu;
      intermediary field_18876 Lnet/minecraft/class_1195;field_18876:[Lnet/minecraft/class_1170;
      named field_18876 Lnet/minecraft/world/chunk/EmptyChunk;field_18876:[Lnet/minecraft/world/biome/Biome;
  • Constructor Details

    • EmptyChunk

      public EmptyChunk(World world, int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbnj;<init>(Laxy;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 Lbnj;a(II)Z
      intermediary method_3878 Lnet/minecraft/class_1196;method_3878(II)Z
      named isChunkEqual Lnet/minecraft/world/chunk/Chunk;isChunkEqual(II)Z
    • method_3877

      public void method_3877()
      Overrides:
      method_3877 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official n Lbnj;n()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 o Lbnj;o()V
      intermediary method_3897 Lnet/minecraft/class_1196;method_3897()V
      named calculateSkyLight Lnet/minecraft/world/chunk/Chunk;calculateSkyLight()V
    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Specified by:
      getBlockState in interface BlockView
      Overrides:
      getBlockState in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a_ Laxk;a_(Lel;)Lblc;
      intermediary method_8580 Lnet/minecraft/class_1158;method_8580(Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • method_9132

      public int method_9132(LightType lightType, BlockPos blockPos, boolean bool)
      Specified by:
      method_9132 in interface class_3781
      Overrides:
      method_9132 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbmx;a(Layi;Lel;Z)I
      intermediary method_9132 Lnet/minecraft/class_3781;method_9132(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;Z)I
      named method_9132 Lnet/minecraft/class_3781;method_9132(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;Z)I
    • method_3891

      public void method_3891(LightType lightType, boolean bool, BlockPos blockPos, int int2)
      Specified by:
      method_3891 in interface class_3781
      Overrides:
      method_3891 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbmx;a(Layi;ZLel;I)V
      intermediary method_3891 Lnet/minecraft/class_3781;method_3891(Lnet/minecraft/class_1161;ZLnet/minecraft/class_2552;I)V
      named method_3891 Lnet/minecraft/class_3781;method_3891(Lnet/minecraft/world/LightType;ZLnet/minecraft/util/math/BlockPos;I)V
    • method_16993

      public int method_16993(BlockPos blockPos, int int2, boolean bool)
      Specified by:
      method_16993 in interface class_3781
      Overrides:
      method_16993 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbmx;a(Lel;IZ)I
      intermediary method_16993 Lnet/minecraft/class_3781;method_16993(Lnet/minecraft/class_2552;IZ)I
      named method_16993 Lnet/minecraft/class_3781;method_16993(Lnet/minecraft/util/math/BlockPos;IZ)I
    • addEntity

      public void addEntity(Entity entity)
      Specified by:
      addEntity in interface class_3781
      Overrides:
      addEntity in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official method_3887 Lbnj;method_3887(Laer;)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 Lbnj;b(Laer;)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 Lbnj;a(Laer;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)
      Specified by:
      hasDirectSunlight in interface class_3781
      Overrides:
      hasDirectSunlight in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official method_9148 Lbnj;method_9148(Lel;)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 Lbnj;a(Lel;Lbnj$a;)Lbji;
      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 Lbnj;a(Lbji;)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)
      Specified by:
      method_9136 in interface class_3781
      Overrides:
      method_9136 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official method_9136 Lbnj;method_9136(Lel;Lbji;)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)
      Specified by:
      method_9150 in interface class_3781
      Overrides:
      method_9150 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official method_9150 Lbnj;method_9150(Lel;)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 p Lbnj;p()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 q Lbnj;q()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 r Lbnj;r()V
      intermediary method_3910 Lnet/minecraft/class_1196;method_3910()V
      named setModified Lnet/minecraft/world/chunk/Chunk;setModified()V
    • method_17070

      public void method_17070(@Nullable Entity entity, Box box, List<Entity> list, Predicate<? super Entity> predicate)
      Overrides:
      method_17070 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbnj;a(Laer;Lcea;Ljava/util/List;Ljava/util/function/Predicate;)V
      intermediary method_17070 Lnet/minecraft/class_1196;method_17070(Lnet/minecraft/class_864;Lnet/minecraft/class_231;Ljava/util/List;Ljava/util/function/Predicate;)V
      named method_17070 Lnet/minecraft/world/chunk/Chunk;method_17070(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/List;Ljava/util/function/Predicate;)V
    • method_17075

      public <T extends Entity> void method_17075(Class<? extends T> class2, Box box, List<T> list, Predicate<? super T> predicate)
      Overrides:
      method_17075 in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official a Lbnj;a(Ljava/lang/Class;Lcea;Ljava/util/List;Ljava/util/function/Predicate;)V
      intermediary method_17075 Lnet/minecraft/class_1196;method_17075(Ljava/lang/Class;Lnet/minecraft/class_231;Ljava/util/List;Ljava/util/function/Predicate;)V
      named method_17075 Lnet/minecraft/world/chunk/Chunk;method_17075(Ljava/lang/Class;Lnet/minecraft/util/math/Box;Ljava/util/List;Ljava/util/function/Predicate;)V
    • shouldSave

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

      public boolean isEmpty()
      Overrides:
      isEmpty in class Chunk
      Mappings:
      Namespace Name Mixin selector
      official s Lbnj;s()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 b Lbnj;b(II)Z
      intermediary method_3903 Lnet/minecraft/class_1196;method_3903(II)Z
      named areSectionsEmptyBetween Lnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z