Package net.minecraft.world.chunk
Class ChunkCache
java.lang.Object
net.minecraft.world.chunk.ChunkCache
- All Implemented Interfaces:
WorldView
- Direct Known Subclasses:
ChunkRenderCache
public class ChunkCache extends Object implements WorldView
- Mappings:
Namespace Name official advintermediary net/minecraft/class_110named net/minecraft/world/chunk/ChunkCache
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChunkCache(World world, BlockPos startPos, BlockPos endPos, int int2) -
Method Summary
Modifier and Type Method Description BiomegetBiomeAt(BlockPos pos)BlockEntitygetBlockEntity(BlockPos pos)BlockStategetBlockState(BlockPos pos)LevelGeneratorTypegetGeneratorType()intgetLight(BlockPos pos, int minBlockLight)intgetStrongRedstonePower(BlockPos pos, Direction direction)booleanisAir(BlockPos pos)booleanisSaved()private intmethod_506(LightType type, BlockPos pos)intmethod_507(LightType lightType, BlockPos blockPos)
-
Field Details
-
field_337
protected int field_337- Mappings:
Namespace Name Mixin selector official aLadv;a:Iintermediary field_337Lnet/minecraft/class_110;field_337:Inamed field_337Lnet/minecraft/world/chunk/ChunkCache;field_337:I
-
field_338
protected int field_338- Mappings:
Namespace Name Mixin selector official bLadv;b:Iintermediary field_338Lnet/minecraft/class_110;field_338:Inamed field_338Lnet/minecraft/world/chunk/ChunkCache;field_338:I
-
chunks
- Mappings:
Namespace Name Mixin selector official cLadv;c:[[Lamy;intermediary field_339Lnet/minecraft/class_110;field_339:[[Lnet/minecraft/class_399;named chunksLnet/minecraft/world/chunk/ChunkCache;chunks:[[Lnet/minecraft/world/chunk/Chunk;
-
saved
protected boolean saved- Mappings:
Namespace Name Mixin selector official dLadv;d:Zintermediary field_340Lnet/minecraft/class_110;field_340:Znamed savedLnet/minecraft/world/chunk/ChunkCache;saved:Z
-
world
- Mappings:
Namespace Name Mixin selector official eLadv;e:Ladm;intermediary field_341Lnet/minecraft/class_110;field_341:Lnet/minecraft/class_99;named worldLnet/minecraft/world/chunk/ChunkCache;world:Lnet/minecraft/world/World;
-
-
Constructor Details
-
ChunkCache
- Mappings:
Namespace Name Mixin selector official <init>Ladv;<init>(Ladm;Lcj;Lcj;I)Vintermediary <init>Lnet/minecraft/class_110;<init>(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1372;I)Vnamed <init>Lnet/minecraft/world/chunk/ChunkCache;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;I)V
-
-
Method Details
-
isSaved
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceWorldView- Mappings:
Namespace Name Mixin selector official sLadq;s(Lcj;)Lakw;intermediary method_484Lnet/minecraft/class_104;method_484(Lnet/minecraft/class_1372;)Lnet/minecraft/class_348;named getBlockEntityLnet/minecraft/world/WorldView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
getLight
-
getBlockState
- Specified by:
getBlockStatein interfaceWorldView- Mappings:
Namespace Name Mixin selector official pLadq;p(Lcj;)Lalz;intermediary method_483Lnet/minecraft/class_104;method_483(Lnet/minecraft/class_1372;)Lnet/minecraft/class_376;named getBlockStateLnet/minecraft/world/WorldView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getBiomeAt
- Specified by:
getBiomeAtin interfaceWorldView- Mappings:
Namespace Name Mixin selector official bLadq;b(Lcj;)Lady;intermediary method_480Lnet/minecraft/class_104;method_480(Lnet/minecraft/class_1372;)Lnet/minecraft/class_113;named getBiomeAtLnet/minecraft/world/WorldView;getBiomeAt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/biome/Biome;
-
method_506
- Mappings:
Namespace Name Mixin selector official aLadv;a(Lads;Lcj;)Iintermediary method_506Lnet/minecraft/class_110;method_506(Lnet/minecraft/class_106;Lnet/minecraft/class_1372;)Inamed method_506Lnet/minecraft/world/chunk/ChunkCache;method_506(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
-
isAir
-
method_507
- Mappings:
Namespace Name Mixin selector official bLadv;b(Lads;Lcj;)Iintermediary method_507Lnet/minecraft/class_110;method_507(Lnet/minecraft/class_106;Lnet/minecraft/class_1372;)Inamed method_507Lnet/minecraft/world/chunk/ChunkCache;method_507(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
-
getStrongRedstonePower
- Specified by:
getStrongRedstonePowerin interfaceWorldView- Mappings:
Namespace Name Mixin selector official aLadq;a(Lcj;Lcq;)Iintermediary method_479Lnet/minecraft/class_104;method_479(Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)Inamed getStrongRedstonePowerLnet/minecraft/world/WorldView;getStrongRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
getGeneratorType
- Specified by:
getGeneratorTypein interfaceWorldView- Mappings:
Namespace Name Mixin selector official GLadq;G()Ladr;intermediary method_477Lnet/minecraft/class_104;method_477()Lnet/minecraft/class_105;named getGeneratorTypeLnet/minecraft/world/WorldView;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;
-