Class AlphaChunkIo.AlphaHeightLimitView
java.lang.Object
net.minecraft.world.level.storage.AlphaChunkIo.AlphaHeightLimitView
- All Implemented Interfaces:
HeightLimitView
- Enclosing class:
- AlphaChunkIo
static final class AlphaChunkIo.AlphaHeightLimitView extends Object implements HeightLimitView
- Mappings:
Namespace Name official ckm$1intermediary net/minecraft/class_2864$1named net/minecraft/world/level/storage/AlphaChunkIo$AlphaHeightLimitView
-
Constructor Summary
Constructors Constructor Description AlphaHeightLimitView() -
Method Summary
Modifier and Type Method Description intgetBottomY()Returns the bottom Y level, or height, inclusive, of this view.intgetHeight()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Constructor Details
-
AlphaHeightLimitView
AlphaHeightLimitView()
-
-
Method Details
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomYin interfaceHeightLimitView- See Also:
HeightLimitView.getTopY(),HeightLimitView.getHeight()- Mappings:
Namespace Name Mixin selector official w_Lbtx;w_()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Inamed getBottomYLnet/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:
getHeightin interfaceHeightLimitView- Returns:
- the difference in the minimum and maximum height
- See Also:
HeightLimitView.getBottomY(),HeightLimitView.getTopY()- Mappings:
Namespace Name Mixin selector official mLbtx;m()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()I
-