Package net.minecraft.world
Enum Class EmptyBlockView
- All Implemented Interfaces:
- Serializable,- Comparable<EmptyBlockView>,- Constable,- BlockView,- HeightLimitView
- Mappings:
- Namespace - Name - official - cmb- intermediary - net/minecraft/class_2682- named - net/minecraft/world/EmptyBlockView
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.getBlockState(BlockPos pos) Returns the block state atpos.intReturns the bottom Y level, or height, inclusive, of this view.getFluidState(BlockPos pos) Returns the fluid state atpos.intstatic EmptyBlockViewReturns the enum constant of this class with the specified name.static EmptyBlockView[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.world.BlockViewgetBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitViewcountVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
- 
Enum Constant Details- 
INSTANCE- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmb;a:Lcmb;- intermediary - field_12294- Lnet/minecraft/class_2682;field_12294:Lnet/minecraft/class_2682;- named - INSTANCE- Lnet/minecraft/world/EmptyBlockView;INSTANCE:Lnet/minecraft/world/EmptyBlockView;
 
 
- 
- 
Constructor Details- 
EmptyBlockViewprivate EmptyBlockView()
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getBlockEntityReturns the block entity atpos, ornullif there is none.- Specified by:
- getBlockEntityin interface- BlockView
- Returns:
- the block entity at pos, ornullif there is none
- Mappings:
- Namespace - Name - Mixin selector - official - c_- Lcls;c_(Lgu;)Lczn;- 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;
 
- 
getBlockStateReturns the block state atpos.- Specified by:
- getBlockStatein interface- BlockView
- Returns:
- the block state at pos
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lcls;a_(Lgu;)Ldcb;- 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;
 
- 
getFluidStateReturns the fluid state atpos.- Specified by:
- getFluidStatein interface- BlockView
- Returns:
- the fluid state at pos
- Mappings:
- Namespace - Name - Mixin selector - official - b_- Lcls;b_(Lgu;)Ldxe;- 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;
 
- 
getBottomYpublic int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
- getBottomYin interface- HeightLimitView
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - C_- Lcmo;C_()I- intermediary - method_31607- Lnet/minecraft/class_5539;method_31607()I- named - getBottomY- Lnet/minecraft/world/HeightLimitView;getBottomY()I
 
- 
getHeightpublic 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 interface- HeightLimitView
- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - D_- Lcmo;D_()I- intermediary - method_31605- Lnet/minecraft/class_5539;method_31605()I- named - getHeight- Lnet/minecraft/world/HeightLimitView;getHeight()I
 
 
-