Package net.minecraft.network.encryption
Record Class NetworkEncryptionUtils.class_7425
java.lang.Object
java.lang.Record
net.minecraft.network.encryption.NetworkEncryptionUtils.class_7425
- Record Components:
salt-signature-
- Enclosing class:
NetworkEncryptionUtils
- Mappings:
Namespace Name official ajp$bintermediary net/minecraft/class_3515$class_7425named net/minecraft/network/encryption/NetworkEncryptionUtils$class_7425official bintermediary comp_739named saltofficial cintermediary comp_740named signature
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NetworkEncryptionUtils.class_7425private final longThe field for thesaltrecord component.private final byte[]The field for thesignaturerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7425(long long2, byte[] byte2) class_7425(PacketByteBuf packetByteBuf) -
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.booleanvoidmethod_43529(PacketByteBuf packetByteBuf) byte[]longsalt()Returns the value of thesaltrecord component.byte[]Returns the value of thesignaturerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
salt
private final long saltThe field for thesaltrecord component. -
signature
private final byte[] signatureThe field for thesignaturerecord component. -
field_39040
- Mappings:
Namespace Name Mixin selector official aLajp$b;a:Lajp$b;intermediary field_39040Lnet/minecraft/class_3515$class_7425;field_39040:Lnet/minecraft/class_3515$class_7425;named field_39040Lnet/minecraft/network/encryption/NetworkEncryptionUtils$class_7425;field_39040:Lnet/minecraft/network/encryption/NetworkEncryptionUtils$class_7425;
-
-
Constructor Details
-
class_7425
-
class_7425
public class_7425(long long2, byte[] byte2)
-
-
Method Details
-
method_43528
public boolean method_43528()- Mappings:
Namespace Name Mixin selector official aLajp$b;a()Zintermediary method_43528Lnet/minecraft/class_3515$class_7425;method_43528()Znamed method_43528Lnet/minecraft/network/encryption/NetworkEncryptionUtils$class_7425;method_43528()Z
-
method_43529
- Mappings:
Namespace Name Mixin selector official aLajp$b;a(Lqn;)Vintermediary method_43529Lnet/minecraft/class_3515$class_7425;method_43529(Lnet/minecraft/class_2540;)Vnamed method_43529Lnet/minecraft/network/encryption/NetworkEncryptionUtils$class_7425;method_43529(Lnet/minecraft/network/PacketByteBuf;)V
-
method_43530
public byte[] method_43530()- Mappings:
Namespace Name Mixin selector official bLajp$b;b()[Bintermediary method_43530Lnet/minecraft/class_3515$class_7425;method_43530()[Bnamed method_43530Lnet/minecraft/network/encryption/NetworkEncryptionUtils$class_7425;method_43530()[B
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
salt
public long salt()Returns the value of thesaltrecord component.- Returns:
- the value of the
saltrecord component
-
signature
public byte[] signature()Returns the value of thesignaturerecord component.- Returns:
- the value of the
signaturerecord component
-