Record Class FallLocation

java.lang.Object
java.lang.Record
net.minecraft.entity.damage.FallLocation
Record Components:
id -

public record FallLocation(String id) extends Record
Mappings:
Namespace Name
named net/minecraft/entity/damage/FallLocation
intermediary net/minecraft/class_8572
official bue
named id
intermediary comp_1539
official i
  • Field Details

    • id

      private final String id
      The field for the id record component.
    • GENERIC

      public static final FallLocation GENERIC
      Mappings:
      Namespace Name Mixin selector
      named GENERIC Lnet/minecraft/entity/damage/FallLocation;GENERIC:Lnet/minecraft/entity/damage/FallLocation;
      intermediary field_44923 Lnet/minecraft/class_8572;field_44923:Lnet/minecraft/class_8572;
      official a Lbue;a:Lbue;
    • LADDER

      public static final FallLocation LADDER
      Mappings:
      Namespace Name Mixin selector
      named LADDER Lnet/minecraft/entity/damage/FallLocation;LADDER:Lnet/minecraft/entity/damage/FallLocation;
      intermediary field_44924 Lnet/minecraft/class_8572;field_44924:Lnet/minecraft/class_8572;
      official b Lbue;b:Lbue;
    • VINES

      public static final FallLocation VINES
      Mappings:
      Namespace Name Mixin selector
      named VINES Lnet/minecraft/entity/damage/FallLocation;VINES:Lnet/minecraft/entity/damage/FallLocation;
      intermediary field_44925 Lnet/minecraft/class_8572;field_44925:Lnet/minecraft/class_8572;
      official c Lbue;c:Lbue;
    • WEEPING_VINES

      public static final FallLocation WEEPING_VINES
      Mappings:
      Namespace Name Mixin selector
      named WEEPING_VINES Lnet/minecraft/entity/damage/FallLocation;WEEPING_VINES:Lnet/minecraft/entity/damage/FallLocation;
      intermediary field_44926 Lnet/minecraft/class_8572;field_44926:Lnet/minecraft/class_8572;
      official d Lbue;d:Lbue;
    • TWISTING_VINES

      public static final FallLocation TWISTING_VINES
      Mappings:
      Namespace Name Mixin selector
      named TWISTING_VINES Lnet/minecraft/entity/damage/FallLocation;TWISTING_VINES:Lnet/minecraft/entity/damage/FallLocation;
      intermediary field_44927 Lnet/minecraft/class_8572;field_44927:Lnet/minecraft/class_8572;
      official e Lbue;e:Lbue;
    • SCAFFOLDING

      public static final FallLocation SCAFFOLDING
      Mappings:
      Namespace Name Mixin selector
      named SCAFFOLDING Lnet/minecraft/entity/damage/FallLocation;SCAFFOLDING:Lnet/minecraft/entity/damage/FallLocation;
      intermediary field_44928 Lnet/minecraft/class_8572;field_44928:Lnet/minecraft/class_8572;
      official f Lbue;f:Lbue;
    • OTHER_CLIMBABLE

      public static final FallLocation OTHER_CLIMBABLE
      Mappings:
      Namespace Name Mixin selector
      named OTHER_CLIMBABLE Lnet/minecraft/entity/damage/FallLocation;OTHER_CLIMBABLE:Lnet/minecraft/entity/damage/FallLocation;
      intermediary field_44929 Lnet/minecraft/class_8572;field_44929:Lnet/minecraft/class_8572;
      official g Lbue;g:Lbue;
    • WATER

      public static final FallLocation WATER
      Mappings:
      Namespace Name Mixin selector
      named WATER Lnet/minecraft/entity/damage/FallLocation;WATER:Lnet/minecraft/entity/damage/FallLocation;
      intermediary field_44930 Lnet/minecraft/class_8572;field_44930:Lnet/minecraft/class_8572;
      official h Lbue;h:Lbue;
  • Constructor Details

    • FallLocation

      public FallLocation(String string)
  • Method Details

    • fromBlockState

      public static FallLocation fromBlockState(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named fromBlockState Lnet/minecraft/entity/damage/FallLocation;fromBlockState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/entity/damage/FallLocation;
      intermediary method_52196 Lnet/minecraft/class_8572;method_52196(Lnet/minecraft/class_2680;)Lnet/minecraft/class_8572;
      official a Lbue;a(Ldxu;)Lbue;
    • fromEntity

      @Nullable public static @Nullable FallLocation fromEntity(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named fromEntity Lnet/minecraft/entity/damage/FallLocation;fromEntity(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/FallLocation;
      intermediary method_52195 Lnet/minecraft/class_8572;method_52195(Lnet/minecraft/class_1309;)Lnet/minecraft/class_8572;
      official a Lbue;a(Lbwf;)Lbue;
    • getDeathMessageKey

      public String getDeathMessageKey()
      Mappings:
      Namespace Name Mixin selector
      named getDeathMessageKey Lnet/minecraft/entity/damage/FallLocation;getDeathMessageKey()Ljava/lang/String;
      intermediary method_52194 Lnet/minecraft/class_8572;method_52194()Ljava/lang/String;
      official a Lbue;a()Ljava/lang/String;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component