Record Class OverlayUV
java.lang.Object
java.lang.Record
dev.latvian.mods.klib.texture.OverlayUV
- All Implemented Interfaces:
PackedUV
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.intpacked()Returns the value of thepackedrecord component.final StringtoString()Returns a string representation of this record class.intu()Returns the value of theurecord component.intv()Returns the value of thevrecord component.
-
Field Details
-
NORMAL
-
HURT
-
WHITE
-
WHITE_HURT
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf, OverlayUV> STREAM_CODEC
-
-
Constructor Details
-
OverlayUV
public OverlayUV(int packed) -
OverlayUV
public OverlayUV(int u, int v) -
OverlayUV
public OverlayUV(int packed, int u, int v) Creates an instance of aOverlayUVrecord class.- Parameters:
packed- the value for thepackedrecord componentu- the value for theurecord componentv- the value for thevrecord component
-
-
Method Details
-
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 with thecomparemethod from their corresponding wrapper classes. -
toString
-
packed
-
u
-
v
-