Package net.minecraft
Record Class class_9336<T>
java.lang.Object
java.lang.Record
net.minecraft.class_9336<T>
- Record Components:
type-value-
- Mappings:
Namespace Name official jrintermediary net/minecraft/class_9336named net/minecraft/class_9336official bintermediary comp_2443named typeofficial cintermediary comp_2444named value
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<RegistryByteBuf, class_9336<?>> private final class_9331<T> The field for thetyperecord component.private final TThe field for thevaluerecord 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.<D> com.mojang.serialization.DataResult<D> method_57943(com.mojang.serialization.DynamicOps<D> dynamicOps) (package private) static class_9336<?> method_57944(Map.Entry<class_9331<?>, Object> entry) (package private) static <T> class_9336<T> method_57945(class_9331<T> class_9331, Object object) voidmethod_57946(class_9335 class_9335) toString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.value()Returns the value of thevaluerecord component.
-
Field Details
-
type
The field for thetyperecord component. -
value
The field for thevaluerecord component. -
field_49657
- Mappings:
Namespace Name Mixin selector official aLjr;a:Lye;intermediary field_49657Lnet/minecraft/class_9336;field_49657:Lnet/minecraft/class_9139;named field_49657Lnet/minecraft/class_9336;field_49657:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
class_9336
-
-
Method Details
-
method_57944
- Mappings:
Namespace Name Mixin selector official aLjr;a(Ljava/util/Map$Entry;)Ljr;intermediary method_57944Lnet/minecraft/class_9336;method_57944(Ljava/util/Map$Entry;)Lnet/minecraft/class_9336;named method_57944Lnet/minecraft/class_9336;method_57944(Ljava/util/Map$Entry;)Lnet/minecraft/class_9336;
-
method_57945
- Mappings:
Namespace Name Mixin selector official aLjr;a(Ljo;Ljava/lang/Object;)Ljr;intermediary method_57945Lnet/minecraft/class_9336;method_57945(Lnet/minecraft/class_9331;Ljava/lang/Object;)Lnet/minecraft/class_9336;named method_57945Lnet/minecraft/class_9336;method_57945(Lnet/minecraft/class_9331;Ljava/lang/Object;)Lnet/minecraft/class_9336;
-
method_57946
- Mappings:
Namespace Name Mixin selector official aLjr;a(Ljq;)Vintermediary method_57946Lnet/minecraft/class_9336;method_57946(Lnet/minecraft/class_9335;)Vnamed method_57946Lnet/minecraft/class_9336;method_57946(Lnet/minecraft/class_9335;)V
-
method_57943
public <D> com.mojang.serialization.DataResult<D> method_57943(com.mojang.serialization.DynamicOps<D> dynamicOps) - Mappings:
Namespace Name Mixin selector official aLjr;a(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;intermediary method_57943Lnet/minecraft/class_9336;method_57943(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;named method_57943Lnet/minecraft/class_9336;method_57943(Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult;
-
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-