From 7520422298daf7b2951aea2798d08d648d55bb50 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Thu, 26 Jun 2025 13:26:38 +0200 Subject: [PATCH] Add default.json to fix heavy_weighted_pressure_plate.json --- .../item/heavy_weighted_pressure_plate.json | 32 +++++++++++-------- .../default.json | 6 ++++ 2 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 9/assets/minecraft/models/item/heavy_weighted_pressure_plate/default.json diff --git a/9/assets/minecraft/models/item/heavy_weighted_pressure_plate.json b/9/assets/minecraft/models/item/heavy_weighted_pressure_plate.json index 3e47811..228cb9c 100644 --- a/9/assets/minecraft/models/item/heavy_weighted_pressure_plate.json +++ b/9/assets/minecraft/models/item/heavy_weighted_pressure_plate.json @@ -1,16 +1,20 @@ { - "parent": "minecraft:block/pressure_plate_up", - "textures": { - "layer0": "minecraft:block/iron_block" - }, - "overrides": - [ - { - "predicate": - { - "custom_model_data":1 - }, - "model": "item/heavy_weighted_pressure_plate/1" - } - ] + "parent": "minecraft:block/pressure_plate_up", + "textures": { + "layer0": "minecraft:block/iron_block" + }, + "overrides": [ + { + "predicate": { + "custom_model_data": 0 + }, + "model": "item/heavy_weighted_pressure_plate/default" + }, + { + "predicate": { + "custom_model_data": 1 + }, + "model": "item/heavy_weighted_pressure_plate/1" + } + ] } \ No newline at end of file diff --git a/9/assets/minecraft/models/item/heavy_weighted_pressure_plate/default.json b/9/assets/minecraft/models/item/heavy_weighted_pressure_plate/default.json new file mode 100644 index 0000000..d0dd064 --- /dev/null +++ b/9/assets/minecraft/models/item/heavy_weighted_pressure_plate/default.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/pressure_plate_up", + "textures": { + "texture": "minecraft:block/iron_block" + } +} \ No newline at end of file