Pommel - Held Item Models

Pommel - Held Item Models

Mod

Fabric mod that allows resource pack creators to overwrite the models for held items just like the spyglass and trident

Client DecorationEquipmentUtility

25.7k downloads
55 followers
Follow Save

[1.21.x] Pommel - Held Item Models 1.2.1+1.21.x

Changelog

Additions:

  • New predicate: pommel:first_third_person

    • Value of 0.5 changes the model specified when in first person, value of 1.0 changes the model when in third person.
    • Example JSON:
    {
      "parent": "minecraft:item/handheld",
      "textures": {
        "layer0": "minecraft:item/stick"
      },
      "overrides": [
        { "predicate": { "pommel:first_third_person": 0.5 }, "model": "minecraft:item/pommel_held_models/wooden_axe" },
        { "predicate": { "pommel:first_third_person": 1.0 }, "model": "minecraft:item/pommel_held_models/golden_axe" }
      ]
    }
    
    
    • Item will change to custom "wooden_axe" model when in first person, and will change to custom "golden_axe" model when in third person. Other cases will render "stick".

Fixes:

  • Using an item with is_used predicate will now properly reset when swapping to a new item. Before it could change item models for a couple ticks when you switch to a new item.
  • Fixed a crash when right clicking with a shield with a banner pattern, or other similar items that have component range values.
  • Predicate is_submerged will now properly work with thrown item entities. Item entities will now properly change to the specified is_submerged model when in water, and will stay in that state when out of water.
    • Before, item entities would only use the is_submerged model even when they weren't suppposed to.

Files

pommel-held-items-1.2.1+1.21.x.jar(44.75 KiB) Primary Download

Project members

TimmyChips

Member

Details

Licensed MIT
Published a year ago
Updated 2 days ago