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 - official - bes- intermediary - net/minecraft/class_8572- named - net/minecraft/entity/damage/FallLocation- official - i- intermediary - comp_1539- named - id
- 
Field SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier 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- 
idThe field for theidrecord component.
- 
GENERIC- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbes;a:Lbes;- intermediary - field_44923- Lnet/minecraft/class_8572;field_44923:Lnet/minecraft/class_8572;- named - GENERIC- Lnet/minecraft/entity/damage/FallLocation;GENERIC:Lnet/minecraft/entity/damage/FallLocation;
 
- 
LADDER- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbes;b:Lbes;- intermediary - field_44924- Lnet/minecraft/class_8572;field_44924:Lnet/minecraft/class_8572;- named - LADDER- Lnet/minecraft/entity/damage/FallLocation;LADDER:Lnet/minecraft/entity/damage/FallLocation;
 
- 
VINES- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbes;c:Lbes;- intermediary - field_44925- Lnet/minecraft/class_8572;field_44925:Lnet/minecraft/class_8572;- named - VINES- Lnet/minecraft/entity/damage/FallLocation;VINES:Lnet/minecraft/entity/damage/FallLocation;
 
- 
WEEPING_VINES- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbes;d:Lbes;- intermediary - field_44926- Lnet/minecraft/class_8572;field_44926:Lnet/minecraft/class_8572;- named - WEEPING_VINES- Lnet/minecraft/entity/damage/FallLocation;WEEPING_VINES:Lnet/minecraft/entity/damage/FallLocation;
 
- 
TWISTING_VINES- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbes;e:Lbes;- intermediary - field_44927- Lnet/minecraft/class_8572;field_44927:Lnet/minecraft/class_8572;- named - TWISTING_VINES- Lnet/minecraft/entity/damage/FallLocation;TWISTING_VINES:Lnet/minecraft/entity/damage/FallLocation;
 
- 
SCAFFOLDING- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbes;f:Lbes;- intermediary - field_44928- Lnet/minecraft/class_8572;field_44928:Lnet/minecraft/class_8572;- named - SCAFFOLDING- Lnet/minecraft/entity/damage/FallLocation;SCAFFOLDING:Lnet/minecraft/entity/damage/FallLocation;
 
- 
OTHER_CLIMBABLE- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbes;g:Lbes;- intermediary - field_44929- Lnet/minecraft/class_8572;field_44929:Lnet/minecraft/class_8572;- named - OTHER_CLIMBABLE- Lnet/minecraft/entity/damage/FallLocation;OTHER_CLIMBABLE:Lnet/minecraft/entity/damage/FallLocation;
 
- 
WATER- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbes;h:Lbes;- intermediary - field_44930- Lnet/minecraft/class_8572;field_44930:Lnet/minecraft/class_8572;- named - WATER- Lnet/minecraft/entity/damage/FallLocation;WATER:Lnet/minecraft/entity/damage/FallLocation;
 
 
- 
- 
Constructor Details- 
FallLocation
 
- 
- 
Method Details- 
fromBlockState- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbes;a(Ldcb;)Lbes;- intermediary - method_52196- Lnet/minecraft/class_8572;method_52196(Lnet/minecraft/class_2680;)Lnet/minecraft/class_8572;- named - fromBlockState- Lnet/minecraft/entity/damage/FallLocation;fromBlockState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/entity/damage/FallLocation;
 
- 
fromEntity- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbes;a(Lbfz;)Lbes;- intermediary - method_52195- Lnet/minecraft/class_8572;method_52195(Lnet/minecraft/class_1309;)Lnet/minecraft/class_8572;- named - fromEntity- Lnet/minecraft/entity/damage/FallLocation;fromEntity(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/damage/FallLocation;
 
- 
getDeathMessageKey- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbes;a()Ljava/lang/String;- intermediary - method_52194- Lnet/minecraft/class_8572;method_52194()Ljava/lang/String;- named - getDeathMessageKey- Lnet/minecraft/entity/damage/FallLocation;getDeathMessageKey()Ljava/lang/String;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
idReturns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
 
-