Package net.minecraft.entity.damage
Record Class FallLocation
java.lang.Object
java.lang.Record
net.minecraft.entity.damage.FallLocation
- Record Components:
id-
- Mappings:
Namespace Name named net/minecraft/entity/damage/FallLocationintermediary net/minecraft/class_8572official bqsnamed idintermediary comp_1539official i
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FallLocationprivate final StringThe field for theidrecord component.static final FallLocationstatic final FallLocationstatic final FallLocationstatic final FallLocationstatic final FallLocationstatic final FallLocationstatic final FallLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static FallLocationfromBlockState(BlockState state) static @Nullable FallLocationfromEntity(LivingEntity entity) final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
GENERIC
- Mappings:
Namespace Name Mixin selector named GENERICLnet/minecraft/entity/damage/FallLocation;GENERIC:Lnet/minecraft/entity/damage/FallLocation;intermediary field_44923Lnet/minecraft/class_8572;field_44923:Lnet/minecraft/class_8572;official aLbqs;a:Lbqs;
-
LADDER
- Mappings:
Namespace Name Mixin selector named LADDERLnet/minecraft/entity/damage/FallLocation;LADDER:Lnet/minecraft/entity/damage/FallLocation;intermediary field_44924Lnet/minecraft/class_8572;field_44924:Lnet/minecraft/class_8572;official bLbqs;b:Lbqs;
-
VINES
- Mappings:
Namespace Name Mixin selector named VINESLnet/minecraft/entity/damage/FallLocation;VINES:Lnet/minecraft/entity/damage/FallLocation;intermediary field_44925Lnet/minecraft/class_8572;field_44925:Lnet/minecraft/class_8572;official cLbqs;c:Lbqs;
-
WEEPING_VINES
- Mappings:
Namespace Name Mixin selector named WEEPING_VINESLnet/minecraft/entity/damage/FallLocation;WEEPING_VINES:Lnet/minecraft/entity/damage/FallLocation;intermediary field_44926Lnet/minecraft/class_8572;field_44926:Lnet/minecraft/class_8572;official dLbqs;d:Lbqs;
-
TWISTING_VINES
- Mappings:
Namespace Name Mixin selector named TWISTING_VINESLnet/minecraft/entity/damage/FallLocation;TWISTING_VINES:Lnet/minecraft/entity/damage/FallLocation;intermediary field_44927Lnet/minecraft/class_8572;field_44927:Lnet/minecraft/class_8572;official eLbqs;e:Lbqs;
-
SCAFFOLDING
- Mappings:
Namespace Name Mixin selector named SCAFFOLDINGLnet/minecraft/entity/damage/FallLocation;SCAFFOLDING:Lnet/minecraft/entity/damage/FallLocation;intermediary field_44928Lnet/minecraft/class_8572;field_44928:Lnet/minecraft/class_8572;official fLbqs;f:Lbqs;
-
OTHER_CLIMBABLE
- Mappings:
Namespace Name Mixin selector named OTHER_CLIMBABLELnet/minecraft/entity/damage/FallLocation;OTHER_CLIMBABLE:Lnet/minecraft/entity/damage/FallLocation;intermediary field_44929Lnet/minecraft/class_8572;field_44929:Lnet/minecraft/class_8572;official gLbqs;g:Lbqs;
-
WATER
- Mappings:
Namespace Name Mixin selector named WATERLnet/minecraft/entity/damage/FallLocation;WATER:Lnet/minecraft/entity/damage/FallLocation;intermediary field_44930Lnet/minecraft/class_8572;field_44930:Lnet/minecraft/class_8572;official hLbqs;h:Lbqs;
-
-
Constructor Details
-
FallLocation
-
-
Method Details
-
fromBlockState
- Mappings:
Namespace Name Mixin selector named fromBlockStateLnet/minecraft/entity/damage/FallLocation;fromBlockState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/entity/damage/FallLocation;intermediary method_52196Lnet/minecraft/class_8572;method_52196(Lnet/minecraft/class_2680;)Lnet/minecraft/class_8572;official aLbqs;a(Ldrb;)Lbqs;
-
fromEntity
- Mappings:
Namespace Name Mixin selector named fromEntityLnet/minecraft/entity/damage/FallLocation;fromEntity(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/FallLocation;intermediary method_52195Lnet/minecraft/class_8572;method_52195(Lnet/minecraft/class_1309;)Lnet/minecraft/class_8572;official aLbqs;a(Lbso;)Lbqs;
-
getDeathMessageKey
- Mappings:
Namespace Name Mixin selector named getDeathMessageKeyLnet/minecraft/entity/damage/FallLocation;getDeathMessageKey()Ljava/lang/String;intermediary method_52194Lnet/minecraft/class_8572;method_52194()Ljava/lang/String;official aLbqs;a()Ljava/lang/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. -
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. -
equals
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 withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-