Interface PigVariantRegistryEntry

All Known Subinterfaces:
PigVariantRegistryEntry.Builder

@Experimental @NonExtendable public interface PigVariantRegistryEntry
A data-centric version-specific registry entry for the Pig.Variant type.
Since:
1.21.6
  • Method Details

    • clientTextureAsset

      ClientTextureAsset clientTextureAsset()
      Provides the client texture asset of the pig variant, which represents the texture to use.
      Returns:
      the client texture asset.
      Since:
      1.21.6
    • babyClientTextureAsset

      ClientTextureAsset babyClientTextureAsset()
      Provides the client texture asset of the baby pig variant, which represents the texture to use.
      Returns:
      the baby client texture asset.
      Since:
      26.1.2
    • model

      Provides the model of the pig variant.
      Returns:
      the model.
      Since:
      1.21.6