Pandarix Posted May 9, 2022 Share Posted May 9, 2022 Hi, so I'm fairly new to the modding scene and figured out most of the stuff I want to do via research but I can't seem to fix this issue. I've created a mod with a custom block and want it to drop 2 different items 100% of the time. First, I used 2 different pools with 1 roll per item which worked fine until I wanted to implement silk-touching the block. With the current code (see below), silk-touching drops the 2 items+the silk touch drop. However, I intended the silk touch drop to be just itself. How do i achieve that? Spoiler { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "beautify:hanging_pot" } ] }, { "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "minecraft:lilac" } ] }, { "rolls": 1, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", "name": "beautify:lilac_pot", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "enchantments": [ { "enchantment": "minecraft:silk_touch" } ] } } ] } ] } ] } ] } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.