promotional bannermobile promotional banner

Context Item Models

Render context-aware 2D & 3D item models: 2D in GUI/inventory and 3D in hand, offhand, ground, item frames, head, and more.

Context Item Models

Render different 2D and 3D item models depending on where and how an item is displayed.

Keep crisp 2D pixel art inside your inventory and hotbar, and seamlessly switch to detailed 3D models when held in hand, in your offhand, dropped on the ground, placed in an item frame, worn on the head, thrown as a projectile, submerged underwater, or enchanted.


✨ Key Features

  • 100% Client-Side — Works in singleplayer and multiplayer servers without requiring installation on the server.

  • Multi-Loader & Multi-Version — Built for Fabric, Forge, and NeoForge, supporting Minecraft 1.20.1–1.21.4.

  • Automatic 1.21.4+ Legacy Bridge — Resource packs and mods using standard models/item/*.json "overrides" automatically work on Minecraft 1.21.4 without rewriting every item model.

  • In-Game Configuration — Toggle features via Mod Menu (Fabric) or the native Mods → Config screen (Forge / NeoForge).


📦 Supported Versions & Loaders

Loader Supported Minecraft Versions
Fabric 1.20.1, 1.20.4, 1.21.1, 1.21.3, 1.21.4
Forge 1.20.1
NeoForge 1.20.4, 1.21.1, 1.21.3, 1.21.4

⚙️ Context Predicates

All predicates use the context_item_models: namespace.

Display & Hand Contexts

Predicate Description Value
context_item_models:is_held Held in first-person or third-person hand 1.0
context_item_models:first_third_person Distinguishes first-person vs. third-person hand view 0.5 (1st) / 1.0 (3rd)
context_item_models:is_offhand Held in the offhand slot 1.0
context_item_models:is_gui Rendered in GUI / hotbar / inventory slots 1.0
context_item_models:is_ground Dropped on the ground as an item entity 1.0
context_item_models:is_fixed Displayed inside an Item Frame 1.0
context_item_models:is_head Equipped in the head / helmet slot 1.0

State & Entity Contexts

Predicate Description Value
context_item_models:is_projectile Rendered as a thrown projectile entity 1.0
context_item_models:is_used Actively being used (eating, aiming, custom use) 1.0
context_item_models:item_use Normalized item use progress 0.0 – 1.0
context_item_models:is_submerged Holder entity is submerged underwater 1.0
context_item_models:is_enchanted Item has an enchantment 1.0
context_item_models:is_misc_entity_holding Held by Villager, Wandering Trader, Witch, Fox, or Panda 1.0
context_item_models:shield_has_banner Shield has a banner pattern applied 1.0

🛠️ Usage for Resource Pack & Mod Authors

Standard Model Overrides (1.20.1 – 1.21.4)

Place your rules in:

assets/<namespace>/models/item/<item>.json

On Minecraft 1.21.4, Context Item Models automatically bridges these overrides for you.

Example:

{
  "parent": "minecraft:item/handheld",
  "textures": {
    "layer0": "mymod:item/my_sword_2d"
  },
  "overrides": [
    {
      "predicate": {
        "context_item_models:is_held": 1.0
      },
      "model": "mymod:item/my_sword_3d"
    },
    {
      "predicate": {
        "context_item_models:is_ground": 1.0
      },
      "model": "mymod:item/my_sword_3d_ground"
    },
    {
      "predicate": {
        "context_item_models:is_fixed": 1.0
      },
      "model": "mymod:item/my_sword_3d_frame"
    }
  ]
}

💡 Priority Tip

Overrides are checked sequentially, so the last matching rule takes priority.

Recommended order:

  1. Set your base/default 2D icon as the item model itself (layer0).

  2. Add general rules first, such as is_held or is_ground.

  3. Place more specific rules, such as is_enchanted or is_submerged, near the bottom.


🔧 Configuration

Settings are saved in:

config/context_item_models.json

They can also be edited in-game.

Option Default Description
enabled true Master toggle for context-based model switching.
legacyOverridesBridge true Automatically bridges models/item/*.json overrides on Minecraft 1.21.4+.

📜 License

Licensed under the MIT License.

© Cobblemore Studio

Context Item Models Team

profile avatar
  • 23
    Followers
  • 27
    Projects
  • 2.9M
    Downloads

More from Cobblemore_StudioView all

  • Enhanced Agriculture project image

    Enhanced Agriculture

    Enhanced Agriculture adds 5-tier fertile farmlands, pressurized irrigation & fertigation, climate-controlled 3D greenhouses, vertical hydroponics, 24 orchard fruit trees, 39 data-driven mineral crops, artisanal brewing, and centralized Agritech telemetry.

    • 107
    • November 28, 2026
  • Poke Backpacks — Sophisticated Addon (Cobblemon Optional) project image

    Poke Backpacks — Sophisticated Addon (Cobblemon Optional)

    Transform your Sophisticated Backpacks into custom 3D animated Pokemon backpacks or perch a Pokemon companion on top — works standalone or with Cobblemon!

    • 96
    • November 28, 2026
  • Cobblemon Botany Pots project image

    Cobblemon Botany Pots

    Cobblemon + Botany Pots Integration

    • 165.5K
    • November 27, 2026
  • Enhanced Drones project image

    Enhanced Drones

    Autonomous FE-powered 3D drones for farming, forestry, ranching, spraying, quarrying, base defense, item/XP collection, lighting, fishing, long-distance cargo, and live first-person FPV flight — with 11 color variants, upgrade chips, and fleet management.

    • 200
    • November 19, 2026
  • Enhanced Agriculture project image

    Enhanced Agriculture

    Enhanced Agriculture adds 5-tier fertile farmlands, pressurized irrigation & fertigation, climate-controlled 3D greenhouses, vertical hydroponics, 24 orchard fruit trees, 39 data-driven mineral crops, artisanal brewing, and centralized Agritech telemetry.

    • 107
    • November 28, 2026
  • Poke Backpacks — Sophisticated Addon (Cobblemon Optional) project image

    Poke Backpacks — Sophisticated Addon (Cobblemon Optional)

    Transform your Sophisticated Backpacks into custom 3D animated Pokemon backpacks or perch a Pokemon companion on top — works standalone or with Cobblemon!

    • 96
    • November 28, 2026
  • Cobblemon Botany Pots project image

    Cobblemon Botany Pots

    Cobblemon + Botany Pots Integration

    • 165.5K
    • November 27, 2026
  • Enhanced Drones project image

    Enhanced Drones

    Autonomous FE-powered 3D drones for farming, forestry, ranching, spraying, quarrying, base defense, item/XP collection, lighting, fishing, long-distance cargo, and live first-person FPV flight — with 11 color variants, upgrade chips, and fleet management.

    • 200
    • November 19, 2026