Interface ItemModelGeneratorsExtension

All Known Implementing Classes:
ItemModelGenerators

public interface ItemModelGeneratorsExtension
  • Method Details

    • generateDynamicTrimmableArmorSet

      default void generateDynamicTrimmableArmorSet(Item helmet, Item chestplate, Item leggings, Item boots, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform)
      Generate armor item models with dynamic trim support
      Parameters:
      helmet - The helmet item to generate the model for
      chestplate - The chestplate item to generate the model for
      leggings - The leggings item to generate the model for
      boots - The boots item to generate the model for
      paletteTransform - The palette that should be transformed to another one if any
    • generateDynamicTrimmableArmorSet

      default void generateDynamicTrimmableArmorSet(Item helmet, Item chestplate, Item leggings, Item boots, int color, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform)
      Generate armor item models with dynamic trim support
      Parameters:
      helmet - The helmet item to generate the model for
      chestplate - The chestplate item to generate the model for
      leggings - The leggings item to generate the model for
      boots - The boots item to generate the model for
      color - The default tint color of the item models
      paletteTransform - The palette that should be transformed to another one if any
    • generateDynamicTrimmableItem

      default void generateDynamicTrimmableItem(Item armor, Identifier slotTrimPrefix, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform)
      Generate armor item models with dynamic trim support
      Parameters:
      armor - The armor item to generate the model for
      slotTrimPrefix - The prefix of the trim overlay texture
      paletteTransform - The palette that should be transformed to another one if any
    • generateDynamicTrimmableItem

      default void generateDynamicTrimmableItem(Item armor, Identifier slotTrimPrefix, int color, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform)
      Generate armor item models with dynamic trim support
      Parameters:
      armor - The armor item to generate the model for
      slotTrimPrefix - The prefix of the trim overlay texture
      color - The default tint color of the item model
      paletteTransform - The palette that should be transformed to another one if any
    • generateDynamicTrimmableItem

      default void generateDynamicTrimmableItem(Item armor, Identifier baseArmorModel, Identifier slotTrimPrefix, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform)
      Generate armor item models with dynamic trim support
      Parameters:
      armor - The armor item to generate the model for
      baseArmorModel - The item model to use as a base
      slotTrimPrefix - The prefix of the trim overlay texture
      paletteTransform - The palette that should be transformed to another one if any
    • generateDynamicTrimmableItem

      default void generateDynamicTrimmableItem(Item armor, Identifier baseArmorModel, Identifier slotTrimPrefix, int color, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform)
      Generate armor item models with dynamic trim support
      Parameters:
      armor - The armor item to generate the model for
      baseArmorModel - The item model to use as a base
      slotTrimPrefix - The prefix of the trim overlay texture
      color - The default tint color of the item model
      paletteTransform - The palette that should be transformed to another one if any
    • self

      private ItemModelGenerators self()