Interface ItemModelGeneratorsExtension
- All Known Implementing Classes:
ItemModelGenerators
public interface ItemModelGeneratorsExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidgenerateDynamicTrimmableArmorSet(Item helmet, Item chestplate, Item leggings, Item boots, int color, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform) Generate armor item models with dynamic trim supportdefault voidgenerateDynamicTrimmableArmorSet(Item helmet, Item chestplate, Item leggings, Item boots, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform) Generate armor item models with dynamic trim supportdefault voidgenerateDynamicTrimmableItem(Item armor, Identifier slotTrimPrefix, int color, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform) Generate armor item models with dynamic trim supportdefault voidgenerateDynamicTrimmableItem(Item armor, Identifier baseArmorModel, Identifier slotTrimPrefix, int color, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform) Generate armor item models with dynamic trim supportdefault voidgenerateDynamicTrimmableItem(Item armor, Identifier baseArmorModel, Identifier slotTrimPrefix, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform) Generate armor item models with dynamic trim supportdefault voidgenerateDynamicTrimmableItem(Item armor, Identifier slotTrimPrefix, @Nullable TrimmedArmorModel.PaletteTransform paletteTransform) Generate armor item models with dynamic trim supportprivate ItemModelGeneratorsself()
-
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 forchestplate- The chestplate item to generate the model forleggings- The leggings item to generate the model forboots- The boots item to generate the model forpaletteTransform- 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 forchestplate- The chestplate item to generate the model forleggings- The leggings item to generate the model forboots- The boots item to generate the model forcolor- The default tint color of the item modelspaletteTransform- 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 forslotTrimPrefix- The prefix of the trim overlay texturepaletteTransform- 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 forslotTrimPrefix- The prefix of the trim overlay texturecolor- The default tint color of the item modelpaletteTransform- 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 forbaseArmorModel- The item model to use as a baseslotTrimPrefix- The prefix of the trim overlay texturepaletteTransform- 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 forbaseArmorModel- The item model to use as a baseslotTrimPrefix- The prefix of the trim overlay texturecolor- The default tint color of the item modelpaletteTransform- The palette that should be transformed to another one if any
-
self
-