Index
All Classes and Interfaces|All Packages
A
- addElement(UVElement) - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Adds an element to the model.
- alpha(int) - Static method in class kr.toxicity.library.dynamicuv.UVUtil
-
Extracts the alpha value from an integer.
- ARGB - Enum constant in enum class kr.toxicity.library.dynamicuv.UVElement.ColorType
-
ARGB color type.
- asJson() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Converts the vector to a JSON array.
- asJson() - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Converts the model to a list of UVByteBuilders as JSON.
- asJson(String) - Method in class kr.toxicity.library.dynamicuv.UVElement
-
Converts the element to a JSON object.
- asJson(UVLoadContext) - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Converts the model to a list of UVByteBuilders as JSON.
- asJson(UVTextureName) - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Converts the model to a list of UVByteBuilders as JSON.
- asJson(UVTextureName, UVIndexFunction) - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Converts the model to a list of UVByteBuilders as JSON.
- asset(String) - Method in class kr.toxicity.library.dynamicuv.UVNamespace
-
Formats an asset name with the namespace and directory.
B
- build() - Method in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
Builds the byte array.
- build() - Method in class kr.toxicity.library.dynamicuv.UVModelData.Builder
-
Builds the UVModelData.
- build(UVIndexer, UVNamespace, JsonArray) - Method in interface kr.toxicity.library.dynamicuv.UVBuildFunction
-
Builds the UV model.
- builder() - Static method in record class kr.toxicity.library.dynamicuv.UVModelData
-
Creates a new builder for UVModelData.
- buildFunction() - Method in record class kr.toxicity.library.dynamicuv.UVLoadContext
-
Returns the value of the
buildFunctionrecord component.
C
- CENTER - Static variable in record class kr.toxicity.library.dynamicuv.ElementVector
-
The center vector (8, 8, 8).
- color() - Method in class kr.toxicity.library.dynamicuv.UVIndexer
-
Gets the next color index.
- colors() - Method in class kr.toxicity.library.dynamicuv.UVModelData.Builder
-
Gets the list of colors.
- colors() - Method in record class kr.toxicity.library.dynamicuv.UVModelData
-
Returns the value of the
colorsrecord component. - colorType() - Method in class kr.toxicity.library.dynamicuv.UVElement
-
Gets the color type.
- COMPLEX_ARGB - Enum constant in enum class kr.toxicity.library.dynamicuv.UVElement.ColorType
-
Complex ARGB color type.
- consume(float, float) - Method in interface kr.toxicity.library.dynamicuv.UVAxis.LineConsumer
-
Consumes the horizontal and vertical coordinates.
- consume(int, int) - Method in interface kr.toxicity.library.dynamicuv.UVPos.UVConsumer
-
Consumes the given coordinates.
D
- DEFAULT - Static variable in record class kr.toxicity.library.dynamicuv.UVTextureName
-
The default texture names.
- div(float) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Divides the vector coordinates by the given scalar.
- div(float, float, float) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Divides the vector coordinates by the given divisors.
- DOWN - Enum constant in enum class kr.toxicity.library.dynamicuv.UVFace
-
The down face.
E
- EAST - Enum constant in enum class kr.toxicity.library.dynamicuv.UVFace
-
The east face.
- ElementVector - Record Class in kr.toxicity.library.dynamicuv
-
Represents a 3D vector for elements.
- ElementVector(float, float, float) - Constructor for record class kr.toxicity.library.dynamicuv.ElementVector
-
Creates an instance of a
ElementVectorrecord class. - equals(Object) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.library.dynamicuv.UVLoadContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.library.dynamicuv.UVMappedFace
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.library.dynamicuv.UVModelData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.library.dynamicuv.UVPos
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class kr.toxicity.library.dynamicuv.UVTextureName
-
Indicates whether some other object is "equal to" this one.
- estimatedSize() - Method in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
Gets the estimated size of the byte array.
F
- face() - Method in record class kr.toxicity.library.dynamicuv.UVMappedFace
-
Returns the value of the
facerecord component. - faces() - Method in class kr.toxicity.library.dynamicuv.UVElement
-
Gets the list of mapped faces.
- flag() - Method in class kr.toxicity.library.dynamicuv.UVIndexer
-
Gets the next flag index.
- flags() - Method in class kr.toxicity.library.dynamicuv.UVModelData.Builder
-
Gets the list of flags.
- flags() - Method in record class kr.toxicity.library.dynamicuv.UVModelData
-
Returns the value of the
flagsrecord component. - floats() - Method in class kr.toxicity.library.dynamicuv.UVIndexer
-
Gets the next float index.
- floats() - Method in class kr.toxicity.library.dynamicuv.UVModelData.Builder
-
Gets the list of floats.
- floats() - Method in record class kr.toxicity.library.dynamicuv.UVModelData
-
Returns the value of the
floatsrecord component. - from() - Method in class kr.toxicity.library.dynamicuv.UVElement
-
Gets the starting vector.
G
- GSON - Static variable in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
The GSON instance used for JSON serialization.
H
- hashCode() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.library.dynamicuv.UVLoadContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.library.dynamicuv.UVMappedFace
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.library.dynamicuv.UVModelData
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.library.dynamicuv.UVPos
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Returns a hash code value for this object.
- hashCode() - Method in record class kr.toxicity.library.dynamicuv.UVTextureName
-
Returns a hash code value for this object.
I
- indexFunction() - Method in record class kr.toxicity.library.dynamicuv.UVLoadContext
-
Returns the value of the
indexFunctionrecord component. - indexing(int) - Method in interface kr.toxicity.library.dynamicuv.UVIndexFunction
-
Generates an index string for the given index.
- inflate(float) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Inflates the vector by the given amount.
- item(String) - Method in class kr.toxicity.library.dynamicuv.UVNamespace
-
Formats an item asset name.
- itemModelNamespace() - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Gets the item model namespace.
- iterate(ElementVector, UVSpace, ElementVector, UVAxis.LineConsumer) - Method in enum class kr.toxicity.library.dynamicuv.UVAxis
-
Iterates over the UV space based on the axis.
- iterate(UVElement, Consumer<UVMappedFace>) - Method in enum class kr.toxicity.library.dynamicuv.UVFace
-
Iterates over the mapped faces for the given element.
- iterate(UVPos, UVPos.UVConsumer) - Method in record class kr.toxicity.library.dynamicuv.UVPos
-
Iterates over a rectangular region starting from this position.
K
- kr.toxicity.library.dynamicuv - package kr.toxicity.library.dynamicuv
M
- mapVector(ElementVector) - Method in enum class kr.toxicity.library.dynamicuv.UVFace
-
Maps the given vector according to the face's orientation.
- max(ElementVector, ElementVector) - Static method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns a vector with the maximum coordinates of the two given vectors.
- min(ElementVector, ElementVector) - Static method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns a vector with the minimum coordinates of the two given vectors.
- minus(float, float, float) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Subtracts the given coordinates from this vector.
- minus(ElementVector) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Subtracts the given vector from this vector.
- model() - Method in class kr.toxicity.library.dynamicuv.UVIndexer
-
Gets the next model index.
- model(String) - Method in class kr.toxicity.library.dynamicuv.UVNamespace
-
Formats a model asset name.
- modelName() - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Gets the model name.
- mul(float) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Multiplies the vector coordinates by the given scalar.
- mul(float, float, float) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Multiplies the vector coordinates by the given factors.
N
- normalPixel() - Method in record class kr.toxicity.library.dynamicuv.UVTextureName
-
Returns the value of the
normalPixelrecord component. - normalPixel(UVNamespace) - Method in record class kr.toxicity.library.dynamicuv.UVTextureName
-
Creates a UVByteBuilder for the normal pixel texture.
- normalPixel(UVNamespace, String) - Static method in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
Creates a UVByteBuilder for a normal pixel texture.
- NORTH - Enum constant in enum class kr.toxicity.library.dynamicuv.UVFace
-
The north face.
O
- of(String, long, JsonElement) - Static method in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
Creates a UVByteBuilder from a JSON element.
- of(String, long, Supplier<byte[]>) - Static method in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
Creates a UVByteBuilder from a byte array supplier.
- of(String, BufferedImage) - Static method in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
Creates a UVByteBuilder from a BufferedImage.
P
- packModel(String, JsonArray) - Static method in class kr.toxicity.library.dynamicuv.UVUtil
-
Packs a model into a JSON object.
- packName() - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Gets the pack name.
- packName(String) - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Sets the pack name.
- path() - Method in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
Gets the path of the asset.
- pixel() - Method in class kr.toxicity.library.dynamicuv.UVElement
-
Gets the pixel vector.
- pixel() - Method in record class kr.toxicity.library.dynamicuv.UVMappedFace
-
Returns the value of the
pixelrecord component. - plus(float, float, float) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Adds the given coordinates to this vector.
- plus(ElementVector) - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Adds the given vector to this vector.
- position() - Method in record class kr.toxicity.library.dynamicuv.UVMappedFace
-
Returns the value of the
positionrecord component. - posOf(UVSpace) - Method in enum class kr.toxicity.library.dynamicuv.UVFace
-
Gets the UV position for the given space according to the face's orientation.
- posXY() - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Returns the UV position in the XY plane.
- posXZ() - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Returns the UV position in the XZ plane.
- posZY() - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Returns the UV position in the ZY plane.
R
- rgb(int) - Static method in class kr.toxicity.library.dynamicuv.UVUtil
-
Extracts the RGB value from an integer.
- RGB - Enum constant in enum class kr.toxicity.library.dynamicuv.UVElement.ColorType
-
RGB color type.
S
- shiftColor(int) - Method in class kr.toxicity.library.dynamicuv.UVIndexer
-
Shifts the color index by the given amount.
- shiftFlag(int) - Method in class kr.toxicity.library.dynamicuv.UVIndexer
-
Shifts the flag index by the given amount.
- shiftFloats(int) - Method in class kr.toxicity.library.dynamicuv.UVIndexer
-
Shifts the float index by the given amount.
- shiftModel(int) - Method in class kr.toxicity.library.dynamicuv.UVIndexer
-
Shifts the model index by the given amount.
- SOUTH - Enum constant in enum class kr.toxicity.library.dynamicuv.UVFace
-
The south face.
- space() - Method in class kr.toxicity.library.dynamicuv.UVElement
-
Gets the UV space.
T
- texture(String) - Method in class kr.toxicity.library.dynamicuv.UVNamespace
-
Formats a texture asset name.
- textureName() - Method in record class kr.toxicity.library.dynamicuv.UVLoadContext
-
Returns the value of the
textureNamerecord component. - to() - Method in class kr.toxicity.library.dynamicuv.UVElement
-
Gets the ending vector.
- toModelLocation() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Converts this vector to model location (multiplies by 16).
- toString() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.library.dynamicuv.UVLoadContext
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.library.dynamicuv.UVMappedFace
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.library.dynamicuv.UVModelData
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.library.dynamicuv.UVPos
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Returns a string representation of this record class.
- toString() - Method in record class kr.toxicity.library.dynamicuv.UVTextureName
-
Returns a string representation of this record class.
- toTextureAssets(UVTextureName) - Method in class kr.toxicity.library.dynamicuv.UVNamespace
-
Converts a UVTextureName to texture assets.
- translucentPixel() - Method in record class kr.toxicity.library.dynamicuv.UVTextureName
-
Returns the value of the
translucentPixelrecord component. - translucentPixel(UVNamespace) - Method in record class kr.toxicity.library.dynamicuv.UVTextureName
-
Creates a UVByteBuilder for the translucent pixel texture.
- translucentPixel(UVNamespace, String) - Static method in interface kr.toxicity.library.dynamicuv.UVByteBuilder
-
Creates a UVByteBuilder for a translucent pixel texture.
U
- UP - Enum constant in enum class kr.toxicity.library.dynamicuv.UVFace
-
The up face.
- UVAxis - Enum Class in kr.toxicity.library.dynamicuv
-
Represents the axes for UV mapping iteration.
- UVAxis.LineConsumer - Interface in kr.toxicity.library.dynamicuv
-
A functional interface for consuming line coordinates.
- UVBuildFunction - Interface in kr.toxicity.library.dynamicuv
-
A functional interface for building UV models.
- UVByteBuilder - Interface in kr.toxicity.library.dynamicuv
-
A builder for creating byte arrays for UV assets.
- UVElement - Class in kr.toxicity.library.dynamicuv
-
Represents a UV element.
- UVElement(ElementVector, ElementVector, UVSpace, UVElement.ColorType, Map<UVFace, UVPos>) - Constructor for class kr.toxicity.library.dynamicuv.UVElement
-
Creates a new UV element.
- UVElement.ColorType - Enum Class in kr.toxicity.library.dynamicuv
-
Represents the color type of the UV element.
- UVFace - Enum Class in kr.toxicity.library.dynamicuv
-
Represents the faces of a UV element.
- UVIndexer - Class in kr.toxicity.library.dynamicuv
-
Manages indexing for UV models, colors, flags, and floats.
- UVIndexer() - Constructor for class kr.toxicity.library.dynamicuv.UVIndexer
- UVIndexFunction - Interface in kr.toxicity.library.dynamicuv
-
A functional interface for generating index strings.
- UVLoadContext - Record Class in kr.toxicity.library.dynamicuv
-
Represents the context for loading UV models.
- UVLoadContext(UVTextureName, UVIndexFunction, UVBuildFunction) - Constructor for record class kr.toxicity.library.dynamicuv.UVLoadContext
-
Creates an instance of a
UVLoadContextrecord class. - UVMappedFace - Record Class in kr.toxicity.library.dynamicuv
-
Represents a mapped face in UV coordinates.
- UVMappedFace(UVFace, ElementVector, ElementVector) - Constructor for record class kr.toxicity.library.dynamicuv.UVMappedFace
-
Creates an instance of a
UVMappedFacerecord class. - UVModel - Class in kr.toxicity.library.dynamicuv
-
Represents a UV model.
- UVModel(UVNamespace, String) - Constructor for class kr.toxicity.library.dynamicuv.UVModel
-
Creates a new UV model.
- UVModelData - Record Class in kr.toxicity.library.dynamicuv
-
Represents the data of a UV model.
- UVModelData(FloatList, BooleanList, IntList) - Constructor for record class kr.toxicity.library.dynamicuv.UVModelData
-
Creates an instance of a
UVModelDatarecord class. - UVModelData.Builder - Class in kr.toxicity.library.dynamicuv
-
Builder for UVModelData.
- uvName() - Method in enum class kr.toxicity.library.dynamicuv.UVFace
-
Gets the name of the UV face.
- UVNamespace - Class in kr.toxicity.library.dynamicuv
-
Represents a namespace for UV assets.
- UVNamespace(String, String) - Constructor for class kr.toxicity.library.dynamicuv.UVNamespace
-
Creates a new UV namespace.
- UVPos - Record Class in kr.toxicity.library.dynamicuv
-
Represents a 2D position in the UV space.
- UVPos(int, int) - Constructor for record class kr.toxicity.library.dynamicuv.UVPos
-
Creates an instance of a
UVPosrecord class. - UVPos.UVConsumer - Interface in kr.toxicity.library.dynamicuv
-
A functional interface for consuming UV coordinates.
- UVSpace - Record Class in kr.toxicity.library.dynamicuv
-
Represents a 3D space in UV coordinates.
- UVSpace(int, int, int) - Constructor for record class kr.toxicity.library.dynamicuv.UVSpace
-
Creates an instance of a
UVSpacerecord class. - UVTextureName - Record Class in kr.toxicity.library.dynamicuv
-
Represents the names of the textures used in UV mapping.
- UVTextureName(String, String) - Constructor for record class kr.toxicity.library.dynamicuv.UVTextureName
-
Creates an instance of a
UVTextureNamerecord class. - UVUtil - Class in kr.toxicity.library.dynamicuv
-
Utility class for UV operations.
V
- valueOf(String) - Static method in enum class kr.toxicity.library.dynamicuv.UVAxis
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class kr.toxicity.library.dynamicuv.UVElement.ColorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class kr.toxicity.library.dynamicuv.UVFace
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class kr.toxicity.library.dynamicuv.UVAxis
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class kr.toxicity.library.dynamicuv.UVElement.ColorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class kr.toxicity.library.dynamicuv.UVFace
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WEST - Enum constant in enum class kr.toxicity.library.dynamicuv.UVFace
-
The west face.
- write(BufferedImage) - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Writes the model to a UVModelData object.
- write(BufferedImage, Consumer<UVModelData.Builder>) - Method in class kr.toxicity.library.dynamicuv.UVModel
-
Writes the model to a UVModelData object.
X
- x() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns the value of the
xrecord component. - x() - Method in record class kr.toxicity.library.dynamicuv.UVPos
-
Returns the value of the
xrecord component. - x() - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Returns the value of the
xrecord component. - xy() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns a new vector with only the X and Y components (Z is 0).
- XY - Enum constant in enum class kr.toxicity.library.dynamicuv.UVAxis
-
The XY plane.
- xz() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns a new vector with only the X and Z components (Y is 0).
- XZ - Enum constant in enum class kr.toxicity.library.dynamicuv.UVAxis
-
The XZ plane.
Y
- y() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns the value of the
yrecord component. - y() - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Returns the value of the
yrecord component.
Z
- z() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns the value of the
zrecord component. - z() - Method in record class kr.toxicity.library.dynamicuv.UVPos
-
Returns the value of the
zrecord component. - z() - Method in record class kr.toxicity.library.dynamicuv.UVSpace
-
Returns the value of the
zrecord component. - zy() - Method in record class kr.toxicity.library.dynamicuv.ElementVector
-
Returns a new vector with only the Z and Y components (X is 0).
- ZY - Enum constant in enum class kr.toxicity.library.dynamicuv.UVAxis
-
The ZY plane.
All Classes and Interfaces|All Packages