Interface FallLocationType

All Superinterfaces:
Translatable

@NullMarked @Experimental public sealed interface FallLocationType extends Translatable
Represents a type of location from which the entity fell.
  • Field Details

    • GENERIC

      static final FallLocationType GENERIC
      The entity was not within a special fall location.
    • LADDER

      static final FallLocationType LADDER
      The entity was within the ladder.
    • VINES

      static final FallLocationType VINES
      The entity was in vines.
    • WEEPING_VINES

      static final FallLocationType WEEPING_VINES
      The entity was in weeping wines.
    • TWISTING_VINES

      static final FallLocationType TWISTING_VINES
      The entity was in twisting vines.
    • SCAFFOLDING

      static final FallLocationType SCAFFOLDING
      The entity was in scaffolding.
    • OTHER_CLIMBABLE

      static final FallLocationType OTHER_CLIMBABLE
      The entity was within some other climbable block.
    • WATER

      static final FallLocationType WATER
      The entity was in water.
  • Method Details

    • id

      String id()
      Gets the fall location id.
      Returns:
      the fall location id
    • translationKey

      String translationKey()
      Gets the translation key used for a fall death message caused by falling from this location
      Specified by:
      translationKey in interface Translatable
      Returns:
      the translation key