{
   "format_version": "1.16.100",
   "minecraft:block": {
      "description": {
         "identifier": "vatonage:redstone_block_plant3",
         "register_to_creative_menu": true
      },
      "components": {
         "minecraft:material_instances": {
            "*": {
               "texture": "plant3",
               "render_method": "alpha_test"
            }
         },


         "minecraft:pick_collision": {
             "origin":  [-8, 0, -8],
             "size":    [16, 8, 16]
         },
         "minecraft:entity_collision": {
             "origin":  [-8, 0, -8],
             "size":    [0, 0, 0]
         },
            "minecraft:placement_filter": {
                "conditions": [
                    {
                        "allowed_faces": ["up"],
                        "block_filter": ["farmland"]
                    }
                ]
            },
         "minecraft:on_interact": {
            "target": "other",
            "event": "vatonage:generate2",
            "condition": "query.get_equipped_item_name == 'bone_meal'"
         },
         "minecraft:loot": "loot_tables/blocks/redstone_block_seeds.json",
         "minecraft:geometry": "geometry.oreplant",
         "minecraft:destroy_time": 0,
         "minecraft:block_light_absorption": 0,
         "minecraft:ticking": {
            "looping": true,
            "range": [ 60, 90 ],
            "on_tick": {
               "event": "vatonage:generate",
               "target": "self"
            }
         }
      },
      "events": {
         "vatonage:generate": {
            "run_command": {
               "command": "setblock ~ ~ ~ vatonage:redstone_block_plant4"
            }
         },
         "vatonage:generate2": {
            "run_command": {
               "command": "setblock ~ ~ ~ vatonage:redstone_block_plant4"
            },
            "decrement_stack": {
            }
         }
      }
   }
}