Package net.minecraft.world
Enum EmptyBlockView
- All Implemented Interfaces:
Serializable,Comparable<EmptyBlockView>,java.lang.constant.Constable,BlockView,HeightLimitView
public enum EmptyBlockView extends Enum<EmptyBlockView> implements BlockView
- Mappings:
Namespace Name official btjintermediary net/minecraft/class_2682named net/minecraft/world/EmptyBlockView
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Constructor Summary
Constructors Modifier Constructor Description privateEmptyBlockView() -
Method Summary
Modifier and Type Method Description BlockEntitygetBlockEntity(BlockPos pos)BlockStategetBlockState(BlockPos pos)intgetBottomSectionLimit()FluidStategetFluidState(BlockPos pos)intgetSectionCount()static EmptyBlockViewvalueOf(String name)Returns the enum constant of this type with the specified name.static EmptyBlockView[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.world.BlockView
getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
getMinimumSection, getSection, getSectionIndex, getSectionIndexFromSection, getSections, getTopHeightLimit, getTopSectionLimit, isOutOfHeightLimit, isOutOfHeightLimit
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLbtj;a:Lbtj;intermediary field_12294Lnet/minecraft/class_2682;field_12294:Lnet/minecraft/class_2682;named INSTANCELnet/minecraft/world/EmptyBlockView;INSTANCE:Lnet/minecraft/world/EmptyBlockView;
-
-
Constructor Details
-
EmptyBlockView
private EmptyBlockView()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockView- Mappings:
Namespace Name Mixin selector official cLbsz;c(Lfx;)Lcfr;intermediary method_8321Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;named getBlockEntityLnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockView- Mappings:
Namespace Name Mixin selector official d_Lbsz;d_(Lfx;)Lcht;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockView- Mappings:
Namespace Name Mixin selector official bLbsz;b(Lfx;)Ldal;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
getBottomSectionLimit
public int getBottomSectionLimit()- Specified by:
getBottomSectionLimitin interfaceHeightLimitView- Mappings:
Namespace Name Mixin selector official w_Lbtx;w_()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Inamed getBottomSectionLimitLnet/minecraft/world/HeightLimitView;getBottomSectionLimit()I
-
getSectionCount
public int getSectionCount()- Specified by:
getSectionCountin interfaceHeightLimitView- Mappings:
Namespace Name Mixin selector official mLbtx;m()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getSectionCountLnet/minecraft/world/HeightLimitView;getSectionCount()I
-