Package net.minecraft
Record Class class_9733
java.lang.Object
java.lang.Record
net.minecraft.class_9733
- Record Components:
value-
- All Implemented Interfaces:
class_9723
- Mappings:
Namespace Name named net/minecraft/class_9733intermediary net/minecraft/class_9733official dalnamed valueintermediary comp_2750official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_9733> private final class_9704The field for thevaluerecord component.Fields inherited from interface net.minecraft.class_9723
field_51709 -
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.com.mojang.serialization.MapCodec<class_9733> floatmethod_60213(ItemStack itemStack, int int2, Random random, float float2) final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
value
The field for thevaluerecord component. -
field_51720
- Mappings:
Namespace Name Mixin selector named field_51720Lnet/minecraft/class_9733;field_51720:Lcom/mojang/serialization/MapCodec;intermediary field_51720Lnet/minecraft/class_9733;field_51720:Lcom/mojang/serialization/MapCodec;official aLdal;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_9733
-
-
Method Details
-
method_60213
- Specified by:
method_60213in interfaceclass_9723- Mappings:
Namespace Name Mixin selector named method_60213Lnet/minecraft/class_9723;method_60213(Lnet/minecraft/item/ItemStack;ILnet/minecraft/util/math/random/Random;F)Fintermediary method_60213Lnet/minecraft/class_9723;method_60213(Lnet/minecraft/class_1799;ILnet/minecraft/class_5819;F)Fofficial aLdab;a(Lcua;ILaym;F)F
-
method_60211
- Specified by:
method_60211in interfaceclass_9723- Mappings:
Namespace Name Mixin selector named method_60211Lnet/minecraft/class_9723;method_60211()Lcom/mojang/serialization/MapCodec;intermediary method_60211Lnet/minecraft/class_9723;method_60211()Lcom/mojang/serialization/MapCodec;official aLdab;a()Lcom/mojang/serialization/MapCodec;
-
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). -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-