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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<IBreastArmorTexture>
     
    static final IBreastArmorTexture
    Default breast texture values, supplying values for armors directly compatible with the vanilla armor renderer.
    static final org.joml.Vector2ic
     
    static final org.joml.Vector2ic
    Deprecated.
    static final org.joml.Vector2ic
    Deprecated.
    static final org.joml.Vector2ic
     
    static final UVMap
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.joml.Vector2ic
    Deprecated.
    This property is no longer used; use uvs() instead
    default org.joml.Vector2ic
    Deprecated.
    This property is no longer used; use uvs() instead
    default org.joml.Vector2ic
    Deprecated.
    This property is no longer used; use uvs() instead
    default org.joml.Vector2ic
    The size of the armor sprite in pixels
    default UVMap
    uvs()
     
  • Field Details

    • DEFAULT

      static final IBreastArmorTexture 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 static final org.joml.Vector2ic DEFAULT_LEFT_UV
      Deprecated.
    • DEFAULT_RIGHT_UV

      @Deprecated static final org.joml.Vector2ic DEFAULT_RIGHT_UV
      Deprecated.
    • DEFAULT_UVS

      static final UVMap DEFAULT_UVS
    • CODEC

      @Internal static final com.mojang.serialization.Codec<IBreastArmorTexture> CODEC
  • Method Details

    • textureSize

      default org.joml.Vector2ic textureSize()
      The size of the armor sprite in pixels
      Returns:
      A Vector2ic indicating how large the texture file is
      Implementation Note:
      Defaults to Vector2ic(64, 32)
    • dimensions

      @Deprecated default org.joml.Vector2ic dimensions()
      Deprecated.
      This property is no longer used; use uvs() instead
    • leftUv

      @Deprecated default org.joml.Vector2ic leftUv()
      Deprecated.
      This property is no longer used; use uvs() instead
    • rightUv

      @Deprecated default org.joml.Vector2ic rightUv()
      Deprecated.
      This property is no longer used; use uvs() instead
    • uvs

      default UVMap uvs()
      Returns:
      The UV layout
      API Note:
      The returned UVMap is expected to consist of immutable layouts