Package net.minecraft.world.chunk
Class ChunkCache
java.lang.Object
net.minecraft.world.chunk.ChunkCache
- All Implemented Interfaces:
BlockView
,CollisionView
,HeightLimitView
- Mappings:
Namespace Name official bxb
intermediary net/minecraft/class_1950
named net/minecraft/world/chunk/ChunkCache
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntity
(BlockPos pos) getBlockState
(BlockPos pos) int
Returns the bottom Y level, or height, inclusive, of this view.private Chunk
getChunk
(int chunkX, int chunkZ) private Chunk
getChunkAsView
(int chunkX, int chunkZ) getFluidState
(BlockPos pos) int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.CollisionView
canPlace, findClosestCollision, getBlockCollisions, getBlockCollisions, hasBlockCollision, intersectsEntities, intersectsEntities, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
minX
protected final int minX- Mappings:
Namespace Name Mixin selector official a
Lbxb;a:I
intermediary field_9304
Lnet/minecraft/class_1950;field_9304:I
named minX
Lnet/minecraft/world/chunk/ChunkCache;minX:I
-
minZ
protected final int minZ- Mappings:
Namespace Name Mixin selector official b
Lbxb;b:I
intermediary field_9303
Lnet/minecraft/class_1950;field_9303:I
named minZ
Lnet/minecraft/world/chunk/ChunkCache;minZ:I
-
chunks
- Mappings:
Namespace Name Mixin selector official c
Lbxb;c:[[Lcml;
intermediary field_9305
Lnet/minecraft/class_1950;field_9305:[[Lnet/minecraft/class_2791;
named chunks
Lnet/minecraft/world/chunk/ChunkCache;chunks:[[Lnet/minecraft/world/chunk/Chunk;
-
empty
protected boolean empty- Mappings:
Namespace Name Mixin selector official d
Lbxb;d:Z
intermediary field_9302
Lnet/minecraft/class_1950;field_9302:Z
named empty
Lnet/minecraft/world/chunk/ChunkCache;empty:Z
-
world
- Mappings:
Namespace Name Mixin selector official e
Lbxb;e:Lbwp;
intermediary field_9306
Lnet/minecraft/class_1950;field_9306:Lnet/minecraft/class_1937;
named world
Lnet/minecraft/world/chunk/ChunkCache;world:Lnet/minecraft/world/World;
-
-
Constructor Details
-
ChunkCache
- Mappings:
Namespace Name Mixin selector official <init>
Lbxb;<init>(Lbwp;Lgg;Lgg;)V
intermediary <init>
Lnet/minecraft/class_1950;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/world/chunk/ChunkCache;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
getChunk
- Mappings:
Namespace Name Mixin selector official d
Lbxb;d(Lgg;)Lcml;
intermediary method_22354
Lnet/minecraft/class_1950;method_22354(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2791;
named getChunk
Lnet/minecraft/world/chunk/ChunkCache;getChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;
-
getChunk
- Mappings:
Namespace Name Mixin selector official a
Lbxb;a(II)Lcml;
intermediary method_22353
Lnet/minecraft/class_1950;method_22353(II)Lnet/minecraft/class_2791;
named getChunk
Lnet/minecraft/world/chunk/ChunkCache;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
-
getWorldBorder
- Specified by:
getWorldBorder
in interfaceCollisionView
- Mappings:
Namespace Name Mixin selector official o_
Lbvy;o_()Lcmi;
intermediary method_8621
Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;
named getWorldBorder
Lnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
-
getChunkAsView
- Specified by:
getChunkAsView
in interfaceCollisionView
- Mappings:
Namespace Name Mixin selector official c
Lbvy;c(II)Lbvt;
intermediary method_22338
Lnet/minecraft/class_1941;method_22338(II)Lnet/minecraft/class_1922;
named getChunkAsView
Lnet/minecraft/world/CollisionView;getChunkAsView(II)Lnet/minecraft/world/BlockView;
-
getBlockEntity
- Specified by:
getBlockEntity
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official c_
Lbvt;c_(Lgg;)Lcip;
intermediary method_8321
Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
named getBlockEntity
Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official a_
Lbvt;a_(Lgg;)Lcks;
intermediary method_8320
Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getEntityCollisions
public Stream<VoxelShape> getEntityCollisions(@Nullable @Nullable Entity entity, Box box, Predicate<Entity> predicate) - Specified by:
getEntityCollisions
in interfaceCollisionView
- Mappings:
Namespace Name Mixin selector official c
Lbvy;c(Latf;Ldmv;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
intermediary method_20743
Lnet/minecraft/class_1941;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
named getEntityCollisions
Lnet/minecraft/world/CollisionView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
-
getCollisions
public Stream<VoxelShape> getCollisions(@Nullable @Nullable Entity entity, Box box, Predicate<Entity> predicate) - Specified by:
getCollisions
in interfaceCollisionView
- Mappings:
Namespace Name Mixin selector official d
Lbvy;d(Latf;Ldmv;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
intermediary method_8600
Lnet/minecraft/class_1941;method_8600(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
named getCollisions
Lnet/minecraft/world/CollisionView;getCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
-
getFluidState
- Specified by:
getFluidState
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official b_
Lbvt;b_(Lgg;)Ldes;
intermediary method_8316
Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
named getFluidState
Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomY
in interfaceHeightLimitView
- See Also:
- Mappings:
Namespace Name Mixin selector official s_
Lbwr;s_()I
intermediary method_31607
Lnet/minecraft/class_5539;method_31607()I
named getBottomY
Lnet/minecraft/world/HeightLimitView;getBottomY()I
-
getHeight
public int getHeight()Returns the difference in the minimum and maximum height.This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view.
- Specified by:
getHeight
in interfaceHeightLimitView
- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector official t_
Lbwr;t_()I
intermediary method_31605
Lnet/minecraft/class_5539;method_31605()I
named getHeight
Lnet/minecraft/world/HeightLimitView;getHeight()I
-
getProfiler
- Mappings:
Namespace Name Mixin selector official a
Lbxb;a()Lapu;
intermediary method_37233
Lnet/minecraft/class_1950;method_37233()Lnet/minecraft/class_3695;
named getProfiler
Lnet/minecraft/world/chunk/ChunkCache;getProfiler()Lnet/minecraft/util/profiler/Profiler;
-