Package net.minecraft
Record Class class_10693<T>
java.lang.Object
java.lang.Record
net.minecraft.class_10693<T>
- Record Components:
model-asset-
- Mappings:
Namespace Name named net/minecraft/class_10693intermediary net/minecraft/class_10693official cssnamed modelintermediary comp_3572official anamed assetintermediary comp_3573official b
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionclass_10693(T t, class_10726 class_10726) class_10693(T t, Identifier identifier) -
Method Summary
Modifier and TypeMethodDescriptionasset()Returns the value of theassetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static <T> com.mojang.serialization.MapCodec<class_10693<T>> method_67154(com.mojang.serialization.Codec<T> codec, T t) static <T> PacketCodec<RegistryByteBuf, class_10693<T>> method_67156(PacketCodec<? super RegistryByteBuf, T> packetCodec) model()Returns the value of themodelrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_10693
-
class_10693
-
-
Method Details
-
method_67154
public static <T> com.mojang.serialization.MapCodec<class_10693<T>> method_67154(com.mojang.serialization.Codec<T> codec, T t) - Mappings:
Namespace Name Mixin selector named method_67154Lnet/minecraft/class_10693;method_67154(Lcom/mojang/serialization/Codec;Ljava/lang/Object;)Lcom/mojang/serialization/MapCodec;intermediary method_67154Lnet/minecraft/class_10693;method_67154(Lcom/mojang/serialization/Codec;Ljava/lang/Object;)Lcom/mojang/serialization/MapCodec;official aLcss;a(Lcom/mojang/serialization/Codec;Ljava/lang/Object;)Lcom/mojang/serialization/MapCodec;
-
method_67156
public static <T> PacketCodec<RegistryByteBuf,class_10693<T>> method_67156(PacketCodec<? super RegistryByteBuf, T> packetCodec) - Mappings:
Namespace Name Mixin selector named method_67156Lnet/minecraft/class_10693;method_67156(Lnet/minecraft/network/codec/PacketCodec;)Lnet/minecraft/network/codec/PacketCodec;intermediary method_67156Lnet/minecraft/class_10693;method_67156(Lnet/minecraft/class_9139;)Lnet/minecraft/class_9139;official aLcss;a(Lyu;)Lyu;
-
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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
asset
Returns the value of theassetrecord component.- Returns:
- the value of the
assetrecord component
-