diff --git a/Chappeau Datapack/data/chappeau/functions/squiddoprint.mcfunction b/Chappeau Datapack/data/chappeau/functions/squiddoprint.mcfunction index d122b31..c389287 100644 --- a/Chappeau Datapack/data/chappeau/functions/squiddoprint.mcfunction +++ b/Chappeau Datapack/data/chappeau/functions/squiddoprint.mcfunction @@ -41,6 +41,9 @@ execute if block ~ ~1 ~ minecraft:hopper{Items:[{Slot:0b, id:"minecraft:grass"}, execute if block ~ ~1 ~ minecraft:hopper{Items:[{Slot:0b, id:"minecraft:seagrass"}, {Slot:1b, id:"minecraft:paper", tag:{display: {Name: '{"text":"oddish.gcode"}'}}}]} run data modify entity @e[type=minecraft:glow_item_frame, distance=0..1, limit=1] Item set value {id:"minecraft:seagrass", tag:{CustomModelData:1, display:{Name:'{"text":"Oddish"}'}}, Count:1b} execute if block ~ ~1 ~ minecraft:hopper{Items:[{Slot:0b, id:"minecraft:seagrass"}, {Slot:1b, id:"minecraft:paper", tag:{display: {Name: '{"text":"oddish.gcode"}'}}}]} run data modify block ~ ~1 ~ Items[{Slot:0b}] merge value {Count:0b} +execute if block ~ ~1 ~ minecraft:hopper{Items:[{Slot:0b, id:"minecraft:radish"}, {Slot:1b, id:"minecraft:paper", tag:{display: {Name: '{"text":"oddish.gcode"}'}}}]} run data modify entity @e[type=minecraft:glow_item_frame, distance=0..1, limit=1] Item set value {id:"minecraft:radish", tag:{CustomModelData:1, display:{Name:'{"text":"Ancestor"}'}}, Count:1b} +execute if block ~ ~1 ~ minecraft:hopper{Items:[{Slot:0b, id:"minecraft:radish"}, {Slot:1b, id:"minecraft:paper", tag:{display: {Name: '{"text":"oddish.gcode"}'}}}]} run data modify block ~ ~1 ~ Items[{Slot:0b}] merge value {Count:0b} + execute if block ~ ~1 ~ minecraft:hopper{Items:[{Slot:0b, id:"minecraft:ender_eye"}, {Slot:1b, id:"minecraft:paper", tag:{display: {Name: '{"text":"scarlet_pearl.gcode"}'}}}]} run data modify entity @e[type=minecraft:glow_item_frame, distance=0..1, limit=1] Item set value {id:"minecraft:ender_eye", tag:{CustomModelData:1, display:{Name:'{"text":"Scarlet Pearl"}'}}, Count:1b} execute if block ~ ~1 ~ minecraft:hopper{Items:[{Slot:0b, id:"minecraft:ender_eye"}, {Slot:1b, id:"minecraft:paper", tag:{display: {Name: '{"text":"scarlet_pearl.gcode"}'}}}]} run data modify block ~ ~1 ~ Items[{Slot:0b}] merge value {Count:0b} diff --git a/Chappeau Resourcepack/assets/minecraft/models/item/custom/ancestor.json b/Chappeau Resourcepack/assets/minecraft/models/item/custom/ancestor.json new file mode 100644 index 0000000..2e5adfe --- /dev/null +++ b/Chappeau Resourcepack/assets/minecraft/models/item/custom/ancestor.json @@ -0,0 +1,6 @@ +{ + "parent": "item/custom/sphere_with_the_leaves", + "textures": { + "0": "item/ancestor" + } +} diff --git a/Chappeau Resourcepack/assets/minecraft/models/item/radish.json b/Chappeau Resourcepack/assets/minecraft/models/item/radish.json new file mode 100644 index 0000000..8dcf283 --- /dev/null +++ b/Chappeau Resourcepack/assets/minecraft/models/item/radish.json @@ -0,0 +1,9 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "minecraft:item/radish" + }, + "overrides": [ + {"predicate": {"custom_model_data": 1}, "model": "item/custom/ancestor"} + ] +} diff --git a/Chappeau Resourcepack/assets/minecraft/textures/item/ancestor.png b/Chappeau Resourcepack/assets/minecraft/textures/item/ancestor.png new file mode 100644 index 0000000..bf7cddb Binary files /dev/null and b/Chappeau Resourcepack/assets/minecraft/textures/item/ancestor.png differ diff --git a/README.md b/README.md index 36e648f..10ab61d 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,10 @@ Command to Obtain: `/give @s minecraft:grass{CustomModelData:1}` "Filename" for 3D printing: `oddish.gcode` +_**Bonus**: use seagrass instead of regular grass and you'll get a yellow oddish, which is +part of OpenBagTwo family lore_. Put in a radish instead, and you'll get a red variant +dubbed an "Ancestor." + #### [Scarlet Pearl](https://www.youtube.com/pearlescentmoon) Base Item: Eye of Ender