Package net.minecraft.world
Class ChunkSectionCache
java.lang.Object
net.minecraft.world.ChunkSectionCache
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/world/ChunkSectionCacheintermediary net/minecraft/class_5867official edl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Long2ObjectMap<ChunkSection> private @Nullable ChunkSectionprivate longprivate final WorldAccess -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getBlockState(BlockPos pos) getSection(BlockPos pos)
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/world/ChunkSectionCache;world:Lnet/minecraft/world/WorldAccess;intermediary field_29037Lnet/minecraft/class_5867;field_29037:Lnet/minecraft/class_1936;official aLedl;a:Ldkk;
-
cache
- Mappings:
Namespace Name Mixin selector named cacheLnet/minecraft/world/ChunkSectionCache;cache:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;intermediary field_29038Lnet/minecraft/class_5867;field_29038:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;official bLedl;b:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
cachedSection
- Mappings:
Namespace Name Mixin selector named cachedSectionLnet/minecraft/world/ChunkSectionCache;cachedSection:Lnet/minecraft/world/chunk/ChunkSection;intermediary field_29039Lnet/minecraft/class_5867;field_29039:Lnet/minecraft/class_2826;official cLedl;c:Ledy;
-
sectionPos
private long sectionPos- Mappings:
Namespace Name Mixin selector named sectionPosLnet/minecraft/world/ChunkSectionCache;sectionPos:Jintermediary field_29040Lnet/minecraft/class_5867;field_29040:Jofficial dLedl;d:J
-
-
Constructor Details
-
ChunkSectionCache
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/ChunkSectionCache;<init>(Lnet/minecraft/world/WorldAccess;)Vintermediary <init>Lnet/minecraft/class_5867;<init>(Lnet/minecraft/class_1936;)Vofficial <init>Ledl;<init>(Ldkk;)V
-
-
Method Details
-
getSection
- Mappings:
Namespace Name Mixin selector named getSectionLnet/minecraft/world/ChunkSectionCache;getSection(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/ChunkSection;intermediary method_33944Lnet/minecraft/class_5867;method_33944(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2826;official aLedl;a(Liw;)Ledy;
-
getBlockState
- Mappings:
Namespace Name Mixin selector named getBlockStateLnet/minecraft/world/ChunkSectionCache;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;intermediary method_33946Lnet/minecraft/class_5867;method_33946(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;official bLedl;b(Liw;)Lebq;
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-