Class ChunkCache

java.lang.Object
net.minecraft.world.chunk.ChunkCache
All Implemented Interfaces:
BlockView

public class ChunkCache extends Object implements BlockView
Mappings:
Namespace Name
official agc
intermediary net/minecraft/class_1164
named net/minecraft/world/chunk/ChunkCache
  • Field Details

    • minX

      private int minX
      Mappings:
      Namespace Name Mixin selector
      official a Lagc;a:I
      intermediary field_4595 Lnet/minecraft/class_1164;field_4595:I
      named minX Lnet/minecraft/world/chunk/ChunkCache;minX:I
    • minZ

      private int minZ
      Mappings:
      Namespace Name Mixin selector
      official b Lagc;b:I
      intermediary field_4596 Lnet/minecraft/class_1164;field_4596:I
      named minZ Lnet/minecraft/world/chunk/ChunkCache;minZ:I
    • chunks

      private Chunk[][] chunks
      Mappings:
      Namespace Name Mixin selector
      official c Lagc;c:[[Laoi;
      intermediary field_4597 Lnet/minecraft/class_1164;field_4597:[[Lnet/minecraft/class_1196;
      named chunks Lnet/minecraft/world/chunk/ChunkCache;chunks:[[Lnet/minecraft/world/chunk/Chunk;
    • empty

      private boolean empty
      Mappings:
      Namespace Name Mixin selector
      official d Lagc;d:Z
      intermediary field_4598 Lnet/minecraft/class_1164;field_4598:Z
      named empty Lnet/minecraft/world/chunk/ChunkCache;empty:Z
    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official e Lagc;e:Lafm;
      intermediary field_4599 Lnet/minecraft/class_1164;field_4599:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/world/chunk/ChunkCache;world:Lnet/minecraft/world/World;
  • Constructor Details

    • ChunkCache

      public ChunkCache(World world, int int2, int int3, int int4, int int5, int int6, int int7, int int8)
  • Method Details

    • isEmpty

      @Environment(CLIENT) public boolean isEmpty()
      Specified by:
      isEmpty in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official S Lafw;S()Z
      intermediary method_3772 Lnet/minecraft/class_1158;method_3772()Z
      named isEmpty Lnet/minecraft/world/BlockView;isEmpty()Z
    • getBlock

      public Block getBlock(int x, int y, int z)
      Specified by:
      getBlock in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official a Lafw;a(III)Laht;
      intermediary method_3774 Lnet/minecraft/class_1158;method_3774(III)Lnet/minecraft/class_197;
      named getBlock Lnet/minecraft/world/BlockView;getBlock(III)Lnet/minecraft/block/Block;
    • method_3781

      public BlockEntity method_3781(int x, int y, int z)
      Specified by:
      method_3781 in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official o Lafw;o(III)Lanc;
      intermediary method_3781 Lnet/minecraft/class_1158;method_3781(III)Lnet/minecraft/class_226;
      named method_3781 Lnet/minecraft/world/BlockView;method_3781(III)Lnet/minecraft/block/entity/BlockEntity;
    • method_3778

      @Environment(CLIENT) public int method_3778(int int2, int int3, int int4, int int5)
      Specified by:
      method_3778 in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official c Lafw;c(IIII)I
      intermediary method_3778 Lnet/minecraft/class_1158;method_3778(IIII)I
      named method_3778 Lnet/minecraft/world/BlockView;method_3778(IIII)I
    • getBlockData

      public int getBlockData(int x, int y, int z)
      Specified by:
      getBlockData in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official e Lafw;e(III)I
      intermediary method_3777 Lnet/minecraft/class_1158;method_3777(III)I
      named getBlockData Lnet/minecraft/world/BlockView;getBlockData(III)I
    • method_3773

      @Environment(CLIENT) public Biome method_3773(int x, int z)
      Specified by:
      method_3773 in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official a Lafw;a(II)Lagf;
      intermediary method_3773 Lnet/minecraft/class_1158;method_3773(II)Lnet/minecraft/class_1170;
      named method_3773 Lnet/minecraft/world/BlockView;method_3773(II)Lnet/minecraft/world/biome/Biome;
    • method_22399

      public class_5093 method_22399()
      Specified by:
      method_22399 in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official U Lafw;U()Layk;
      intermediary method_22399 Lnet/minecraft/class_1158;method_22399()Lnet/minecraft/class_5093;
      named method_22399 Lnet/minecraft/world/BlockView;method_22399()Lnet/minecraft/class_5093;
    • isAir

      @Environment(CLIENT) public boolean isAir(int x, int y, int z)
      Specified by:
      isAir in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official c Lafw;c(III)Z
      intermediary method_3775 Lnet/minecraft/class_1158;method_3775(III)Z
      named isAir Lnet/minecraft/world/BlockView;isAir(III)Z
    • method_3805

      @Environment(CLIENT) public int method_3805(LightType lightType, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Lagc;a(Lafy;III)I
      intermediary method_3805 Lnet/minecraft/class_1164;method_3805(Lnet/minecraft/class_1161;III)I
      named method_3805 Lnet/minecraft/world/chunk/ChunkCache;method_3805(Lnet/minecraft/world/LightType;III)I
    • method_3807

      @Environment(CLIENT) public int method_3807(LightType lightType, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official b Lagc;b(Lafy;III)I
      intermediary method_3807 Lnet/minecraft/class_1164;method_3807(Lnet/minecraft/class_1161;III)I
      named method_3807 Lnet/minecraft/world/chunk/ChunkCache;method_3807(Lnet/minecraft/world/LightType;III)I
    • getMaxBuildHeight

      @Environment(CLIENT) public int getMaxBuildHeight()
      Specified by:
      getMaxBuildHeight in interface BlockView
    • method_3719

      public int method_3719(int int2, int int3, int int4, int int5)
      Specified by:
      method_3719 in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official e Lafw;e(IIII)I
      intermediary method_3719 Lnet/minecraft/class_1158;method_3719(IIII)I
      named method_3719 Lnet/minecraft/world/BlockView;method_3719(IIII)I