Package net.minecraft.world
Class ChunkSectionCache
java.lang.Object
net.minecraft.world.ChunkSectionCache
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name official cxh
intermediary net/minecraft/class_5867
named net/minecraft/world/ChunkSectionCache
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Long2ObjectMap<ChunkSection>
private @Nullable ChunkSection
private long
private final WorldAccess
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getBlockState
(BlockPos pos) getSection
(BlockPos pos)
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official a
Lcxh;a:Lcgy;
intermediary field_29037
Lnet/minecraft/class_5867;field_29037:Lnet/minecraft/class_1936;
named world
Lnet/minecraft/world/ChunkSectionCache;world:Lnet/minecraft/world/WorldAccess;
-
cache
- Mappings:
Namespace Name Mixin selector official b
Lcxh;b:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
intermediary field_29038
Lnet/minecraft/class_5867;field_29038:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
named cache
Lnet/minecraft/world/ChunkSectionCache;cache:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
cachedSection
- Mappings:
Namespace Name Mixin selector official c
Lcxh;c:Lcxu;
intermediary field_29039
Lnet/minecraft/class_5867;field_29039:Lnet/minecraft/class_2826;
named cachedSection
Lnet/minecraft/world/ChunkSectionCache;cachedSection:Lnet/minecraft/world/chunk/ChunkSection;
-
sectionPos
private long sectionPos- Mappings:
Namespace Name Mixin selector official d
Lcxh;d:J
intermediary field_29040
Lnet/minecraft/class_5867;field_29040:J
named sectionPos
Lnet/minecraft/world/ChunkSectionCache;sectionPos:J
-
-
Constructor Details
-
ChunkSectionCache
- Mappings:
Namespace Name Mixin selector official <init>
Lcxh;<init>(Lcgy;)V
intermediary <init>
Lnet/minecraft/class_5867;<init>(Lnet/minecraft/class_1936;)V
named <init>
Lnet/minecraft/world/ChunkSectionCache;<init>(Lnet/minecraft/world/WorldAccess;)V
-
-
Method Details
-
getSection
- Mappings:
Namespace Name Mixin selector official a
Lcxh;a(Lgt;)Lcxu;
intermediary method_33944
Lnet/minecraft/class_5867;method_33944(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2826;
named getSection
Lnet/minecraft/world/ChunkSectionCache;getSection(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/ChunkSection;
-
getBlockState
- Mappings:
Namespace Name Mixin selector official b
Lcxh;b(Lgt;)Lcvo;
intermediary method_33946
Lnet/minecraft/class_5867;method_33946(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/world/ChunkSectionCache;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-