Tobacco Crop (no fruit)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"variants": {
|
||||
"age=0": {
|
||||
"model": "acesbs:block/tobacco_crop_stage0"
|
||||
},
|
||||
"age=1": {
|
||||
"model": "acesbs:block/tobacco_crop_stage1"
|
||||
},
|
||||
"age=2": {
|
||||
"model": "acesbs:block/tobacco_crop_stage2"
|
||||
},
|
||||
"age=3": {
|
||||
"model": "acesbs:block/tobacco_crop_stage3"
|
||||
},
|
||||
"age=4": {
|
||||
"model": "acesbs:block/tobacco_crop_stage4"
|
||||
},
|
||||
"age=5": {
|
||||
"model": "acesbs:block/tobacco_crop_stage5"
|
||||
},
|
||||
"age=6": {
|
||||
"model": "acesbs:block/tobacco_crop_stage6"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/crop",
|
||||
"textures": {
|
||||
"crop": "acesbs:block/tobacco_crop_stage0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/crop",
|
||||
"textures": {
|
||||
"crop": "acesbs:block/tobacco_crop_stage1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/crop",
|
||||
"textures": {
|
||||
"crop": "acesbs:block/tobacco_crop_stage2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/crop",
|
||||
"textures": {
|
||||
"crop": "acesbs:block/tobacco_crop_stage3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/crop",
|
||||
"textures": {
|
||||
"crop": "acesbs:block/tobacco_crop_stage4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/crop",
|
||||
"textures": {
|
||||
"crop": "acesbs:block/tobacco_crop_stage5"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:block/crop",
|
||||
"textures": {
|
||||
"crop": "acesbs:block/tobacco_crop_stage6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "acesbs:item/tobacco_seeds"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user