Interface IBreastArmorTexture
- All Known Implementing Classes:
BreastArmorTexture
public interface IBreastArmorTexture
Defines the texture data for a given armor piece when covering an entity's breasts
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IBreastArmorTexture> static final IBreastArmorTextureDefault breast texture values, supplying values for armors directly compatible with the vanilla armor renderer.static final org.joml.Vector2icstatic final org.joml.Vector2icDeprecated.static final org.joml.Vector2icDeprecated.static final org.joml.Vector2icstatic final UVMap -
Method Summary
Modifier and TypeMethodDescriptiondefault org.joml.Vector2icDeprecated.default org.joml.Vector2icleftUv()Deprecated.This property is no longer used; useuvs()insteaddefault org.joml.Vector2icrightUv()Deprecated.This property is no longer used; useuvs()insteaddefault org.joml.Vector2icThe size of the armor sprite in pixelsdefault UVMapuvs()
-
Field Details
-
DEFAULT
Default breast texture values, supplying values for armors directly compatible with the vanilla armor renderer. -
DEFAULT_TEXTURE_SIZE
static final org.joml.Vector2ic DEFAULT_TEXTURE_SIZE -
DEFAULT_DIMENSIONS
static final org.joml.Vector2ic DEFAULT_DIMENSIONS -
DEFAULT_LEFT_UV
Deprecated. -
DEFAULT_RIGHT_UV
Deprecated. -
DEFAULT_UVS
-
CODEC
-
-
Method Details
-
textureSize
default org.joml.Vector2ic textureSize()The size of the armor sprite in pixels- Returns:
- A
Vector2icindicating how large the texture file is - Implementation Note:
- Defaults to
Vector2ic(64, 32)
-
dimensions
Deprecated.This property is no longer used; useuvs()instead -
leftUv
Deprecated.This property is no longer used; useuvs()instead -
rightUv
Deprecated.This property is no longer used; useuvs()instead -
uvs
- Returns:
- The UV layout
- API Note:
- The returned
UVMapis expected to consist ofimmutable layouts
-
uvs()instead