Class EmptyChunk

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

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

    • biomeEntry

      private final RegistryEntry<Biome> biomeEntry
      Mappings:
      Namespace Name Mixin selector
      official l Lcxp;l:Lhc;
      intermediary field_36407 Lnet/minecraft/class_2812;field_36407:Lnet/minecraft/class_6880;
      named biomeEntry Lnet/minecraft/world/chunk/EmptyChunk;biomeEntry:Lnet/minecraft/util/registry/RegistryEntry;
  • Constructor Details

    • EmptyChunk

      public EmptyChunk(World world, ChunkPos pos, RegistryEntry<Biome> biomeEntry)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxp;<init>(Lcgx;Lcge;Lhc;)V
      intermediary <init> Lnet/minecraft/class_2812;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;Lnet/minecraft/class_6880;)V
      named <init> Lnet/minecraft/world/chunk/EmptyChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/registry/RegistryEntry;)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
      Mappings:
      Namespace Name Mixin selector
      official a_ Lcgd;a_(Lgt;)Lcvo;
      intermediary method_8320 Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • setBlockState

      @Nullable public @Nullable BlockState setBlockState(BlockPos pos, BlockState state, boolean moved)
      Overrides:
      setBlockState in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      official a Lcxj;a(Lgt;Lcvo;Z)Lcvo;
      intermediary method_12010 Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;
      named setBlockState Lnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
    • 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
      Mappings:
      Namespace Name Mixin selector
      official b_ Lcgd;b_(Lgt;)Ldpv;
      intermediary method_8316 Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
      named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
    • getLuminance

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

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

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

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

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

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

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

      public ChunkHolder.LevelType getLevelType()
      Overrides:
      getLevelType in class WorldChunk
      Mappings:
      Namespace Name Mixin selector
      official B Lcxt;B()Lafs$c;
      intermediary method_12225 Lnet/minecraft/class_2818;method_12225()Lnet/minecraft/class_3193$class_3194;
      named getLevelType Lnet/minecraft/world/chunk/WorldChunk;getLevelType()Lnet/minecraft/server/world/ChunkHolder$LevelType;
    • 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
      official getNoiseBiome Lchv$a;getNoiseBiome(III)Lhc;
      intermediary method_16359 Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;
      named getBiomeForNoiseGen Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/util/registry/RegistryEntry;