rputils

Quick rating

Community listing page, reviews here may not be monitored by the author.

rputils

No reviews yet

just some extra resourcepack utilities

Mod Loaders
Minecraft

About

Description

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](https://modrinth.com/resourcepack/weskersons-torches)

![a lit torch](https://cdn.modrinth.com/data/cached_images/6bfef297b3e2cbe8c63a0b4b1d618442554f6e95.png)


![a unlit torch](https://cdn.modrinth.com/data/cached_images/375815888fdbd3fcd3d0dbcd442f1fed0c5e6c64_0.webp)

on modrinth:https://modrinth.com/mod/rpputils

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"
    }
  }
}

```

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"
    }
  }
}