diff --git a/gm4/contributors.json b/gm4/contributors.json index 5eae70787b..c6893e92b2 100644 --- a/gm4/contributors.json +++ b/gm4/contributors.json @@ -83,6 +83,10 @@ "name": "Nik3141", "links": ["https://youtube.com/channel/UCgKd6elt0L3w-d7ryLw-7HQ"] }, + { + "name": "runcows", + "links": ["https://bsky.app/profile/runcows.bsky.social"] + }, { "name": "Scommander", "links": ["https://github.com/Scommander"] diff --git a/gm4_blossoming_pots/README.md b/gm4_blossoming_pots/README.md new file mode 100644 index 0000000000..26681f2b03 --- /dev/null +++ b/gm4_blossoming_pots/README.md @@ -0,0 +1,26 @@ +# Blossoming Pots + +Decorated Pots and Flower Pots extended to allow all kinds of things to be placed in them! Decorate in Style! + +### Features +- Some plants have multiple different heights or options depending on how many items you put in the pot. +- Directional plants are placed oriented towards you. +- Allows you to plant the following + - All Flowers (including 2 tall) + - All Saplings (including azaleas and propagules) + - All Leaves + - Cactus + - All Fungi + - All Dead / Alive Coral & Coral Fans! + - Nether Roots & Vines + - Tall & Short Grass + - Tall & Short Ferns + - Dead Bush + - All Lush Cave Plants + - Sweet Berry Bush + - Sea Pickle + - Most Seeds + - Netherwart + - Chorus Flowers + - All Amethyst Buds & Clusters + - Dripstone diff --git a/gm4_blossoming_pots/beet.yaml b/gm4_blossoming_pots/beet.yaml new file mode 100644 index 0000000000..30173f9cfb --- /dev/null +++ b/gm4_blossoming_pots/beet.yaml @@ -0,0 +1,39 @@ +id: gm4_blossoming_pots +name: Blossoming Pots +version: 3.1.X + +data_pack: + load: . + overlays: + - formats: + min_inclusive: 61 + max_inclusive: 61 + directory: since_61 + +resource_pack: + load: . + +pipeline: + - gm4.plugins.extend.module + +meta: + gm4: + versioning: + schedule_loops: [main] + website: + description: Decorated Pots and Flower Pots extended to allow all kinds of things to be placed in them! Decorate in Style! + recommended: [] + notes: [] + #modrinth: + #project_id: null + #smithed: + #pack_id: null + planetminecraft: + uid: null + video: null + wiki: https://wiki.gm4.co/wiki/Blossoming_Pots + credits: + Creator: + - runcows + Icon Design: + - runcows diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_decorated_pot.json b/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_decorated_pot.json new file mode 100644 index 0000000000..1e7a01afb6 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_decorated_pot.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "use_pot": { + "conditions": { + "location": [ + { + "condition": "minecraft:location_check", + "predicate": { + "block": { + "blocks": [ + "minecraft:decorated_pot" + ] + } + } + } + ] + }, + "trigger": "minecraft:any_block_use" + } + }, + "rewards": { + "function": "gm4_blossoming_pots:decorated/as_player" + } +} diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_flower_pot.json b/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_flower_pot.json new file mode 100644 index 0000000000..78d93fa30c --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_flower_pot.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "use_pot": { + "conditions": { + "location": [ + { + "condition": "minecraft:location_check", + "predicate": { + "block": { + "blocks": [ + "minecraft:flower_pot" + ] + } + } + } + ] + }, + "trigger": "minecraft:any_block_use" + } + }, + "rewards": { + "function": "gm4_blossoming_pots:flower/as_player" + } +} diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_vanilla_flower_pot.json b/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_vanilla_flower_pot.json new file mode 100644 index 0000000000..d4fe314ebc --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/advancement/interact_with_vanilla_flower_pot.json @@ -0,0 +1,22 @@ +{ + "criteria": { + "use_pot": { + "conditions": { + "location": [ + { + "condition": "minecraft:location_check", + "predicate": { + "block": { + "blocks": "#gm4_blossoming_pots:potted_plants" + } + } + } + ] + }, + "trigger": "minecraft:any_block_use" + } + }, + "rewards": { + "function": "gm4_blossoming_pots:vanilla_pot_handling/as_player" + } +} diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/as_player.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/as_player.mcfunction new file mode 100644 index 0000000000..67dfe2ca22 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/as_player.mcfunction @@ -0,0 +1,14 @@ +# Raycasts for pot the player interacted with, then proceeds if necessary +# @s = player who interacted with a decorated pot +# at @s +# run from advancement gm4_blossoming_pots:interact_with_decorated_pot + +# Reset advancement +advancement revoke @s only gm4_blossoming_pots:interact_with_decorated_pot +# Reset temp +data remove storage gm4_blossoming_pots:decorated_pots temp + +function gm4_blossoming_pots:decorated/get_player_rotation +# raycast +execute store result score @s gm4_blossoming_pots.range run attribute @s minecraft:block_interaction_range get 200 +execute anchored eyes positioned ^ ^ ^ run function gm4_blossoming_pots:decorated/raycast diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/check_if_pot_empty.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/check_if_pot_empty.mcfunction new file mode 100644 index 0000000000..3041c1aa03 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/check_if_pot_empty.mcfunction @@ -0,0 +1,9 @@ +# Checks if decorated pot has any items inside before trying to instantiate macro +# @s = temp marker inside decorated pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {id, count} +# run from decorated/raycast + +# kills marker and returns, if pot empty +execute unless data block ~ ~ ~ item run return run kill @s +function gm4_blossoming_pots:decorated/set_count with block ~ ~ ~ item diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/get_player_rotation.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/get_player_rotation.mcfunction new file mode 100644 index 0000000000..31fcb3489f --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/get_player_rotation.mcfunction @@ -0,0 +1,13 @@ +# Gets player rotation data for later +# @s = player who interacted with a decorated pot +# at @s +# run from decorated/as_player + +# player facing west +execute if entity @s[y_rotation=45..135] unless entity @s[y_rotation=45] run return run data modify storage gm4_blossoming_pots:decorated_pots temp.rotation set value 0 +# player facing north +execute if entity @s[y_rotation=135..225] unless entity @s[y_rotation=135] run return run data modify storage gm4_blossoming_pots:decorated_pots temp.rotation set value 90 +# player facing east +execute if entity @s[y_rotation=225..315] unless entity @s[y_rotation=225] run return run data modify storage gm4_blossoming_pots:decorated_pots temp.rotation set value 180 +# player facing south +execute if entity @s[y_rotation=315..405] unless entity @s[y_rotation=315] run return run data modify storage gm4_blossoming_pots:decorated_pots temp.rotation set value -90 diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/in_decorated_pot.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/in_decorated_pot.mcfunction new file mode 100644 index 0000000000..c52da4580e --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/in_decorated_pot.mcfunction @@ -0,0 +1,17 @@ +# Checks the temp markers physical location in the block, to see if it is in the collision box of the decorated pot +# @s = temp marker summoned in parent function +# at @s +# run from decorated/raycast + +# merge marker data for if it doesn't get killed +data merge entity @s {Tags:["gm4_blossoming_pots.temp.decorated_pot","smithed.strict","smithed.entity"],CustomName:'{"text":"gm4_blossoming_pots.temp_marker"}'} + +# if temp marker in physical hit box, return 1 +# dxdydz all 0 bc of MC-123441. +execute at @s align xyz positioned ~0.062499 ~ ~0.062499 if entity @s[dx=0,dy=0,dz=0] \ + at @s align xyz positioned ~-0.062499 ~ ~-0.062499 if entity @s[dx=0,dy=0,dz=0] \ + run return 1 + +# else, kill marker, return fail +kill @s +return fail diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/play_sound.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/play_sound.mcfunction new file mode 100644 index 0000000000..830c133ce9 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/play_sound.mcfunction @@ -0,0 +1,7 @@ +# Literally just plays sound +# @s = temp marker inside decorated pot +# with {place_sound} +# at @s align xyz positioned ~.5 ~.5 ~.5 +# run from decorated/prepare_data + +$playsound $(place_sound) block @a[distance=..16] ~ ~ ~ diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/prepare_data.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/prepare_data.mcfunction new file mode 100644 index 0000000000..209014668b --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/prepare_data.mcfunction @@ -0,0 +1,28 @@ +# Sets up loop for plant stage changes +# @s = temp marker inside decorated pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {id, count} +# run from decorated/set_count + +# early return if displays are already on desired stage, does not check plant type +$execute if score @e[type=minecraft:block_display,distance=..0.1,tag=gm4_blossoming_pots.display.decorated_pot,limit=1] gm4_blossoming_pots.display_stage $(count) run return run kill @s + +$execute store result score $array_len gm4_blossoming_pots.loop run data get storage gm4_blossoming_pots:decorated_pots $(id).$(count) + +# check how many block displays there are present, if there are more than we need, kill all of them and resummon after. This solves partial display cannibalizing +execute store result score $display_count gm4_blossoming_pots.loop if entity @e[type=minecraft:block_display,tag=gm4_blossoming_pots.display.decorated_pot,distance=..0.1] +execute if score $array_len gm4_blossoming_pots.loop < $display_count gm4_blossoming_pots.loop run kill @e[type=minecraft:block_display,tag=gm4_blossoming_pots.display.decorated_pot,distance=..0.1] + +# only use rotation from player if there's no plant there, else overwrite with the plant's rotation value +data modify storage gm4_blossoming_pots:decorated_pots temp.rotation set from entity @e[type=minecraft:block_display,tag=gm4_blossoming_pots.display.decorated_pot,distance=..0.1,limit=1] Rotation[0] + +# initialize other loop data +execute store result storage gm4_blossoming_pots:decorated_pots temp.score int 1 run scoreboard players set @s gm4_blossoming_pots.loop 0 +$data merge storage gm4_blossoming_pots:decorated_pots {temp:{id:"$(id)",count:$(count)}} +$data modify storage gm4_blossoming_pots:decorated_pots temp.data set from storage gm4_blossoming_pots:decorated_pots $(id).$(count)[0] + +function gm4_blossoming_pots:decorated/set_displays with storage gm4_blossoming_pots:decorated_pots temp + +# play sound +$execute if score @s gm4_blossoming_pots.sound matches 1 \ + run function gm4_blossoming_pots:decorated/play_sound with storage gm4_blossoming_pots:decorated_pots $(id) diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/raycast.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/raycast.mcfunction new file mode 100644 index 0000000000..e008aca7bd --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/raycast.mcfunction @@ -0,0 +1,15 @@ +# Main loop for raycasting for the decorated pot the player interacted with +# @s = player who interacted with a decorated pot +# at @s anchored eyes, then marched forward 0.005 over and over +# run from decorated/as_player and self + +# if current location is within the decorated pots hit box, summon a temp marker, set its data with the player rotation, and exit raycast +execute if block ~ ~ ~ minecraft:decorated_pot \ + summon minecraft:marker if function gm4_blossoming_pots:decorated/in_decorated_pot \ + at @s align xyz positioned ~.5 ~.5 ~.5 \ + run return run function gm4_blossoming_pots:decorated/check_if_pot_empty + +scoreboard players remove @s gm4_blossoming_pots.range 1 + +# repeat until find decorated pot or out of range +execute if score @s gm4_blossoming_pots.range matches 1.. positioned ^ ^ ^0.005 run function gm4_blossoming_pots:decorated/raycast diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_count.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_count.mcfunction new file mode 100644 index 0000000000..a31a3cd6b3 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_count.mcfunction @@ -0,0 +1,22 @@ +# Decides if decorated/prepare_data should use maximum or count +# @s = temp marker inside decorated pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {id, count} +# run from decorated/check_if_pot_empty + +# early return for unsupported item +$execute unless data storage gm4_blossoming_pots:decorated_pots $(id) run return run kill @s + +$execute store result score @s gm4_blossoming_pots.loop run data get storage gm4_blossoming_pots:decorated_pots $(id).maximum +# if pot over maximum use maximum as count +$execute unless score @s gm4_blossoming_pots.loop matches $(count).. \ + run data modify storage gm4_blossoming_pots:decorated_pots temp.count set from storage gm4_blossoming_pots:decorated_pots $(id).maximum +# if not, just use count as is +$execute if score @s gm4_blossoming_pots.loop matches $(count).. run data modify storage gm4_blossoming_pots:decorated_pots temp.count set value $(count) + +# set id as well +$data merge storage gm4_blossoming_pots:decorated_pots {temp:{id:"$(id)"}} + +function gm4_blossoming_pots:decorated/prepare_data with storage gm4_blossoming_pots:decorated_pots temp + +kill @s diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_displays.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_displays.mcfunction new file mode 100644 index 0000000000..a5715f07e0 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_displays.mcfunction @@ -0,0 +1,25 @@ +# Main Loop for setting displays to desired stage +# @s = temp marker inside decorated pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {rotation, score, id, count, data} +# run from decorated/prepare_data and self + +# summon if needed +$execute unless entity @e[type=minecraft:block_display,distance=..0.1,tag=gm4_blossoming_pots.display.decorated_pot.$(score),limit=1] \ + run summon minecraft:block_display ~ ~ ~ {view_range:0.7935f,Tags:["gm4_blossoming_pots.display.decorated_pot","gm4_blossoming_pots.display.decorated_pot.$(score)","smithed.entity"],Rotation:[$(rotation)f,0f]} +# merge data and store the success +$execute store success score @s gm4_blossoming_pots.merge_success \ + run data merge entity @e[type=minecraft:block_display,distance=..0.1,tag=gm4_blossoming_pots.display.decorated_pot.$(score),limit=1] $(data) +# set display_stage score to prevent running the loop when the displays are already on the right stage number +$scoreboard players set @e[type=minecraft:block_display,distance=..0.1,tag=gm4_blossoming_pots.display.decorated_pot.$(score),limit=1] gm4_blossoming_pots.display_stage $(count) + +# if a single merge success set sound to play +execute if score @s gm4_blossoming_pots.merge_success matches 1 run scoreboard players set @s gm4_blossoming_pots.sound 1 + +# increment score +execute store result storage gm4_blossoming_pots:decorated_pots temp.score int 1 run scoreboard players add @s gm4_blossoming_pots.loop 1 + +# sets temp.data to next score's data +function gm4_blossoming_pots:decorated/set_temp_data with storage gm4_blossoming_pots:decorated_pots temp +# run again if needed +execute unless score @s gm4_blossoming_pots.loop >= $array_len gm4_blossoming_pots.loop run function gm4_blossoming_pots:decorated/set_displays with storage gm4_blossoming_pots:decorated_pots temp diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_storage.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_storage.mcfunction new file mode 100644 index 0000000000..3c667e89da --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_storage.mcfunction @@ -0,0 +1,3967 @@ +# Sets command storage for decorated pot plants +# @s = null +# run from init + +data modify storage gm4_blossoming_pots:decorated_pots version_history append value "1-26" + +# Data storage layout + # gm4_blossoming_pots:decorated_pots : + # place_sound: sound file to play when succesfully adding plant or changing stage, include namespace + # maximum: the number of stages / arrays. The maximum number of items the pot can take + # 1:[] array of starting data for the all the block displays used in this stage, all data + # 2:[] array of starting data for the all the block displays used in this stage, all data + # ...... + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pointed_dripstone set value {\ + place_sound:"minecraft:block.pointed_dripstone.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"frustum"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.4435f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"tip"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.143f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"middle"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.4435f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"frustum"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.143f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"tip"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.8425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"middle"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.4435f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"middle"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.143f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"frustum"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.8425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"tip"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,3.542f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:small_amethyst_bud set value {\ + place_sound:"minecraft:block.small_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:small_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.4f,0.7435f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:medium_amethyst_bud set value {\ + place_sound:"minecraft:block.medium_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:medium_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.4f,0.7435f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:large_amethyst_bud set value {\ + place_sound:"minecraft:block.large_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:large_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.4f,0.7435f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:amethyst_cluster set value {\ + place_sound:"minecraft:block.amethyst_cluster.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:amethyst_cluster"\ + },\ + transformation:{\ + translation:[-0.4f,0.7435f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +# For all leaves, empty no rotated middle, no inverted +data modify storage gm4_blossoming_pots:decorated_pots minecraft:oak_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:spruce_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:birch_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:jungle_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:acacia_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dark_oak_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:mangrove_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:cherry_leaves set value {\ + place_sound:"minecraft:block.cherry_leaves.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:azalea_leaves set value {\ + place_sound:"minecraft:block.azalea_leaves.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:flowering_azalea_leaves set value {\ + place_sound:"minecraft:block.azalea_leaves.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +# Sapling second stages with vanilla tweaks has a lighting bug at certain angles, so the second stage rotates it back to 0 +data modify storage gm4_blossoming_pots:decorated_pots minecraft:oak_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:oak_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:oak_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:spruce_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:birch_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:birch_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:birch_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:jungle_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:acacia_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dark_oak_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +# mangrove propagule doesn't have another stage for vanilla tweaks, but im adding support now incase VT adds it in the future + # lighting bug also affects the default mangrove propagule, so it gets rotated immediately to 0 +data modify storage gm4_blossoming_pots:decorated_pots minecraft:mangrove_propagule set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_propagule"\ + },\ + transformation:{\ + translation:[-0.5f,0.4935f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_propagule",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.4935f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:cherry_sapling set value {\ + place_sound:"minecraft:block.cherry_sapling.place",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:azalea set value {\ + place_sound:"minecraft:block.azalea.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:azalea"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:azalea"\ + },\ + transformation:{\ + translation:[-0.35f,0.7435f,-0.35f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:azalea"\ + },\ + transformation:{\ + translation:[-0.45f,0.7435f,-0.45f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.9f,0.9f,0.9f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:flowering_azalea set value {\ + place_sound:"minecraft:block.flowering_azalea.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea"\ + },\ + transformation:{\ + translation:[-0.35f,0.7435f,-0.35f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea"\ + },\ + transformation:{\ + translation:[-0.45f,0.7435f,-0.45f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.9f,0.9f,0.9f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:brown_mushroom set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brown_mushroom"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:red_mushroom set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:red_mushroom"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:crimson_fungus set value {\ + place_sound:"minecraft:block.fungus.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:crimson_fungus"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:warped_fungus set value {\ + place_sound:"minecraft:block.fungus.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:warped_fungus"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:short_grass set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:short_grass"\ + },\ + transformation:{\ + translation:[-0.361f,0.65325f,-0.361f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.722f,0.722f,0.722f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:fern set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fern"\ + },\ + transformation:{\ + translation:[-0.5f,0.4935f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_bush set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bush"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dandelion set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dandelion"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:poppy set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:poppy"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:blue_orchid set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:blue_orchid"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:allium set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:allium"\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:azure_bluet set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:azure_bluet"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:red_tulip set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:red_tulip"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:orange_tulip set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:orange_tulip"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:white_tulip set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:white_tulip"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pink_tulip set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pink_tulip"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:oxeye_daisy set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:oxeye_daisy"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:cornflower set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cornflower"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:lily_of_the_valley set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:lily_of_the_valley"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:torchflower set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:torchflower"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:wither_rose set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:wither_rose"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:spore_blossom set value {\ + place_sound:"minecraft:block.spore_blossom.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spore_blossom"\ + },\ + transformation:{\ + translation:[-0.4f,1.54f,0.4f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:bamboo set value {\ + place_sound:"minecraft:block.bamboo_sapling.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bamboo_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"none"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"small"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"none",\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"small",\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"small",\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,2.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"large",\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,3.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:sugar_cane set value {\ + place_sound:"minecraft:block.grass.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +# Cactus +data modify storage gm4_blossoming_pots:decorated_pots minecraft:cactus set value {\ + place_sound:"minecraft:block.wool.place",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potted_cactus"\ + },\ + transformation:{\ + translation:[-0.5f,0.3684f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:potted_cactus"\ + },\ + transformation:{\ + translation:[-0.5f,0.3684f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:potted_cactus"\ + },\ + transformation:{\ + translation:[-0.2f,1.05f,-0.2f],\ + left_rotation:[0.328f,0f,0f,0.945f],\ + scale:[0.4f,0.4f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:potted_cactus"\ + },\ + transformation:{\ + translation:[-0.2f,0.7f,-0.05f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.4f,0.4f],\ + right_rotation:[-0.445f,0f,0f,0.895f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:crimson_roots set value {\ + place_sound:"minecraft:block.roots.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potted_crimson_roots"\ + },\ + transformation:{\ + translation:[-0.5f,0.353f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:warped_roots set value {\ + place_sound:"minecraft:block.roots.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potted_warped_roots"\ + },\ + transformation:{\ + translation:[-0.5f,0.353f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:weeping_vines set value {\ + place_sound:"minecraft:block.weeping_vines.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines"\ + },\ + transformation:{\ + translation:[-0.35f,2.1429f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,1.4434f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines"\ + },\ + transformation:{\ + translation:[-0.35f,2.8424f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,2.1429f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,1.4434f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines"\ + },\ + transformation:{\ + translation:[-0.35f,3.5419f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,2.8424f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,2.1429f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,1.4434f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:twisting_vines set value {\ + place_sound:"minecraft:block.weeping_vines.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines_plant"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines_plant"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines_plant"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:tall_grass set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tall_grass",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.361f,0.65325f,-0.361f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.722f,0.722f,0.722f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:tall_grass",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.361f,1.37525f,-0.361f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.722f,0.722f,0.722f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:large_fern set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:large_fern",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:large_fern",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +# default sunflower rotation is sunflower facing east, player should be facing west +data modify storage gm4_blossoming_pots:decorated_pots minecraft:sunflower set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sunflower",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:sunflower",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sunflower",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:lilac set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:lilac",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:lilac",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:lilac",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:rose_bush set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:rose_bush",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.745f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:rose_bush",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:rose_bush",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:peony set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:peony",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.745f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:peony",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.556f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:peony",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.556f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pitcher_plant set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pitcher_plant",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pitcher_plant",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:big_dripleaf set value {\ + place_sound:"minecraft:block.big_dripleaf.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:big_dripleaf",\ + Properties:{\ + facing:"east"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,-0.019f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:big_dripleaf",\ + Properties:{\ + facing:"east"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.271f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:big_dripleaf",\ + Properties:{\ + facing:"east"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.56855f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:small_dripleaf set value {\ + place_sound:"minecraft:block.small_dripleaf.place",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:small_dripleaf",\ + Properties:{\ + facing:"east",\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:small_dripleaf",\ + Properties:{\ + facing:"east",\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.306f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:small_dripleaf",\ + Properties:{\ + facing:"east",\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.306f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:chorus_flower set value {\ + place_sound:"minecraft:block.chorus_flower.grow",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + north:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + north:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,2.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,2.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + north:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + north:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[0.25f,3.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.75f,2.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + north:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + north:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + north:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + north:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.7435f,0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,3.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + west:"true",\ + east:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + west:"true"\ + }\ + },\ + transformation:{\ + translation:[0.25f,2.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[0.25f,2.7435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,3.2435f,0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,3.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:hanging_roots set value {\ + place_sound:"minecraft:block.hanging_roots.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:hanging_roots"\ + },\ + transformation:{\ + translation:[-0.361f,1.37525f,0.361f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.722f,0.722f,0.722f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:wheat_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:wheat",\ + Properties:{\ + age:"2"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:wheat",\ + Properties:{\ + age:"5"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:wheat",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pumpkin_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pumpkin_stem",\ + Properties:{\ + age:"4"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.806f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:pumpkin_stem",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"attached_pumpkin_stem",\ + Properties:{\ + facing:"north"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:melon_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:melon_stem",\ + Properties:{\ + age:"4"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.806f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:melon_stem",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"attached_melon_stem",\ + Properties:{\ + facing:"north"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:beetroot_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:beetroots",\ + Properties:{\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:beetroots",\ + Properties:{\ + age:"2"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:beetroots",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:glow_berries set value {\ + place_sound:"minecraft:block.cave_vines.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cave_vines",\ + Properties:{\ + berries:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:cave_vines",\ + Properties:{\ + berries:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.1425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cave_vines_plant",\ + Properties:{\ + berries:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:cave_vines",\ + Properties:{\ + berries:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.842f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cave_vines_plant",\ + Properties:{\ + berries:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.1425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cave_vines_plant",\ + Properties:{\ + berries:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:sweet_berries set value {\ + place_sound:"minecraft:block.sweet_berry_bush.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sweet_berry_bush",\ + Properties:{\ + age:"0"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:sweet_berry_bush",\ + Properties:{\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:sweet_berry_bush",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:nether_wart set value {\ + place_sound:"minecraft:item.nether_wart.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:nether_wart",\ + Properties:{\ + age:"0"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:nether_wart",\ + Properties:{\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:nether_wart",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:sea_pickle set value {\ + place_sound:"minecraft:block.slime_block.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sea_pickle",\ + Properties:{\ + waterlogged:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:tube_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tube_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:brain_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brain_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:bubble_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bubble_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:fire_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fire_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:horn_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:horn_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_tube_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_tube_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_brain_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_brain_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_bubble_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bubble_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_fire_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_fire_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_horn_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_horn_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:tube_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tube_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:brain_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brain_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:bubble_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bubble_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:fire_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fire_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:horn_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:horn_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_tube_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_tube_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_brain_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_brain_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_bubble_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bubble_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_fire_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_fire_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_horn_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_horn_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:carrot set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:carrots",\ + Properties:{\ + age:"2"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:carrots",\ + Properties:{\ + age:"4"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:carrots",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:potato set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potatoes",\ + Properties:{\ + age:"2"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:potatoes",\ + Properties:{\ + age:"4"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:potatoes",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_temp_data.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_temp_data.mcfunction new file mode 100644 index 0000000000..f85b3f15c4 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/decorated/set_temp_data.mcfunction @@ -0,0 +1,8 @@ +# Sets temp.data for decorated/set_displays +# @s = temp marker inside decorated pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {id, count, score} +# run from decorated/set_displays + + +$data modify storage gm4_blossoming_pots:decorated_pots temp.data set from storage gm4_blossoming_pots:decorated_pots $(id).$(count)[$(score)] diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/as_player.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/as_player.mcfunction new file mode 100644 index 0000000000..23c1e52a4e --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/as_player.mcfunction @@ -0,0 +1,20 @@ +# Raycasts for pot the player interacted with, then proceeds if necessary +# @s = player who interacted with an empty flower pot +# at @s +# run from advancement gm4_blossoming_pots:interact_with_flower_pot + +# Reset advancement +advancement revoke @s only gm4_blossoming_pots:interact_with_flower_pot +# Reset temp +data remove storage gm4_blossoming_pots:flower_pots temp + +function gm4_blossoming_pots:flower/get_player_data +# raycast +execute store result score @s gm4_blossoming_pots.range run attribute @s minecraft:block_interaction_range get 200 +execute anchored eyes positioned ^ ^ ^ run function gm4_blossoming_pots:flower/raycast + +# if signaled, decrement player mainhand (set in flower/prepare_data) +execute if data storage gm4_blossoming_pots:flower_pots temp.signal_item_decr if entity @s[gamemode=!creative] run item modify entity @s weapon.mainhand gm4_blossoming_pots:count_decr + +# if signaled, give item back to player (set in flower/remove_plant) +execute if data storage gm4_blossoming_pots:flower_pots temp.perma_marker_data run function gm4_blossoming_pots:flower/give_item_to_player with storage gm4_blossoming_pots:flower_pots temp.perma_marker_data diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/cleanup.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/cleanup.mcfunction new file mode 100644 index 0000000000..cdb4d5d02d --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/cleanup.mcfunction @@ -0,0 +1,13 @@ +# Flower pot cleanup if marker isn't in a flower pot +# @s = flower pot perma marker +# at @s +# with {id, count} +# run from main + +# kill associated displays +kill @e[type=minecraft:block_display,tag=gm4_blossoming_pots.display.flower_pot,distance=..0.1] + +# just summonining an item so not giving it smithed.entity +# Motion is predetermined. I can't be asked to make it random, shoot me. +$summon minecraft:item ~ ~-.25 ~ {Item:{id:"$(id)",count:$(count)},Motion:[0.03d,0.2d,0.02d]} +kill @s diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/get_player_data.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/get_player_data.mcfunction new file mode 100644 index 0000000000..8ab161ebe6 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/get_player_data.mcfunction @@ -0,0 +1,17 @@ +# Gets needed player data +# @s = player who interacted with a flower pot +# at @s +# run from flower/as_player + +# set item id to null, should player not be holding an item +data modify storage gm4_blossoming_pots:flower_pots temp.id set value null +data modify storage gm4_blossoming_pots:flower_pots temp.id set from entity @s SelectedItem.id + +# player facing west +execute if entity @s[y_rotation=45..135] unless entity @s[y_rotation=45] run return run data modify storage gm4_blossoming_pots:flower_pots temp.rotation set value 0 +# player facing north +execute if entity @s[y_rotation=135..225] unless entity @s[y_rotation=135] run return run data modify storage gm4_blossoming_pots:flower_pots temp.rotation set value 90 +# player facing east +execute if entity @s[y_rotation=225..315] unless entity @s[y_rotation=225] run return run data modify storage gm4_blossoming_pots:flower_pots temp.rotation set value 180 +# player facing south +execute if entity @s[y_rotation=315..405] unless entity @s[y_rotation=315] run return run data modify storage gm4_blossoming_pots:flower_pots temp.rotation set value -90 diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/give_item_to_player.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/give_item_to_player.mcfunction new file mode 100644 index 0000000000..e6a55cd508 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/give_item_to_player.mcfunction @@ -0,0 +1,7 @@ +# Summons an item stack at the players feet for them to pick up +# @s = player who right clicked on custom flower pot with an empty hand +# at temp marker align xyz positioned ~.5 ~.5 ~.5 +# with {id, count} +# run from flower/as_player + +$execute at @s run summon minecraft:item ~ ~ ~ {Item:{id:"$(id)",count:$(count)}} diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/in_flower_pot.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/in_flower_pot.mcfunction new file mode 100644 index 0000000000..f01d9da72a --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/in_flower_pot.mcfunction @@ -0,0 +1,17 @@ +# Checks the temp markers physical location in the block, to see if it is in the collision box of the flower pot +# @s = temp marker summoned in parent function +# at @s +# run from flower/raycast + +# merge marker data for if it doesn't get killed +data merge entity @s {Tags:["gm4_blossoming_pots.temp.flower_pot","smithed.strict","smithed.entity"],CustomName:'{"text":"gm4_blossoming_pots.temp_marker"}'} + +# if temp marker in physical hit box, return 1 +# dxdydz all 0 bc of MC-123441. +execute at @s align xyz positioned ~0.312499 ~ ~0.312499 if entity @s[dx=0,dy=0,dz=0] \ + at @s align xyz positioned ~-0.312499 ~-0.625 ~-0.312499 if entity @s[dx=0,dy=0,dz=0] \ + run return 1 + +# else, kill marker, return fail +kill @s +return fail diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/play_sound.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/play_sound.mcfunction new file mode 100644 index 0000000000..d5a8e8e066 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/play_sound.mcfunction @@ -0,0 +1,9 @@ +# Literally just plays sound +# @s = temp marker inside flower pot +# with storage gm4_blossoming_pots:flower_pots +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {place_sound} +# run from flower/prepare_data + + +$playsound $(place_sound) block @a[distance=..16] ~ ~-0.3125 ~ diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/prepare_data.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/prepare_data.mcfunction new file mode 100644 index 0000000000..79720ccbb6 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/prepare_data.mcfunction @@ -0,0 +1,38 @@ +# Sets up loop for plant stage changes +# @s = temp marker inside flower pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {UUID, id, rotation} +# run from flower/raycast + +# early returns +# if empty hand, empty the pot, give player the item +execute \ + if data storage gm4_blossoming_pots:flower_pots {temp:{id:"null"}} \ + run return run function gm4_blossoming_pots:flower/remove_plant +# if storage doesn't have, doesnt matter +$execute unless data storage gm4_blossoming_pots:flower_pots $(id) run return run kill @s +# if flower pot is full, return +execute if data entity @e[type=minecraft:marker,tag=gm4_blossoming_pots.data.flower_pot,distance=..0.1,limit=1] {data:{gm4_blossoming_pots:{full:1}}} run return run kill @s + +# if no perma marker yet, summon it +$execute unless entity @e[type=minecraft:marker,tag=gm4_blossoming_pots.data.flower_pot,distance=..0.1,limit=1] \ + run summon minecraft:marker ~ ~ ~ {Tags:["gm4_blossoming_pots.data.flower_pot","smithed.strict","smithed.entity"],data:{gm4_blossoming_pots:{id:"$(id)",count:0,full:0}},CustomName:'{"text":"gm4_blossoming_pots.flower_pot"}'} + +# signal player mainhand to be decremented by as_player +data modify storage gm4_blossoming_pots:flower_pots temp.signal_item_decr set value 1 +# increment perma marker count by 1 +execute as @e[type=minecraft:marker,tag=gm4_blossoming_pots.data.flower_pot,distance=..0.1,limit=1] run function gm4_blossoming_pots:flower/update_count + +# setting temp +execute store result storage gm4_blossoming_pots:flower_pots temp.score int 1 run scoreboard players set @s gm4_blossoming_pots.loop 0 +# temp.count set in flower/update_count +function gm4_blossoming_pots:flower/set_temp_data with storage gm4_blossoming_pots:flower_pots temp +function gm4_blossoming_pots:flower/store_array_len with storage gm4_blossoming_pots:flower_pots temp +# temp storage should now contain {rotation, score, id, count, data} + +function gm4_blossoming_pots:flower/set_displays with storage gm4_blossoming_pots:flower_pots temp + +$execute if score @s gm4_blossoming_pots.sound matches 1 \ + run function gm4_blossoming_pots:flower/play_sound with storage gm4_blossoming_pots:flower_pots $(id) + +kill @s diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/raycast.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/raycast.mcfunction new file mode 100644 index 0000000000..cfc68d4503 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/raycast.mcfunction @@ -0,0 +1,16 @@ +# Main loop for raycasting for the flower pot the player interacted with +# @s = player who interacted with a flower pot +# at @s anchored eyes, then marched forward 0.005 over and over +# run from flower/as_player and self + +# if current location is within the flower pots hit box, summon a temp marker, set its data with the player rotation, and exit raycast +execute if block ~ ~ ~ minecraft:flower_pot \ + summon minecraft:marker if function gm4_blossoming_pots:flower/in_flower_pot \ + at @s align xyz positioned ~.5 ~.5 ~.5 \ + run return run function gm4_blossoming_pots:flower/prepare_data with storage gm4_blossoming_pots:flower_pots temp + +# remove range +scoreboard players remove @s gm4_blossoming_pots.range 1 + +# repeat until find flower pot or out of range +execute if score @s gm4_blossoming_pots.range matches 1.. positioned ^ ^ ^0.005 run function gm4_blossoming_pots:flower/raycast diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/remove_plant.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/remove_plant.mcfunction new file mode 100644 index 0000000000..2665a27078 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/remove_plant.mcfunction @@ -0,0 +1,12 @@ +# Removes a plant from a flower pot following a player empty hand right clicks on it +# @s = temp marker inside flower pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# run from flower/prepare_data + +# store perma marker data for as_player to give the item back to the player +data modify storage gm4_blossoming_pots:flower_pots temp.perma_marker_data set from entity @e[tag=gm4_blossoming_pots.data.flower_pot,distance=..0.1,limit=1] data.gm4_blossoming_pots + +# kill flower pot displays, perma marker, and temp marker +kill @e[type=minecraft:block_display,tag=gm4_blossoming_pots.display.flower_pot,distance=..0.1] +kill @e[type=minecraft:marker,tag=gm4_blossoming_pots.data.flower_pot,limit=1,distance=..0.1] +kill @s diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_displays.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_displays.mcfunction new file mode 100644 index 0000000000..0ad8d10220 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_displays.mcfunction @@ -0,0 +1,22 @@ +# Main Loop for setting displays to desired stage +# @s = temp marker inside flower pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {rotation, score, data} +# run from flower/as_marker and self + +# summon if needed +$execute unless entity @e[type=minecraft:block_display,distance=..0.1,tag=gm4_blossoming_pots.display.flower_pot.$(score),limit=1] \ + run summon minecraft:block_display ~ ~ ~ {view_range:0.7935f,Tags:["gm4_blossoming_pots.display.flower_pot","gm4_blossoming_pots.display.flower_pot.$(score)","smithed.entity"],Rotation:[$(rotation)f,0f]} +# merge data and store the success +$execute store success score @s gm4_blossoming_pots.merge_success \ + run data merge entity @e[type=minecraft:block_display,distance=..0.1,tag=gm4_blossoming_pots.display.flower_pot.$(score),limit=1] $(data) +# if a single merge success set sound to play +execute if score @s gm4_blossoming_pots.merge_success matches 1 run scoreboard players set @s gm4_blossoming_pots.sound 1 + +# increment score +execute store result storage gm4_blossoming_pots:flower_pots temp.score int 1 run scoreboard players add @s gm4_blossoming_pots.loop 1 + +# sets temp.data to next score's data +function gm4_blossoming_pots:flower/set_temp_data with storage gm4_blossoming_pots:flower_pots temp +# run again if needed +execute unless score @s gm4_blossoming_pots.loop >= $array_len gm4_blossoming_pots.loop run function gm4_blossoming_pots:flower/set_displays with storage gm4_blossoming_pots:flower_pots temp diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_full.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_full.mcfunction new file mode 100644 index 0000000000..688ef71848 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_full.mcfunction @@ -0,0 +1,7 @@ +# Sets perma marker full tag to full when its count reaches the same as storage's maximum +# @s = perma marker inside flower pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {id, count} +# run from flower/update_count + +$execute if data storage gm4_blossoming_pots:flower_pots {"$(id)":{maximum:$(count)}} run data modify entity @s data.gm4_blossoming_pots.full set value 1 diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_storage.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_storage.mcfunction new file mode 100644 index 0000000000..cf7f1ba38d --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_storage.mcfunction @@ -0,0 +1,1255 @@ +# Sets command storage for flower pot plants +# @s = null +# run from init + +data modify storage gm4_blossoming_pots:flower_pots version_history append value "1-26" + +# Data storage layout + # gm4_blossoming_pots:decorated_pots : + # place_sound: sound file to play when succesfully adding plant or changing stage, include namespace + # maximum: the number of stages / arrays. The maximum number of items the pot can take + # 1:[] array of starting data for the all the block displays used in this stage, all data + # 2:[] array of starting data for the all the block displays used in this stage, all data + # ...... + +data modify storage gm4_blossoming_pots:flower_pots minecraft:pointed_dripstone set value {\ + place_sound:"minecraft:block.pointed_dripstone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"frustum"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.1435f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"tip"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.6435f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:small_amethyst_bud set value {\ + place_sound:"minecraft:block.small_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:small_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:medium_amethyst_bud set value {\ + place_sound:"minecraft:block.medium_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:medium_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:large_amethyst_bud set value {\ + place_sound:"minecraft:block.large_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:large_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:amethyst_cluster set value {\ + place_sound:"minecraft:block.amethyst_cluster.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:amethyst_cluster"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:oak_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:spruce_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:birch_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:jungle_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:acacia_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dark_oak_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:mangrove_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:cherry_leaves set value {\ + place_sound:"minecraft:block.cherry_leaves.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:azalea_leaves set value {\ + place_sound:"minecraft:block.azalea_leaves.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:flowering_azalea_leaves set value {\ + place_sound:"minecraft:block.azalea_leaves.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:short_grass set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:short_grass"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:spore_blossom set value {\ + place_sound:"minecraft:block.spore_blossom.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spore_blossom"\ + },\ + transformation:{\ + translation:[-0.2f,0.42f,0.2f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.4f,0.4f,0.6f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:sugar_cane set value {\ + place_sound:"minecraft:block.grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.15f,-0.2565f,-0.15f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.3f,0.3f,0.3f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.15f,0.0435f,-0.15f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.3f,0.3f,0.3f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:weeping_vines set value {\ + place_sound:"minecraft:block.weeping_vines.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.25f,0.2434f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines"\ + },\ + transformation:{\ + translation:[-0.25f,0.7434f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:twisting_vines set value {\ + place_sound:"minecraft:block.weeping_vines.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines_plant"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines"\ + },\ + transformation:{\ + translation:[-0.25f,0.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:tall_grass set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tall_grass",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.15f,-0.35025f,-0.15f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.3f,0.4f,0.3f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:tall_grass",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.15f,0.04975f,-0.15f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.3f,0.4f,0.3f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:large_fern set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:large_fern",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.2515f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:large_fern",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,0.5485f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +# default sunflower rotation is sunflower facing east, player should be facing west +data modify storage gm4_blossoming_pots:flower_pots minecraft:sunflower set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sunflower",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.3f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:lilac set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:lilac",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.3f,-0.3f,-0.3f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.6f,0.6f,0.6f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:rose_bush set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:rose_bush",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.3f,-0.3f,-0.3f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.6f,0.6f,0.6f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:peony set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:peony",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.3f,-0.3f,-0.3f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.6f,0.6f,0.6f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:pitcher_plant set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pitcher_plant",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.3815f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pitcher_plant",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,0.4185f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:big_dripleaf set value {\ + place_sound:"minecraft:block.big_dripleaf.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:big_dripleaf",\ + Properties:{\ + facing:"east"\ + }\ + },\ + transformation:{\ + translation:[-0.175f,-0.219f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:small_dripleaf set value {\ + place_sound:"minecraft:block.small_dripleaf.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:small_dripleaf",\ + Properties:{\ + facing:"east",\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.25f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:chorus_flower set value {\ + place_sound:"minecraft:block.chorus_flower.grow",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,0.3435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,-0.1565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:hanging_roots set value {\ + place_sound:"minecraft:block.hanging_roots.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:hanging_roots"\ + },\ + transformation:{\ + translation:[-0.2f,0.2432f,0.2f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.4f,0.4f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:wheat_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:wheat",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.1875f,-0.22525f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.375f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:pumpkin_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"attached_pumpkin_stem",\ + Properties:{\ + facing:"north"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,-0.319f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:melon_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"attached_melon_stem",\ + Properties:{\ + facing:"north"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,-0.319f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:beetroot_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:beetroots",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.1875f,-0.22525f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.375f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:glow_berries set value {\ + place_sound:"minecraft:block.cave_vines.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cave_vines_plant",\ + Properties:{\ + berries:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.243f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cave_vines",\ + Properties:{\ + berries:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7425f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:sweet_berries set value {\ + place_sound:"minecraft:block.sweet_berry_bush.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sweet_berry_bush",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.319f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:nether_wart set value {\ + place_sound:"minecraft:item.nether_wart.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:nether_wart",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.375f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:sea_pickle set value {\ + place_sound:"minecraft:block.slime_block.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sea_pickle",\ + Properties:{\ + waterlogged:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,-0.2565f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:tube_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tube_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:brain_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brain_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:bubble_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bubble_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:fire_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fire_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:horn_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:horn_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_tube_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_tube_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_brain_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_brain_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_bubble_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bubble_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_fire_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_fire_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_horn_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_horn_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:tube_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tube_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:brain_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brain_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:bubble_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bubble_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:fire_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fire_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:horn_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:horn_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_tube_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_tube_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_brain_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_brain_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_bubble_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bubble_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_fire_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_fire_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_horn_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_horn_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:carrot set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:carrots",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.225f,-0.22525f,-0.225f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.45f,0.45f,0.45f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:potato set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potatoes",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.225f,-0.22525f,-0.225f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.45f,0.45f,0.45f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_temp_data.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_temp_data.mcfunction new file mode 100644 index 0000000000..ce5f6ccfbb --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/set_temp_data.mcfunction @@ -0,0 +1,7 @@ +# Sets temp.data for flower/set_displays +# @s = temp marker inside flower pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {id, count, score} +# run from flower/set_displays and flower/prepare_data + +$data modify storage gm4_blossoming_pots:flower_pots temp.data set from storage gm4_blossoming_pots:flower_pots $(id).$(count)[$(score)] diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/store_array_len.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/store_array_len.mcfunction new file mode 100644 index 0000000000..2dc871ecdf --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/store_array_len.mcfunction @@ -0,0 +1,7 @@ +# Sets array length because we need to macro the count +# @s = temp marker inside flower pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# with {id, count} +# run from flower/prepare_data + +$execute store result score $array_len gm4_blossoming_pots.loop run data get storage gm4_blossoming_pots:flower_pots $(id).$(count) diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/update_count.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/update_count.mcfunction new file mode 100644 index 0000000000..7edc28daac --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/flower/update_count.mcfunction @@ -0,0 +1,14 @@ +# Increments perma markers count and check-and-sets full tag +# @s = perma marker inside flower pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# run from flower/prepare_data + +execute store result score @s gm4_blossoming_pots.loop \ + run data get entity @s data.gm4_blossoming_pots.count 1 +scoreboard players add @s gm4_blossoming_pots.loop 1 +execute store result storage gm4_blossoming_pots:flower_pots temp.count int 1 \ + store result entity @s data.gm4_blossoming_pots.count int 1 \ + run scoreboard players get @s gm4_blossoming_pots.loop + +# set full if full, using new count +function gm4_blossoming_pots:flower/set_full with entity @s data.gm4_blossoming_pots diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/init.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/init.mcfunction new file mode 100644 index 0000000000..7cf09b528f --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/init.mcfunction @@ -0,0 +1,14 @@ +execute unless score blossoming_pots gm4_modules matches 1 run data modify storage gm4:log queue append value {type:"install",module:"Blossoming Pots"} +execute unless score blossoming_pots gm4_earliest_version < blossoming_pots gm4_modules run scoreboard players operation blossoming_pots gm4_earliest_version = blossoming_pots gm4_modules +scoreboard players set blossoming_pots gm4_modules 1 + +scoreboard objectives add gm4_blossoming_pots.range dummy "gm4_bPots.range" +scoreboard objectives add gm4_blossoming_pots.loop dummy "gm4_bPots.loop" +scoreboard objectives add gm4_blossoming_pots.merge_success dummy "gm4_bPots.merge_success" +scoreboard objectives add gm4_blossoming_pots.sound dummy "gm4_bPots.sound" +scoreboard objectives add gm4_blossoming_pots.display_stage dummy "gm4_bPots.display_stage" + +execute unless data storage gm4_blossoming_pots:decorated_pots {version_history:["1-26"]} run function gm4_blossoming_pots:decorated/set_storage +execute unless data storage gm4_blossoming_pots:flower_pots {version_history:["1-26"]} run function gm4_blossoming_pots:flower/set_storage + +schedule function gm4_blossoming_pots:main 1t diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/main.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/main.mcfunction new file mode 100644 index 0000000000..022e37e42b --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/main.mcfunction @@ -0,0 +1,5 @@ +execute as @e[type=minecraft:block_display,tag=gm4_blossoming_pots.display.decorated_pot] at @s unless block ~ ~ ~ minecraft:decorated_pot run kill @s + +execute as @e[type=minecraft:marker,tag=gm4_blossoming_pots.data.flower_pot] at @s unless block ~ ~ ~ minecraft:flower_pot run function gm4_blossoming_pots:flower/cleanup with entity @s data.gm4_blossoming_pots + +schedule function gm4_blossoming_pots:main 16t diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/as_marker.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/as_marker.mcfunction new file mode 100644 index 0000000000..8bb1afce61 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/as_marker.mcfunction @@ -0,0 +1,25 @@ +# If player is placing a vanilla plant in custom flower pot, prevent them and give them the item back +# @s = temp marker inside filled vanilla flower pot +# at @s align xyz positioned ~.5 ~.5 ~.5 +# run from vanilla_pot_handling/raycast + +#check block location for tagged display or perma marker? +execute \ + unless entity @e[type=minecraft:block_display,tag=gm4_blossoming_pots.display.flower_pot,distance=..0.1,limit=1] \ + run return run kill @s +# if not found, return, let the player place their vanilla pots in peace +# else + +fill ~ ~ ~ ~ ~ ~ minecraft:flower_pot destroy + +# execute as the flower pot item exactly where it summons, kill +execute as @n[type=minecraft:item,distance=..0.5,nbt={Item:{id:"minecraft:flower_pot"},Age:0s}] run kill @s + +# store dropped items data in temp and kill it +execute as @n[type=minecraft:item,distance=..0.5,nbt={Age:0s},predicate=gm4_blossoming_pots:item_potable] run function gm4_blossoming_pots:vanilla_pot_handling/get_dropped_item + +# giving item back is run from as_player following this. +data modify storage gm4_blossoming_pots:flower_pots temp.signal_give_back set value 1 + +# kill marker +kill @s diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/as_player.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/as_player.mcfunction new file mode 100644 index 0000000000..0e78bd7215 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/as_player.mcfunction @@ -0,0 +1,16 @@ +# Prevent a player putting an item from potable_pots tag list into a pot that already has a blossoming pots block display +# @s = player who interacted with a filled vanilla flower pot +# at @s +# run from advancement gm4_blossoming_pots:interact_with_vanilla_flower_pot + +# Reset advancement +advancement revoke @s only gm4_blossoming_pots:interact_with_vanilla_flower_pot +# Reset temp +data remove storage gm4_blossoming_pots:flower_pots temp + +# Raycast for the pot (set up range and search) and proceed if needed +execute store result score @s gm4_blossoming_pots.range run attribute @s minecraft:block_interaction_range get 200 +execute anchored eyes positioned ^ ^ ^ run function gm4_blossoming_pots:vanilla_pot_handling/raycast + +# if signaled (set in vanilla_pot_handling/as_marker), summon item at player to give it back to them +execute if data storage gm4_blossoming_pots:flower_pots temp.signal_give_back if entity @s[gamemode=!creative] run function gm4_blossoming_pots:vanilla_pot_handling/give_item_back with storage gm4_blossoming_pots:flower_pots temp diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/get_dropped_item.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/get_dropped_item.mcfunction new file mode 100644 index 0000000000..12be99deb8 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/get_dropped_item.mcfunction @@ -0,0 +1,8 @@ +# Gets the id off of the fresh item and then kills it +# @s = age:0s item of vanilla flower pot +# at temp marker align xyz positioned ~.5 ~.5 ~.5 +# run from vanilla_pot_handling/as_marker + + +execute run data modify storage gm4_blossoming_pots:flower_pots temp.id set from entity @s Item.id +kill @s diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/give_item_back.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/give_item_back.mcfunction new file mode 100644 index 0000000000..bf3d8b74e3 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/give_item_back.mcfunction @@ -0,0 +1,7 @@ +# Gives player the vanilla flower pot item back that they tried to plant in a custom flower pot +# @s = player who triggered advancement +# at @s +# with {id} +# run from vanilla_pot_handling/as_player + +$summon minecraft:item ~ ~ ~ {Item:{id:"$(id)"}} diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/in_vanilla_flower_pot.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/in_vanilla_flower_pot.mcfunction new file mode 100644 index 0000000000..9970d98703 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/in_vanilla_flower_pot.mcfunction @@ -0,0 +1,17 @@ +# Checks the temp markers physical location in the block, to see if it is in the collision box of the flower pot +# @s = temp marker summoned in parent function +# at @s +# run from vanilla_pot_handling/raycast + +# merge marker data for if it doesn't get killed +data merge entity @s {Tags:["gm4_blossoming_pots.temp.vanilla_flower_pot","smithed.strict","smithed.entity"],CustomName:'{"text":"gm4_blossoming_pots.temp_marker"}'} + +# if temp marker in physical hit box, return 1 +# dxdydz all 0 bc of MC-123441. +execute at @s align xyz positioned ~0.312499 ~ ~0.312499 if entity @s[dx=0,dy=0,dz=0] \ + at @s align xyz positioned ~-0.312499 ~-0.625 ~-0.312499 if entity @s[dx=0,dy=0,dz=0] \ + run return 1 + +# else, kill marker, return fail +kill @s +return fail diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/raycast.mcfunction b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/raycast.mcfunction new file mode 100644 index 0000000000..ece6d87a33 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/function/vanilla_pot_handling/raycast.mcfunction @@ -0,0 +1,17 @@ +# Main loop for raycasting for the vanilla flower pot the player interacted with +# @s = player who interacted with a flower pot +# at @s anchored eyes, then marched forward 0.005 over and over +# run from vanilla_pot_handling/as_player and self + +# if block is a vanilla flower pot and execution context is in the flower pot, proceed to as_marker +execute if block ~ ~ ~ #gm4_blossoming_pots:potted_plants \ + summon minecraft:marker if function gm4_blossoming_pots:vanilla_pot_handling/in_vanilla_flower_pot \ + at @s align xyz positioned ~.5 ~.5 ~.5 \ + run return run function gm4_blossoming_pots:vanilla_pot_handling/as_marker + + +# remove range +scoreboard players remove @s gm4_blossoming_pots.range 1 + +# repeat until find flower pot or out of range +execute if score @s gm4_blossoming_pots.range matches 1.. positioned ^ ^ ^0.005 run function gm4_blossoming_pots:vanilla_pot_handling/raycast diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/item_modifier/count_decr.json b/gm4_blossoming_pots/data/gm4_blossoming_pots/item_modifier/count_decr.json new file mode 100644 index 0000000000..a1f2c2a484 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/item_modifier/count_decr.json @@ -0,0 +1,7 @@ +[ + { + "function": "minecraft:set_count", + "count": -1, + "add": true + } +] diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/predicate/item_potable.json b/gm4_blossoming_pots/data/gm4_blossoming_pots/predicate/item_potable.json new file mode 100644 index 0000000000..bf77742bbc --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/predicate/item_potable.json @@ -0,0 +1,13 @@ +{ + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "type": "minecraft:item", + "slots": { + "contents": { + "items": "#gm4_blossoming_pots:potable_plants" + } + } + } + } + \ No newline at end of file diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/tags/block/potted_plants.json b/gm4_blossoming_pots/data/gm4_blossoming_pots/tags/block/potted_plants.json new file mode 100644 index 0000000000..1c0afd86e0 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/tags/block/potted_plants.json @@ -0,0 +1,39 @@ +{ + "values": [ + "minecraft:potted_dandelion", + "minecraft:potted_poppy", + "minecraft:potted_blue_orchid", + "minecraft:potted_allium", + "minecraft:potted_azure_bluet", + "minecraft:potted_red_tulip", + "minecraft:potted_orange_tulip", + "minecraft:potted_white_tulip", + "minecraft:potted_pink_tulip", + "minecraft:potted_oxeye_daisy", + "minecraft:potted_cornflower", + "minecraft:potted_lily_of_the_valley", + "minecraft:potted_wither_rose", + "minecraft:potted_torchflower", + "minecraft:potted_oak_sapling", + "minecraft:potted_spruce_sapling", + "minecraft:potted_birch_sapling", + "minecraft:potted_jungle_sapling", + "minecraft:potted_acacia_sapling", + "minecraft:potted_dark_oak_sapling", + "minecraft:potted_cherry_sapling", + "minecraft:potted_red_mushroom", + "minecraft:potted_brown_mushroom", + "minecraft:potted_fern", + "minecraft:potted_dead_bush", + "minecraft:potted_cactus", + "minecraft:potted_bamboo", + "minecraft:potted_azalea_bush", + "minecraft:potted_flowering_azalea_bush", + "minecraft:potted_crimson_fungus", + "minecraft:potted_warped_fungus", + "minecraft:potted_crimson_roots", + "minecraft:potted_warped_roots", + "minecraft:potted_mangrove_propagule" + ] + } + \ No newline at end of file diff --git a/gm4_blossoming_pots/data/gm4_blossoming_pots/tags/item/potable_plants.json b/gm4_blossoming_pots/data/gm4_blossoming_pots/tags/item/potable_plants.json new file mode 100644 index 0000000000..688665b0b2 --- /dev/null +++ b/gm4_blossoming_pots/data/gm4_blossoming_pots/tags/item/potable_plants.json @@ -0,0 +1,39 @@ +{ + "values": [ + "minecraft:dandelion", + "minecraft:poppy", + "minecraft:blue_orchid", + "minecraft:allium", + "minecraft:azure_bluet", + "minecraft:red_tulip", + "minecraft:orange_tulip", + "minecraft:white_tulip", + "minecraft:pink_tulip", + "minecraft:oxeye_daisy", + "minecraft:cornflower", + "minecraft:lily_of_the_valley", + "minecraft:wither_rose", + "minecraft:torchflower", + "minecraft:oak_sapling", + "minecraft:spruce_sapling", + "minecraft:birch_sapling", + "minecraft:jungle_sapling", + "minecraft:acacia_sapling", + "minecraft:dark_oak_sapling", + "minecraft:cherry_sapling", + "minecraft:red_mushroom", + "minecraft:brown_mushroom", + "minecraft:fern", + "minecraft:dead_bush", + "minecraft:cactus", + "minecraft:bamboo", + "minecraft:azalea", + "minecraft:flowering_azalea", + "minecraft:crimson_fungus", + "minecraft:warped_fungus", + "minecraft:crimson_roots", + "minecraft:warped_roots", + "minecraft:mangrove_propagule" + ] + } + \ No newline at end of file diff --git a/gm4_blossoming_pots/images/blossoming_pots.webp b/gm4_blossoming_pots/images/blossoming_pots.webp new file mode 100644 index 0000000000..60a5e6bc92 Binary files /dev/null and b/gm4_blossoming_pots/images/blossoming_pots.webp differ diff --git a/gm4_blossoming_pots/pack.png b/gm4_blossoming_pots/pack.png new file mode 100644 index 0000000000..05e7be4750 Binary files /dev/null and b/gm4_blossoming_pots/pack.png differ diff --git a/gm4_blossoming_pots/pack.svg b/gm4_blossoming_pots/pack.svg new file mode 100644 index 0000000000..f4aa3e0f18 --- /dev/null +++ b/gm4_blossoming_pots/pack.svg @@ -0,0 +1,105 @@ + + + + diff --git a/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/decorated/set_storage.mcfunction b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/decorated/set_storage.mcfunction new file mode 100644 index 0000000000..157a2bb73d --- /dev/null +++ b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/decorated/set_storage.mcfunction @@ -0,0 +1,4206 @@ +# Sets command storage for decorated pot plants +# @s = null +# run from init + +data modify storage gm4_blossoming_pots:decorated_pots version_history append value "1-61" + +# Data storage layout + # gm4_blossoming_pots:decorated_pots : + # place_sound: sound file to play when succesfully adding plant or changing stage, include namespace + # maximum: the number of stages / arrays. The maximum number of items the pot can take + # 1:[] array of starting data for the all the block displays used in this stage, all data + # 2:[] array of starting data for the all the block displays used in this stage, all data + # ...... + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pale_hanging_moss set value {\ + place_sound:"minecraft:block.moss_carpet.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pale_hanging_moss",\ + Properties:{\ + tip:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:pale_hanging_moss",\ + Properties:{\ + tip:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.1425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pale_hanging_moss",\ + Properties:{\ + tip:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:pale_hanging_moss",\ + Properties:{\ + tip:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.842f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pale_hanging_moss",\ + Properties:{\ + tip:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.1425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pale_hanging_moss",\ + Properties:{\ + tip:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pointed_dripstone set value {\ + place_sound:"minecraft:block.pointed_dripstone.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"frustum"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.4435f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"tip"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.143f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"middle"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.4435f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"frustum"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.143f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"tip"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.8425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"middle"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.4435f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"middle"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.143f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"frustum"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.8425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"tip"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,3.542f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:small_amethyst_bud set value {\ + place_sound:"minecraft:block.small_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:small_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.4f,0.7435f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:medium_amethyst_bud set value {\ + place_sound:"minecraft:block.medium_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:medium_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.4f,0.7435f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:large_amethyst_bud set value {\ + place_sound:"minecraft:block.large_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:large_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.4f,0.7435f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:amethyst_cluster set value {\ + place_sound:"minecraft:block.amethyst_cluster.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:amethyst_cluster"\ + },\ + transformation:{\ + translation:[-0.4f,0.7435f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +# For all leaves, empty no rotated middle, no inverted +data modify storage gm4_blossoming_pots:decorated_pots minecraft:oak_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:spruce_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:birch_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:jungle_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:acacia_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dark_oak_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:mangrove_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:cherry_leaves set value {\ + place_sound:"minecraft:block.cherry_leaves.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pale_oak_leaves set value {\ + place_sound:"minecraft:block.grass.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:azalea_leaves set value {\ + place_sound:"minecraft:block.azalea_leaves.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:flowering_azalea_leaves set value {\ + place_sound:"minecraft:block.azalea_leaves.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +# Sapling second stages with vanilla tweaks has a lighting bug at certain angles, so the second stage rotates it back to 0 +data modify storage gm4_blossoming_pots:decorated_pots minecraft:oak_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:oak_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:oak_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:spruce_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:birch_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:birch_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:birch_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:jungle_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:acacia_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dark_oak_sapling set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +# mangrove propagule doesn't have another stage for vanilla tweaks, but im adding support now incase VT adds it in the future + # lighting bug also affects the default mangrove propagule, so it gets rotated immediately to 0 +data modify storage gm4_blossoming_pots:decorated_pots minecraft:mangrove_propagule set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_propagule"\ + },\ + transformation:{\ + translation:[-0.5f,0.4935f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_propagule",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.4935f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:cherry_sapling set value {\ + place_sound:"minecraft:block.cherry_sapling.place",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pale_oak_sapling set value {\ + place_sound:"minecraft:block.cherry_sapling.place",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_sapling",\ + Properties:{\ + stage:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + },\ + Rotation:[0f,0f]\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:azalea set value {\ + place_sound:"minecraft:block.azalea.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:azalea"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:azalea"\ + },\ + transformation:{\ + translation:[-0.35f,0.7435f,-0.35f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:azalea"\ + },\ + transformation:{\ + translation:[-0.45f,0.7435f,-0.45f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.9f,0.9f,0.9f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:flowering_azalea set value {\ + place_sound:"minecraft:block.flowering_azalea.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea"\ + },\ + transformation:{\ + translation:[-0.35f,0.7435f,-0.35f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea"\ + },\ + transformation:{\ + translation:[-0.45f,0.7435f,-0.45f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.9f,0.9f,0.9f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:brown_mushroom set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brown_mushroom"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:red_mushroom set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:red_mushroom"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:crimson_fungus set value {\ + place_sound:"minecraft:block.fungus.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:crimson_fungus"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:warped_fungus set value {\ + place_sound:"minecraft:block.fungus.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:warped_fungus"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:short_grass set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:short_grass"\ + },\ + transformation:{\ + translation:[-0.361f,0.65325f,-0.361f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.722f,0.722f,0.722f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:fern set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fern"\ + },\ + transformation:{\ + translation:[-0.5f,0.4935f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_bush set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bush"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dandelion set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dandelion"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:poppy set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:poppy"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:blue_orchid set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:blue_orchid"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:allium set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:allium"\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:azure_bluet set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:azure_bluet"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:red_tulip set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:red_tulip"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:orange_tulip set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:orange_tulip"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:white_tulip set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:white_tulip"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pink_tulip set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pink_tulip"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:oxeye_daisy set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:oxeye_daisy"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:cornflower set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cornflower"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:lily_of_the_valley set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:lily_of_the_valley"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:torchflower set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:torchflower"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:closed_eyeblossom set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:closed_eyeblossom"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:open_eyeblossom set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:open_eyeblossom"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:wither_rose set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:wither_rose"\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:spore_blossom set value {\ + place_sound:"minecraft:block.spore_blossom.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spore_blossom"\ + },\ + transformation:{\ + translation:[-0.4f,1.54f,0.4f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:bamboo set value {\ + place_sound:"minecraft:block.bamboo_sapling.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bamboo_sapling"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"none"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"small"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"none",\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"small",\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"small",\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,2.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:bamboo",\ + Properties:{\ + leaves:"large",\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,3.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:sugar_cane set value {\ + place_sound:"minecraft:block.grass.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +# Cactus +data modify storage gm4_blossoming_pots:decorated_pots minecraft:cactus set value {\ + place_sound:"minecraft:block.wool.place",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potted_cactus"\ + },\ + transformation:{\ + translation:[-0.5f,0.3684f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:potted_cactus"\ + },\ + transformation:{\ + translation:[-0.5f,0.3684f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:potted_cactus"\ + },\ + transformation:{\ + translation:[-0.2f,1.05f,-0.2f],\ + left_rotation:[0.328f,0f,0f,0.945f],\ + scale:[0.4f,0.4f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:potted_cactus"\ + },\ + transformation:{\ + translation:[-0.2f,0.7f,-0.05f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.4f,0.4f],\ + right_rotation:[-0.445f,0f,0f,0.895f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:crimson_roots set value {\ + place_sound:"minecraft:block.roots.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potted_crimson_roots"\ + },\ + transformation:{\ + translation:[-0.5f,0.353f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:warped_roots set value {\ + place_sound:"minecraft:block.roots.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potted_warped_roots"\ + },\ + transformation:{\ + translation:[-0.5f,0.353f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:weeping_vines set value {\ + place_sound:"minecraft:block.weeping_vines.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines"\ + },\ + transformation:{\ + translation:[-0.35f,2.1429f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,1.4434f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines"\ + },\ + transformation:{\ + translation:[-0.35f,2.8424f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,2.1429f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,1.4434f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines"\ + },\ + transformation:{\ + translation:[-0.35f,3.5419f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,2.8424f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,2.1429f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.35f,1.4434f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:twisting_vines set value {\ + place_sound:"minecraft:block.weeping_vines.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines_plant"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines"\ + },\ + transformation:{\ + translation:[-0.375f,2.2435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines_plant"\ + },\ + transformation:{\ + translation:[-0.375f,1.4935f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines_plant"\ + },\ + transformation:{\ + translation:[-0.375f,0.7435f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:tall_grass set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tall_grass",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.361f,0.65325f,-0.361f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.722f,0.722f,0.722f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:tall_grass",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.361f,1.37525f,-0.361f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.722f,0.722f,0.722f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:large_fern set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:large_fern",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:large_fern",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +# default sunflower rotation is sunflower facing east, player should be facing west +data modify storage gm4_blossoming_pots:decorated_pots minecraft:sunflower set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sunflower",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:sunflower",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sunflower",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:lilac set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:lilac",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:lilac",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:lilac",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:rose_bush set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:rose_bush",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.745f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:rose_bush",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:rose_bush",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:peony set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:peony",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.745f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:peony",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.556f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:peony",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.556f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pitcher_plant set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pitcher_plant",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pitcher_plant",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.6185f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:big_dripleaf set value {\ + place_sound:"minecraft:block.big_dripleaf.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:big_dripleaf",\ + Properties:{\ + facing:"east"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,-0.019f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:big_dripleaf",\ + Properties:{\ + facing:"east"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.271f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:big_dripleaf",\ + Properties:{\ + facing:"east"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.56855f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:small_dripleaf set value {\ + place_sound:"minecraft:block.small_dripleaf.place",\ + maximum:2,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:small_dripleaf",\ + Properties:{\ + facing:"east",\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:small_dripleaf",\ + Properties:{\ + facing:"east",\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.306f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:small_dripleaf",\ + Properties:{\ + facing:"east",\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,1.306f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:chorus_flower set value {\ + place_sound:"minecraft:block.chorus_flower.grow",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + north:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + north:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,2.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,2.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + north:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + north:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[0.25f,3.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.75f,2.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + north:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + north:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.2435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,1.7435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + north:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.7435f,0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + north:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.7435f,0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + south:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,3.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + west:"true",\ + east:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,2.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + up:"true",\ + west:"true"\ + }\ + },\ + transformation:{\ + translation:[0.25f,2.2435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[0.25f,2.7435f,-0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,3.2435f,0.75f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,3.7435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:hanging_roots set value {\ + place_sound:"minecraft:block.hanging_roots.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:hanging_roots"\ + },\ + transformation:{\ + translation:[-0.361f,1.37525f,0.361f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.722f,0.722f,0.722f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:wheat_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:wheat",\ + Properties:{\ + age:"2"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:wheat",\ + Properties:{\ + age:"5"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:wheat",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:pumpkin_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pumpkin_stem",\ + Properties:{\ + age:"4"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.806f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:pumpkin_stem",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"attached_pumpkin_stem",\ + Properties:{\ + facing:"north"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:melon_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:melon_stem",\ + Properties:{\ + age:"4"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.806f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:melon_stem",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"attached_melon_stem",\ + Properties:{\ + facing:"north"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:beetroot_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:beetroots",\ + Properties:{\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:beetroots",\ + Properties:{\ + age:"2"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:beetroots",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.77475f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:glow_berries set value {\ + place_sound:"minecraft:block.cave_vines.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cave_vines",\ + Properties:{\ + berries:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:cave_vines",\ + Properties:{\ + berries:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.1425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cave_vines_plant",\ + Properties:{\ + berries:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:cave_vines",\ + Properties:{\ + berries:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.842f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cave_vines_plant",\ + Properties:{\ + berries:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,2.1425f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cave_vines_plant",\ + Properties:{\ + berries:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.35f,1.443f,0.35f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.7f,0.7f,0.7f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:sweet_berries set value {\ + place_sound:"minecraft:block.sweet_berry_bush.place",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sweet_berry_bush",\ + Properties:{\ + age:"0"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:sweet_berry_bush",\ + Properties:{\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:sweet_berry_bush",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.681f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:nether_wart set value {\ + place_sound:"minecraft:item.nether_wart.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:nether_wart",\ + Properties:{\ + age:"0"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:nether_wart",\ + Properties:{\ + age:"1"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:nether_wart",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:sea_pickle set value {\ + place_sound:"minecraft:block.slime_block.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sea_pickle",\ + Properties:{\ + waterlogged:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:tube_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tube_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:brain_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brain_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:bubble_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bubble_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:fire_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fire_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:horn_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:horn_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_tube_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_tube_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_brain_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_brain_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_bubble_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bubble_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_fire_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_fire_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_horn_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_horn_coral"\ + },\ + transformation:{\ + translation:[-0.5f,0.7435f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:tube_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tube_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:brain_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brain_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:bubble_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bubble_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:fire_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fire_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:horn_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:horn_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_tube_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_tube_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_brain_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_brain_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_bubble_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bubble_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_fire_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_fire_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:dead_horn_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_horn_coral_fan"\ + },\ + transformation:{\ + translation:[-0.5f,0.744f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + + +data modify storage gm4_blossoming_pots:decorated_pots minecraft:carrot set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:carrots",\ + Properties:{\ + age:"2"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:carrots",\ + Properties:{\ + age:"4"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:carrots",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:decorated_pots minecraft:potato set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:3,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potatoes",\ + Properties:{\ + age:"2"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 2:[\ + {\ + block_state:{\ + Name:"minecraft:potatoes",\ + Properties:{\ + age:"4"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ],\ + 3:[\ + {\ + block_state:{\ + Name:"minecraft:potatoes",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.775f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} diff --git a/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/flower/set_storage.mcfunction b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/flower/set_storage.mcfunction new file mode 100644 index 0000000000..128e12b8d6 --- /dev/null +++ b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/flower/set_storage.mcfunction @@ -0,0 +1,1307 @@ +# Sets command storage for flower pot plants +# @s = null +# run from init + +data modify storage gm4_blossoming_pots:flower_pots version_history append value "1-61" + +# Data storage layout + # gm4_blossoming_pots:decorated_pots : + # place_sound: sound file to play when succesfully adding plant or changing stage, include namespace + # maximum: the number of stages / arrays. The maximum number of items the pot can take + # 1:[] array of starting data for the all the block displays used in this stage, all data + # 2:[] array of starting data for the all the block displays used in this stage, all data + # ...... + +data modify storage gm4_blossoming_pots:flower_pots minecraft:pale_hanging_moss set value {\ + place_sound:"minecraft:block.moss_carpet.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pale_hanging_moss",\ + Properties:{\ + tip:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.243f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pale_hanging_moss",\ + Properties:{\ + tip:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7425f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:pointed_dripstone set value {\ + place_sound:"minecraft:block.pointed_dripstone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"frustum"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.1435f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pointed_dripstone",\ + Properties:{\ + vertical_direction:"down",\ + thickness:"tip"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.6435f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:small_amethyst_bud set value {\ + place_sound:"minecraft:block.small_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:small_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:medium_amethyst_bud set value {\ + place_sound:"minecraft:block.medium_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:medium_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:large_amethyst_bud set value {\ + place_sound:"minecraft:block.large_amethyst_bud.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:large_amethyst_bud"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:amethyst_cluster set value {\ + place_sound:"minecraft:block.amethyst_cluster.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:amethyst_cluster"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:oak_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:oak_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:spruce_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spruce_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:birch_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:birch_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:jungle_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:jungle_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:acacia_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:acacia_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dark_oak_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dark_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:mangrove_leaves set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:mangrove_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:cherry_leaves set value {\ + place_sound:"minecraft:block.cherry_leaves.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cherry_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:pale_oak_leaves set value {\ + place_sound:"minecraft:block.grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pale_oak_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:azalea_leaves set value {\ + place_sound:"minecraft:block.azalea_leaves.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:flowering_azalea_leaves set value {\ + place_sound:"minecraft:block.azalea_leaves.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:flowering_azalea_leaves"\ + },\ + transformation:{\ + translation:[-0.25f,-0.125f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:short_grass set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:short_grass"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:spore_blossom set value {\ + place_sound:"minecraft:block.spore_blossom.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:spore_blossom"\ + },\ + transformation:{\ + translation:[-0.2f,0.42f,0.2f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.4f,0.4f,0.6f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:sugar_cane set value {\ + place_sound:"minecraft:block.grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.15f,-0.2565f,-0.15f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.3f,0.3f,0.3f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:sugar_cane"\ + },\ + transformation:{\ + translation:[-0.15f,0.0435f,-0.15f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.3f,0.3f,0.3f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:weeping_vines set value {\ + place_sound:"minecraft:block.weeping_vines.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines_plant"\ + },\ + transformation:{\ + translation:[-0.25f,0.2434f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:weeping_vines"\ + },\ + transformation:{\ + translation:[-0.25f,0.7434f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:twisting_vines set value {\ + place_sound:"minecraft:block.weeping_vines.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines_plant"\ + },\ + transformation:{\ + translation:[-0.25f,-0.2565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:twisting_vines"\ + },\ + transformation:{\ + translation:[-0.25f,0.2435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:tall_grass set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tall_grass",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.15f,-0.35025f,-0.15f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.3f,0.4f,0.3f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:tall_grass",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.15f,0.04975f,-0.15f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.3f,0.4f,0.3f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:large_fern set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:large_fern",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.2515f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:large_fern",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,0.5485f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +# default sunflower rotation is sunflower facing east, player should be facing west +data modify storage gm4_blossoming_pots:flower_pots minecraft:sunflower set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sunflower",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.3f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:lilac set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:lilac",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.3f,-0.3f,-0.3f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.6f,0.6f,0.6f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:rose_bush set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:rose_bush",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.3f,-0.3f,-0.3f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.6f,0.6f,0.6f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:peony set value {\ + place_sound:"minecraft:item.bone_meal.use",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:peony",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.3f,-0.3f,-0.3f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.6f,0.6f,0.6f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:pitcher_plant set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:pitcher_plant",\ + Properties:{\ + half:"lower"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.3815f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:pitcher_plant",\ + Properties:{\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,0.4185f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:big_dripleaf set value {\ + place_sound:"minecraft:block.big_dripleaf.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:big_dripleaf",\ + Properties:{\ + facing:"east"\ + }\ + },\ + transformation:{\ + translation:[-0.175f,-0.219f,-0.375f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.75f,0.75f,0.75f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:small_dripleaf set value {\ + place_sound:"minecraft:block.small_dripleaf.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:small_dripleaf",\ + Properties:{\ + facing:"east",\ + half:"upper"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.25f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:chorus_flower set value {\ + place_sound:"minecraft:block.chorus_flower.grow",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:chorus_flower"\ + },\ + transformation:{\ + translation:[-0.25f,0.3435f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:chorus_plant",\ + Properties:{\ + down:"true",\ + up:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,-0.1565f,-0.25f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:hanging_roots set value {\ + place_sound:"minecraft:block.hanging_roots.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:hanging_roots"\ + },\ + transformation:{\ + translation:[-0.2f,0.2432f,0.2f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.4f,0.4f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:wheat_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:wheat",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.1875f,-0.22525f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.375f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:pumpkin_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"attached_pumpkin_stem",\ + Properties:{\ + facing:"north"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,-0.319f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:melon_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"attached_melon_stem",\ + Properties:{\ + facing:"north"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,-0.319f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:beetroot_seeds set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:beetroots",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.1875f,-0.22525f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.375f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:glow_berries set value {\ + place_sound:"minecraft:block.cave_vines.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:cave_vines_plant",\ + Properties:{\ + berries:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.243f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + },\ + {\ + block_state:{\ + Name:"minecraft:cave_vines",\ + Properties:{\ + berries:"true"\ + }\ + },\ + transformation:{\ + translation:[-0.25f,0.7425f,0.25f],\ + left_rotation:[0.707f,0f,0f,0.707f],\ + scale:[0.5f,0.5f,0.5f],\ + right_rotation:[0.707f,0f,0f,0.707f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:sweet_berries set value {\ + place_sound:"minecraft:block.sweet_berry_bush.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sweet_berry_bush",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.4f,-0.319f,-0.4f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.8f,0.8f,0.8f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:nether_wart set value {\ + place_sound:"minecraft:item.nether_wart.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:nether_wart",\ + Properties:{\ + age:"3"\ + }\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.375f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:sea_pickle set value {\ + place_sound:"minecraft:block.slime_block.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:sea_pickle",\ + Properties:{\ + waterlogged:"false"\ + }\ + },\ + transformation:{\ + translation:[-0.5f,-0.2565f,-0.5f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[1f,1f,1f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:tube_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tube_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:brain_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brain_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:bubble_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bubble_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:fire_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fire_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:horn_coral set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:horn_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_tube_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_tube_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_brain_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_brain_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_bubble_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bubble_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_fire_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_fire_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_horn_coral set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_horn_coral"\ + },\ + transformation:{\ + translation:[-0.2f,-0.25f,-0.2f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.4f,0.5f,0.4f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:tube_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:tube_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:brain_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:brain_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:bubble_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:bubble_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:fire_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:fire_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:horn_coral_fan set value {\ + place_sound:"minecraft:block.wet_grass.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:horn_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_tube_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_tube_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_brain_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_brain_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_bubble_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_bubble_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_fire_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_fire_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:dead_horn_coral_fan set value {\ + place_sound:"minecraft:block.stone.place",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:dead_horn_coral_fan"\ + },\ + transformation:{\ + translation:[-0.1875f,-0.225f,-0.1875f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.375f,0.8f,0.375f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} + +data modify storage gm4_blossoming_pots:flower_pots minecraft:carrot set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:carrots",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.225f,-0.22525f,-0.225f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.45f,0.45f,0.45f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} +data modify storage gm4_blossoming_pots:flower_pots minecraft:potato set value {\ + place_sound:"minecraft:item.crop.plant",\ + maximum:1,\ + 1:[\ + {\ + block_state:{\ + Name:"minecraft:potatoes",\ + Properties:{\ + age:"7"\ + }\ + },\ + transformation:{\ + translation:[-0.225f,-0.22525f,-0.225f],\ + left_rotation:[0f,0f,0f,1f],\ + scale:[0.45f,0.45f,0.45f],\ + right_rotation:[0f,0f,0f,1f]\ + }\ + }\ + ]\ +} diff --git a/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/init.mcfunction b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/init.mcfunction new file mode 100644 index 0000000000..017e531c5a --- /dev/null +++ b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/function/init.mcfunction @@ -0,0 +1,14 @@ +execute unless score blossoming_pots gm4_modules matches 1 run data modify storage gm4:log queue append value {type:"install",module:"Blossoming Pots"} +execute unless score blossoming_pots gm4_earliest_version < blossoming_pots gm4_modules run scoreboard players operation blossoming_pots gm4_earliest_version = blossoming_pots gm4_modules +scoreboard players set blossoming_pots gm4_modules 1 + +scoreboard objectives add gm4_blossoming_pots.range dummy "gm4_bPots.range" +scoreboard objectives add gm4_blossoming_pots.loop dummy "gm4_bPots.loop" +scoreboard objectives add gm4_blossoming_pots.merge_success dummy "gm4_bPots.merge_success" +scoreboard objectives add gm4_blossoming_pots.sound dummy "gm4_bPots.sound" +scoreboard objectives add gm4_blossoming_pots.display_stage dummy "gm4_bPots.display_stage" + +execute unless data storage gm4_blossoming_pots:decorated_pots {version_history:["1-61"]} run function gm4_blossoming_pots:decorated/set_storage +execute unless data storage gm4_blossoming_pots:flower_pots {version_history:["1-61"]} run function gm4_blossoming_pots:flower/set_storage + +schedule function gm4_blossoming_pots:main 1t diff --git a/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/tags/block/potted_plants.json b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/tags/block/potted_plants.json new file mode 100644 index 0000000000..adf43db9b2 --- /dev/null +++ b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/tags/block/potted_plants.json @@ -0,0 +1,42 @@ +{ + "values": [ + "minecraft:potted_dandelion", + "minecraft:potted_poppy", + "minecraft:potted_blue_orchid", + "minecraft:potted_allium", + "minecraft:potted_azure_bluet", + "minecraft:potted_red_tulip", + "minecraft:potted_orange_tulip", + "minecraft:potted_white_tulip", + "minecraft:potted_pink_tulip", + "minecraft:potted_oxeye_daisy", + "minecraft:potted_cornflower", + "minecraft:potted_lily_of_the_valley", + "minecraft:potted_wither_rose", + "minecraft:potted_torchflower", + "minecraft:potted_oak_sapling", + "minecraft:potted_spruce_sapling", + "minecraft:potted_birch_sapling", + "minecraft:potted_jungle_sapling", + "minecraft:potted_acacia_sapling", + "minecraft:potted_dark_oak_sapling", + "minecraft:potted_cherry_sapling", + "minecraft:potted_red_mushroom", + "minecraft:potted_brown_mushroom", + "minecraft:potted_fern", + "minecraft:potted_dead_bush", + "minecraft:potted_cactus", + "minecraft:potted_bamboo", + "minecraft:potted_azalea_bush", + "minecraft:potted_flowering_azalea_bush", + "minecraft:potted_crimson_fungus", + "minecraft:potted_warped_fungus", + "minecraft:potted_crimson_roots", + "minecraft:potted_warped_roots", + "minecraft:potted_mangrove_propagule", + "minecraft:potted_closed_eyeblossom", + "minecraft:potted_open_eyeblossom", + "minecraft:potted_pale_oak_sapling" + ] + } + \ No newline at end of file diff --git a/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/tags/item/potable_plants.json b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/tags/item/potable_plants.json new file mode 100644 index 0000000000..ef8adc1fb5 --- /dev/null +++ b/gm4_blossoming_pots/since_61/data/gm4_blossoming_pots/tags/item/potable_plants.json @@ -0,0 +1,42 @@ +{ + "values": [ + "minecraft:dandelion", + "minecraft:poppy", + "minecraft:blue_orchid", + "minecraft:allium", + "minecraft:azure_bluet", + "minecraft:red_tulip", + "minecraft:orange_tulip", + "minecraft:white_tulip", + "minecraft:pink_tulip", + "minecraft:oxeye_daisy", + "minecraft:cornflower", + "minecraft:lily_of_the_valley", + "minecraft:wither_rose", + "minecraft:torchflower", + "minecraft:oak_sapling", + "minecraft:spruce_sapling", + "minecraft:birch_sapling", + "minecraft:jungle_sapling", + "minecraft:acacia_sapling", + "minecraft:dark_oak_sapling", + "minecraft:cherry_sapling", + "minecraft:red_mushroom", + "minecraft:brown_mushroom", + "minecraft:fern", + "minecraft:dead_bush", + "minecraft:cactus", + "minecraft:bamboo", + "minecraft:azalea", + "minecraft:flowering_azalea", + "minecraft:crimson_fungus", + "minecraft:warped_fungus", + "minecraft:crimson_roots", + "minecraft:warped_roots", + "minecraft:mangrove_propagule", + "minecraft:closed_eyeblossom", + "minecraft:open_eyeblossom", + "minecraft:pale_oak_sapling" + ] + } + \ No newline at end of file