Posted April 14, 20205 yr Hello Comunity, I have a problem with Crop block drops, everything works exept for the loot (other block loots work for me). Here is the code of the .json file for the block drop from the Crop. The files named is "block_crop_strawberry.json", that is the name of the Crop itsself, and there is an item for the crop, called item_crop_strawberry. Thanks A lot for your help { "type": "minecraft:block", "pools": [ { "rolls": 1.0, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:block_state_property", "block": "neworesmod:block_crop_strawberry", "properties": { "age": "7" } } ], "name": "neworesmod:block_crop_strawberry" }, { "type": "minecraft:item", "name": "neworesmod:item_crop_strawberry" } ] } ] }, { "rolls": 1.0, "entries": [ { "type": "minecraft:item", "functions": [ { "function": "minecraft:apply_bonus", "enchantment": "minecraft:fortune", "formula": "minecraft:binomial_with_bonus_count", "parameters": { "extra": 3, "probability": 0.5714286 } } ], "name": "neworesmod:item_crop_strawberry" } ], "conditions": [ { "condition": "minecraft:block_state_property", "block": "neworesmod:block_crop_strawberry", "properties": { "age": "7" } } ] } ], "functions": [ { "function": "minecraft:explosion_decay" } ] }
April 16, 20205 yr Author On 4/15/2020 at 3:37 AM, poopoodice said: The log should tell you where went wrong Thank you, i have found it out, the problem was, that i have named the block item for the crop not like the (crop) Block. Now it works flawlessly.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.