Enum Class OblivionBoatType.FallbackType
java.lang.Object
java.lang.Enum<OblivionBoatType.FallbackType>
com.github.voidleech.oblivion.entities.OblivionBoatType.FallbackType
- All Implemented Interfaces:
OblivionBoatType,Serializable,Comparable<OblivionBoatType.FallbackType>,Constable,net.minecraft.util.StringRepresentable
- Enclosing interface:
- OblivionBoatType
public static enum OblivionBoatType.FallbackType
extends Enum<OblivionBoatType.FallbackType>
implements OblivionBoatType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface com.github.voidleech.oblivion.entities.OblivionBoatType
OblivionBoatType.FallbackTypeNested classes/interfaces inherited from interface net.minecraft.util.StringRepresentable
net.minecraft.util.StringRepresentable.EnumCodec<E extends Enum<E> & net.minecraft.util.StringRepresentable> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface com.github.voidleech.oblivion.entities.OblivionBoatType
TYPESFields inherited from interface net.minecraft.util.StringRepresentable
PRE_BUILT_MAP_THRESHOLD -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemgetBoat()net.minecraft.world.item.ItemgetName()net.minecraft.world.level.block.BlockReturns the enum constant of this class with the specified name.static OblivionBoatType.FallbackType[]values()Returns an array containing the constants of this enum class, 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 com.github.voidleech.oblivion.entities.OblivionBoatType
fireResistant, getSerializedName, initOBT, usesRaftModel
-
Enum Constant Details
-
FALLBACK
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException- if the argument is null
-
getName
- Specified by:
getNamein interfaceOblivionBoatType
-
getNamespace
- Specified by:
getNamespacein interfaceOblivionBoatType
-
getBoat
public net.minecraft.world.item.Item getBoat()- Specified by:
getBoatin interfaceOblivionBoatType
-
getChestBoat
public net.minecraft.world.item.Item getChestBoat()- Specified by:
getChestBoatin interfaceOblivionBoatType
-
getPlanks
public net.minecraft.world.level.block.Block getPlanks()- Specified by:
getPlanksin interfaceOblivionBoatType
-