Record Class LinkedSetStreamCodec<B,V>
java.lang.Object
java.lang.Record
dev.latvian.mods.klib.codec.LinkedSetStreamCodec<B,V>
- All Implemented Interfaces:
KLibStreamCodec<B,Set<V>>, net.minecraft.network.codec.StreamCodec<B, Set<V>>, net.minecraft.network.codec.StreamDecoder<B, Set<V>>, net.minecraft.network.codec.StreamEncoder<B, Set<V>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.codec.StreamCodec
net.minecraft.network.codec.StreamCodec.CodecOperation<B,S, T> -
Constructor Summary
ConstructorsConstructorDescriptionLinkedSetStreamCodec(net.minecraft.network.codec.StreamCodec<? super B, V> parent) Creates an instance of aLinkedSetStreamCodecrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.parent()Returns the value of theparentrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface net.minecraft.network.codec.StreamCodec
apply, cast, dispatch, map, mapStream
-
Constructor Details
-
LinkedSetStreamCodec
-
-
Method Details
-
decode
-
encode
-
toString
-
hashCode
-
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). -
parent
-