From e0ed0562a393afc964a185023b9051702bcbe041 Mon Sep 17 00:00:00 2001 From: pluto7073 <20planetpluto05@gmail.com> Date: Sun, 10 Apr 2022 18:04:47 -0400 Subject: [PATCH] Fixed that one bug --- .../plutoscoffee/blockstates/coffee_plant.json | 6 +++--- .../plutoscoffee/models/block/coffee_seed.json | 6 ++++++ .../plutoscoffee/textures/blocks/coffee_seed.png | Bin 0 -> 123 bytes .../loot_tables/blocks/coffee_plant.json | 12 ++++-------- 4 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 src/main/resources/assets/plutoscoffee/models/block/coffee_seed.json create mode 100644 src/main/resources/assets/plutoscoffee/textures/blocks/coffee_seed.png diff --git a/src/main/resources/assets/plutoscoffee/blockstates/coffee_plant.json b/src/main/resources/assets/plutoscoffee/blockstates/coffee_plant.json index 61806cd..86a3f0f 100644 --- a/src/main/resources/assets/plutoscoffee/blockstates/coffee_plant.json +++ b/src/main/resources/assets/plutoscoffee/blockstates/coffee_plant.json @@ -1,19 +1,19 @@ { "variants": { "age=0": { - "model": "plutoscoffee:block/coffee_stage0" + "model": "plutoscoffee:block/coffee_seed" }, "age=1": { "model": "plutoscoffee:block/coffee_stage0" }, "age=2": { - "model": "plutoscoffee:block/coffee_stage1" + "model": "plutoscoffee:block/coffee_stage0" }, "age=3": { "model": "plutoscoffee:block/coffee_stage1" }, "age=4": { - "model": "plutoscoffee:block/coffee_stage2" + "model": "plutoscoffee:block/coffee_stage1" }, "age=5": { "model": "plutoscoffee:block/coffee_stage2" diff --git a/src/main/resources/assets/plutoscoffee/models/block/coffee_seed.json b/src/main/resources/assets/plutoscoffee/models/block/coffee_seed.json new file mode 100644 index 0000000..e047664 --- /dev/null +++ b/src/main/resources/assets/plutoscoffee/models/block/coffee_seed.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/crop", + "textures": { + "crop": "plutoscoffee:blocks/coffee_seed" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/plutoscoffee/textures/blocks/coffee_seed.png b/src/main/resources/assets/plutoscoffee/textures/blocks/coffee_seed.png new file mode 100644 index 0000000000000000000000000000000000000000..2d5bfc48ad1ed4aa16eccef8c3c0785fda61193e GIT binary patch literal 123 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`4xTQKAr}70DGLM)f>z8=yu#3S z(SSj1(Zv#nvj!htUH@@j_wcC=R$q*iJNB;qz-H0l9RB*>|6fncnLGHC7N2Hj*nCV} W@Epqy4xm{Kp00i_>zopr7#IKx#VXqX literal 0 HcmV?d00001 diff --git a/src/main/resources/data/plutoscoffee/loot_tables/blocks/coffee_plant.json b/src/main/resources/data/plutoscoffee/loot_tables/blocks/coffee_plant.json index 8d65497..68cef2d 100644 --- a/src/main/resources/data/plutoscoffee/loot_tables/blocks/coffee_plant.json +++ b/src/main/resources/data/plutoscoffee/loot_tables/blocks/coffee_plant.json @@ -20,13 +20,9 @@ "name": "plutoscoffee:coffee_berry", "functions": [ { - "function": "minecraft:apply_bonus", - "enchantment": "minecraft:fortune", - "formula": "minecraft:binomial_with_bonus_count", - "parameters": { - "extra": 3, - "probability": 0.5714286 - } + "function": "minecraft:set_count", + "count": 3, + "add": true } ] } @@ -34,7 +30,7 @@ "conditions": [ { "condition": "minecraft:block_state_property", - "block": "minecraft:potatoes", + "block": "plutoscoffee:coffee_plant", "properties": { "age": "7" }