Package net.minecraft
Record Class class_10215
java.lang.Object
java.lang.Record
net.minecraft.class_10215
- Record Components:
types-
- Mappings:
Namespace Name named net/minecraft/class_10215intermediary net/minecraft/class_10215official cymnamed typesintermediary comp_3210official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_10215> static final PacketCodec<RegistryByteBuf, class_10215> private final TagKey<DamageType> The field for thetypesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmethod_64198(DamageSource damageSource) final StringtoString()Returns a string representation of this record class.types()Returns the value of thetypesrecord component.
-
Field Details
-
types
The field for thetypesrecord component. -
field_54229
- Mappings:
Namespace Name Mixin selector named field_54229Lnet/minecraft/class_10215;field_54229:Lcom/mojang/serialization/Codec;intermediary field_54229Lnet/minecraft/class_10215;field_54229:Lcom/mojang/serialization/Codec;official aLcym;a:Lcom/mojang/serialization/Codec;
-
field_54230
- Mappings:
Namespace Name Mixin selector named field_54230Lnet/minecraft/class_10215;field_54230:Lnet/minecraft/network/codec/PacketCodec;intermediary field_54230Lnet/minecraft/class_10215;field_54230:Lnet/minecraft/class_9139;official bLcym;b:Lzg;
-
-
Constructor Details
-
class_10215
-
-
Method Details
-
method_64198
- Mappings:
Namespace Name Mixin selector named method_64198Lnet/minecraft/class_10215;method_64198(Lnet/minecraft/entity/damage/DamageSource;)Zintermediary method_64198Lnet/minecraft/class_10215;method_64198(Lnet/minecraft/class_1282;)Zofficial aLcym;a(Lbsu;)Z
-
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). -
types
Returns the value of thetypesrecord component.- Returns:
- the value of the
typesrecord component
-