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.FallbackType

    Nested 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
    Enum Constant
    Description
     
     
  • Field Summary

    Fields inherited from interface com.github.voidleech.oblivion.entities.OblivionBoatType

    TYPES

    Fields inherited from interface net.minecraft.util.StringRepresentable

    PRE_BUILT_MAP_THRESHOLD
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    net.minecraft.world.item.Item
     
    net.minecraft.world.item.Item
     
     
     
    net.minecraft.world.level.block.Block
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.github.voidleech.oblivion.entities.OblivionBoatType

    getSerializedName, initOBT, usesRaftModel
  • Enum Constant Details

  • Method Details

    • values

      public static PhlegethonBoatType[] 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

      public static PhlegethonBoatType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Specified by:
      getName in interface com.github.voidleech.oblivion.entities.OblivionBoatType
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface com.github.voidleech.oblivion.entities.OblivionBoatType
    • getBoat

      public net.minecraft.world.item.Item getBoat()
      Specified by:
      getBoat in interface com.github.voidleech.oblivion.entities.OblivionBoatType
    • getChestBoat

      public net.minecraft.world.item.Item getChestBoat()
      Specified by:
      getChestBoat in interface com.github.voidleech.oblivion.entities.OblivionBoatType
    • fireResistant

      public boolean fireResistant()
      Specified by:
      fireResistant in interface com.github.voidleech.oblivion.entities.OblivionBoatType
    • getPlanks

      public net.minecraft.world.level.block.Block getPlanks()
      Specified by:
      getPlanks in interface com.github.voidleech.oblivion.entities.OblivionBoatType