Class EmptyChunk

All Implemented Interfaces:
BiomeAccess.Storage, BlockView, LightSourceView, HeightLimitView, StructureHolder

public class EmptyChunk extends WorldChunk
Mappings:
Namespace Name
named net/minecraft/world/chunk/EmptyChunk
intermediary net/minecraft/class_2812
official duf
  • Field Details

    • biomeEntry

      private final RegistryEntry<Biome> biomeEntry
      Mappings:
      Namespace Name Mixin selector
      named biomeEntry Lnet/minecraft/world/chunk/EmptyChunk;biomeEntry:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_36407 Lnet/minecraft/class_2812;field_36407:Lnet/minecraft/class_6880;
      official n Lduf;n:Lji;
  • Constructor Details

    • EmptyChunk

      public EmptyChunk(World world, ChunkPos pos, RegistryEntry<Biome> biomeEntry)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/chunk/EmptyChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary <init> Lnet/minecraft/class_2812;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;Lnet/minecraft/class_6880;)V
      official <init> Lduf;<init>(Ldbz;Ldbg;Lji;)V
  • Method Details

    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Returns the block state at pos.
      Specified by:
      getBlockState in interface BlockView
      Overrides:
      getBlockState in class WorldChunk
      Returns:
      the block state at pos
      Implementation Note:
      This returns the block state for Blocks.VOID_AIR if the Y coordinate is outside the height limit.
      Mappings:
      Namespace Name Mixin selector
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      intermediary method_8320 Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      official a_ Ldbf;a_(Liz;)Ldsd;
    • setBlockState

      @Nullable public @Nullable BlockState setBlockState(BlockPos pos, BlockState state, boolean moved)
      Overrides:
      setBlockState in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      named setBlockState Lnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
      intermediary method_12010 Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;
      official a Ldtz;a(Liz;Ldsd;Z)Ldsd;
    • getFluidState

      public FluidState getFluidState(BlockPos pos)
      Returns the fluid state at pos.
      Specified by:
      getFluidState in interface BlockView
      Overrides:
      getFluidState in class WorldChunk
      Returns:
      the fluid state at pos
      Implementation Note:
      This returns the fluid state for Fluids.EMPTY if the Y coordinate is outside the height limit.
      Mappings:
      Namespace Name Mixin selector
      named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
      intermediary method_8316 Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
      official b_ Ldbf;b_(Liz;)Lenw;
    • getLuminance

      public int getLuminance(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getLuminance Lnet/minecraft/world/BlockView;getLuminance(Lnet/minecraft/util/math/BlockPos;)I
      intermediary method_8317 Lnet/minecraft/class_1922;method_8317(Lnet/minecraft/class_2338;)I
      official i Ldbf;i(Liz;)I
    • getBlockEntity

      @Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
      Overrides:
      getBlockEntity in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      named getBlockEntity Lnet/minecraft/world/chunk/WorldChunk;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/WorldChunk$CreationType;)Lnet/minecraft/block/entity/BlockEntity;
      intermediary method_12201 Lnet/minecraft/class_2818;method_12201(Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586;
      official a Lduj;a(Liz;Lduj$b;)Ldpi;
    • addBlockEntity

      public void addBlockEntity(BlockEntity blockEntity)
      Overrides:
      addBlockEntity in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      named addBlockEntity Lnet/minecraft/world/chunk/WorldChunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
      intermediary method_12216 Lnet/minecraft/class_2818;method_12216(Lnet/minecraft/class_2586;)V
      official b Lduj;b(Ldpi;)V
    • setBlockEntity

      public void setBlockEntity(BlockEntity blockEntity)
      Overrides:
      setBlockEntity in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      named setBlockEntity Lnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
      intermediary method_12007 Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)V
      official a Ldtz;a(Ldpi;)V
    • removeBlockEntity

      public void removeBlockEntity(BlockPos pos)
      Overrides:
      removeBlockEntity in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      named removeBlockEntity Lnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_12041 Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)V
      official d Ldtz;d(Liz;)V
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/world/chunk/WorldChunk;isEmpty()Z
      intermediary method_12223 Lnet/minecraft/class_2818;method_12223()Z
      official C Lduj;C()Z
    • areSectionsEmptyBetween

      public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight)
      Overrides:
      areSectionsEmptyBetween in class Chunk
      Mappings:
      Namespace Name Mixin selector
      named areSectionsEmptyBetween Lnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
      intermediary method_12228 Lnet/minecraft/class_2791;method_12228(II)Z
      official a Ldtz;a(II)Z
    • getLevelType

      public ChunkLevelType getLevelType()
      Overrides:
      getLevelType in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      named getLevelType Lnet/minecraft/world/chunk/WorldChunk;getLevelType()Lnet/minecraft/server/world/ChunkLevelType;
      intermediary method_12225 Lnet/minecraft/class_2818;method_12225()Lnet/minecraft/class_3194;
      official D Lduj;D()Laqy;
    • getBiomeForNoiseGen

      public RegistryEntry<Biome> getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
      Specified by:
      getBiomeForNoiseGen in interface BiomeAccess.Storage
      Overrides:
      getBiomeForNoiseGen in class Chunk
      Mappings:
      Namespace Name Mixin selector
      named getBiomeForNoiseGen Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_16359 Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;
      official getNoiseBiome Ldda$a;getNoiseBiome(III)Lji;