Tobacco Crop (no fruit)

This commit is contained in:
Vos
2025-11-11 15:59:03 -06:00
parent 734ff0e7d9
commit 6cf60c7d6b
28 changed files with 220 additions and 7 deletions
@@ -4,13 +4,11 @@
"translate": "enchantment.acesbs.lightning_strike"
},
"effects": {
"minecraft:post_attack": [
"minecraft:projectile_spawned": [
{
"affected": "victim",
"effect": {
"type": "acesbs:lighting_strike"
},
"enchanted": "attacker"
}
}
]
},
@@ -23,10 +21,9 @@
"base": 5,
"per_level_above_first": 7
},
"primary_items": "#minecraft:enchantable/bow",
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/weapon",
"supported_items": "#minecraft:enchantable/bow",
"weight": 5
}
@@ -0,0 +1,68 @@
{
"type": "minecraft:block",
"functions": [
{
"function": "minecraft:explosion_decay"
}
],
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"block": "acesbs:tobacco_crop",
"condition": "minecraft:block_state_property",
"properties": {
"age": "6"
}
}
],
"name": "acesbs:lemon"
},
{
"type": "minecraft:item",
"name": "acesbs:tobacco_seeds"
}
]
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"conditions": [
{
"block": "acesbs:tobacco_crop",
"condition": "minecraft:block_state_property",
"properties": {
"age": "6"
}
}
],
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"enchantment": "minecraft:fortune",
"formula": "minecraft:binomial_with_bonus_count",
"function": "minecraft:apply_bonus",
"parameters": {
"extra": 3,
"probability": 0.5714286
}
}
],
"name": "acesbs:tobacco_seeds"
}
],
"rolls": 1.0
}
]
}