HomeJavaModsRPPutils

Adds custom item properties, for now it is only submerged predicate that lets items change when the player is underwater. More properties coming soon.

example with Weskerson's torches

a lit torch

a unlit torch

how to use on

minecraft/items
{
  "model": {
    "type": "minecraft:condition",
    "property": "rj:submerged",
    "on_true": {
      "type": "minecraft:model",
      "model": "minecraft:item/underwater_item"
    },
    "on_false": {
      "type": "minecraft:model",
      "model": "minecraft:item/normal_item"
    }
  }
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more