Record Class LightUV
java.lang.Object
java.lang.Record
dev.latvian.mods.klib.texture.LightUV
- 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
-
NONE
-
FULLBRIGHT
-
FULL_SKY
-
FULL_BLOCK
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf, LightUV> STREAM_CODEC
-
-
Constructor Details
-
LightUV
public LightUV(int packed) -
LightUV
public LightUV(int u, int v) -
LightUV
public LightUV(int packed, int u, int v) Creates an instance of aLightUVrecord 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
-