类 ChunkSectionCache
- java.lang.Object
-
- net.minecraft.world.ChunkSectionCache
-
- 所有已实现的接口:
AutoCloseable
public class ChunkSectionCache extends Object implements AutoCloseable
- Mappings:
Namespace Name official cljintermediary net/minecraft/class_5867named net/minecraft/world/ChunkSectionCache
-
-
字段概要
字段 修饰符和类型 字段 说明 private Long2ObjectMap<ChunkSection>cacheprivate @Nullable ChunkSectioncachedSectionprivate longsectionPosprivate WorldAccessworld
-
构造器概要
构造器 构造器 说明 ChunkSectionCache(WorldAccess world)
-
-
-
字段详细资料
-
world
private final WorldAccess world
- Mappings:
Namespace Name Mixin selector official aLclj;a:Lbvs;intermediary field_29037Lnet/minecraft/class_5867;field_29037:Lnet/minecraft/class_1936;named worldLnet/minecraft/world/ChunkSectionCache;world:Lnet/minecraft/world/WorldAccess;
-
cache
private final Long2ObjectMap<ChunkSection> cache
- Mappings:
Namespace Name Mixin selector official bLclj;b:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;intermediary field_29038Lnet/minecraft/class_5867;field_29038:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;named cacheLnet/minecraft/world/ChunkSectionCache;cache:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
-
cachedSection
@Nullable private @Nullable ChunkSection cachedSection
- Mappings:
Namespace Name Mixin selector official cLclj;c:Lclw;intermediary field_29039Lnet/minecraft/class_5867;field_29039:Lnet/minecraft/class_2826;named cachedSectionLnet/minecraft/world/ChunkSectionCache;cachedSection:Lnet/minecraft/world/chunk/ChunkSection;
-
sectionPos
private long sectionPos
- Mappings:
Namespace Name Mixin selector official dLclj;d:Jintermediary field_29040Lnet/minecraft/class_5867;field_29040:Jnamed sectionPosLnet/minecraft/world/ChunkSectionCache;sectionPos:J
-
-
构造器详细资料
-
ChunkSectionCache
public ChunkSectionCache(WorldAccess world)
- Mappings:
Namespace Name Mixin selector official <init>Lclj;<init>(Lbvs;)Vintermediary <init>Lnet/minecraft/class_5867;<init>(Lnet/minecraft/class_1936;)Vnamed <init>Lnet/minecraft/world/ChunkSectionCache;<init>(Lnet/minecraft/world/WorldAccess;)V
-
-
方法详细资料
-
getSection
@Nullable public @Nullable ChunkSection getSection(BlockPos blockPos)
- Mappings:
Namespace Name Mixin selector official aLclj;a(Lgb;)Lclw;intermediary method_33944Lnet/minecraft/class_5867;method_33944(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2826;named getSectionLnet/minecraft/world/ChunkSectionCache;getSection(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/ChunkSection;
-
getBlockState
public BlockState getBlockState(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official bLclj;b(Lgb;)Lcjr;intermediary method_33946Lnet/minecraft/class_5867;method_33946(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/ChunkSectionCache;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
close
public void close()
- 指定者:
close在接口中AutoCloseable- Mappings:
Namespace Name Mixin selector official closeLclj;close()Vintermediary closeLnet/minecraft/class_5867;close()Vnamed closeLnet/minecraft/world/ChunkSectionCache;close()V
-
-