Enum Class PhlegethonBoatType
java.lang.Object
java.lang.Enum<PhlegethonBoatType>
com.github.voidleech.crossing_pyriphlegethon.entities.PhlegethonBoatType
- All Implemented Interfaces:
com.github.voidleech.oblivion.entities.OblivionBoatType,Serializable,Comparable<PhlegethonBoatType>,Constable,net.minecraft.util.StringRepresentable
public enum PhlegethonBoatType
extends Enum<PhlegethonBoatType>
implements com.github.voidleech.oblivion.entities.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
com.github.voidleech.oblivion.entities.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 TypeMethodDescriptionbooleannet.minecraft.world.item.ItemgetBoat()net.minecraft.world.item.ItemgetName()net.minecraft.world.level.block.Blockstatic PhlegethonBoatTypeReturns the enum constant of this class with the specified name.static PhlegethonBoatType[]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
getSerializedName, initOBT, usesRaftModel
-
Enum Constant Details
-
CRIMSON
-
WARPED
-
-
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 interfacecom.github.voidleech.oblivion.entities.OblivionBoatType
-
getNamespace
- Specified by:
getNamespacein interfacecom.github.voidleech.oblivion.entities.OblivionBoatType
-
getBoat
public net.minecraft.world.item.Item getBoat()- Specified by:
getBoatin interfacecom.github.voidleech.oblivion.entities.OblivionBoatType
-
getChestBoat
public net.minecraft.world.item.Item getChestBoat()- Specified by:
getChestBoatin interfacecom.github.voidleech.oblivion.entities.OblivionBoatType
-
fireResistant
public boolean fireResistant()- Specified by:
fireResistantin interfacecom.github.voidleech.oblivion.entities.OblivionBoatType
-
getPlanks
public net.minecraft.world.level.block.Block getPlanks()- Specified by:
getPlanksin interfacecom.github.voidleech.oblivion.entities.OblivionBoatType
-