TheAwesomeGem / BlockDropsTweaker

Repository for the mod BlockDropsTweaker
Apache License 2.0
1 stars 0 forks source link

Block drop change for redstone ore not working #10

Open Winddbourne opened 4 years ago

Winddbourne commented 4 years ago

I wanted to force Redstone ore to drop itself rather than dropping dust. I had plans for other methods that would let you refine the ore into dust . . . it looked like the commands worked and it generated a file . . . but when I use an iron pick on a block of Redstone ore I still get the dust.

Here is the generated file's text:

{"minecraft:redstone_ore,*":{"replace":true,"allowsilktouch":true,"dropsilktouchalways":true,"toolsBlacklist":true,"tools":[],"biomeBlacklist":true,"biomes":[],"minYLevel":0,"maxYLevel":256,"minExp":0,"maxExp":0,"gamestageBlacklist":true,"gamestageAll":true,"gameStageList":[],"modifierBlacklist":true,"modifierList":[],"traitBlacklist":true,"traitList":[],"enchantmentBlacklist":true,"enchantmentList":[],"nbtBlacklist":true,"nbtList":[],"fortunechance":{"0":100,"1":100,"2":100,"3":100},"dropdatalist":[{"id":"minecraft:redstone_ore","metadata":0,"toolsBlacklist":true,"tools":[],"fortunechancemap":{"0":100,"1":100,"2":100,"3":100},"fortunequantitymap":{"0":{"minquantity":1,"maxquantity":1},"1":{"minquantity":1,"maxquantity":1},"2":{"minquantity":1,"maxquantity":1},"3":{"minquantity":1,"maxquantity":1}},"biomeBlacklist":true,"biomes":[],"minYLevel":0,"maxYLevel":256,"minExp":0,"maxExp":0,"gamestageBlacklist":true,"gamestageAll":true,"gameStageList":[],"modifierBlacklist":true,"modifierList":[],"traitBlacklist":true,"traitList":[],"enchantmentBlacklist":true,"enchantmentList":[],"nbtBlacklist":true,"nbtList":[],"exclusive":false}]}}

Heyo13579 commented 4 years ago

im having the same issue heres my code:

{"minecraft:redstone_ore,0":{"replace":true,"allowsilktouch":true,"dropsilktouchalways":true,"toolsBlacklist":true,"tools":[],"biomeBlacklist":true,"biomes":[],"minYLevel":0,"maxYLevel":256,"minExp":0,"maxExp":0,"gamestageBlacklist":true,"gamestageAll":true,"gameStageList":[],"modifierBlacklist":true,"modifierList":[],"traitBlacklist":true,"traitList":[],"enchantmentBlacklist":true,"enchantmentList":[],"nbtBlacklist":true,"nbtList":[],"fortunechance":{"0":100,"1":100,"2":100,"3":100},"dropdatalist":[{"id":"jaopca:item_dusttinyredstone","metadata":0,"toolsBlacklist":true,"tools":[],"fortunechancemap":{"0":100,"1":100,"2":100,"3":100},"fortunequantitymap":{"0":{"minquantity":1,"maxquantity":2},"1":{"minquantity":2,"maxquantity":3},"2":{"minquantity":3,"maxquantity":4},"3":{"minquantity":4,"maxquantity":5}},"biomeBlacklist":true,"biomes":[],"minYLevel":0,"maxYLevel":256,"minExp":0,"maxExp":10,"gamestageBlacklist":true,"gamestageAll":true,"gameStageList":[],"modifierBlacklist":true,"modifierList":[],"traitBlacklist":true,"traitList":[],"enchantmentBlacklist":true,"enchantmentList":[],"nbtBlacklist":true,"nbtList":[],"exclusive":false}]}

EagleEyeLogic commented 3 years ago

Some more Example would be nice. Here is one simple for RedStone like it normaly function in Vanilla Minecraft

{
    "minecraft:lit_redstone_ore,0":{
        "replace": true,
        "allowsilktouch": true,
        "dropsilktouchalways": true,
        "toolsBlacklist": true,
        "tools": [],
        "biomeBlacklist": true,
        "biomes": [],
        "minYLevel": 0,
        "maxYLevel": 256,
        "minExp": 0,
        "maxExp": 0,
        "gamestageBlacklist": true,
        "gamestageAll": true,
        "gameStageList": [],
        "modifierBlacklist": true,
        "modifierList": [],
        "traitBlacklist": true,
        "traitList": [],
        "enchantmentBlacklist": true,
        "enchantmentList": [],
        "nbtBlacklist": true,
        "nbtList": [],
        "fortunechance":{"0": 100, "1": 100, "2": 100, "3": 100},
        "dropdatalist":[
            {"id":"minecraft:redstone",
            "metadata": 0,
            "toolsBlacklist": true,
            "tools": [],
            "fortunechancemap":{"0": 100, "1": 100, "2": 100, "3": 100},
            "fortunequantitymap":{
                "0":{"minquantity": 4, "maxquantity": 5},
                "1":{"minquantity": 4, "maxquantity": 6},
                "2":{"minquantity": 4, "maxquantity": 7},
                "3":{"minquantity": 4, "maxquantity": 8}
            },
            "biomeBlacklist": true,
            "biomes": [],
            "minYLevel": 0,
            "maxYLevel": 256,
            "minExp": 0,
            "maxExp": 0,
            "gamestageBlacklist": true,
            "gamestageAll": true,
            "gameStageList": [],
            "modifierBlacklist": true,
            "modifierList": [],
            "traitBlacklist": true,
            "traitList": [],
            "enchantmentBlacklist": true,
            "enchantmentList": ["minecraft:silk_touch"],
            "nbtBlacklist": true,
            "nbtList": [],
            "exclusive": false
            },

            {"id":"minecraft:redstone_ore",
            "metadata": 0,
            "toolsBlacklist": true,
            "tools": [],
            "fortunechancemap":{"0": 100, "1": 100, "2": 100, "3":100},
            "fortunequantitymap":{
                "0":{"minquantity": 1, "maxquantity": 1},
                "1":{"minquantity": 1, "maxquantity": 1},
                "2":{"minquantity": 1, "maxquantity": 1},
                "3":{"minquantity": 1, "maxquantity": 1}
            },
            "biomeBlacklist": true,
            "biomes": [],
            "minYLevel": 0,
            "maxYLevel": 256,
            "minExp": 0,
            "maxExp": 0,
            "gamestageBlacklist": true,
            "gamestageAll": true,
            "gameStageList": [],
            "modifierBlacklist": true,
            "modifierList": [],
            "traitBlacklist": true,
            "traitList": [],
            "enchantmentBlacklist": false,
            "enchantmentList": ["minecraft:silk_touch"],
            "nbtBlacklist": true,
            "nbtList": [],
            "exclusive": false
            }
        ]
    }
}
  1. Redstone switch to lit_redstone_ore if you touch it.
  2. Normal drop and silktouch are 2 ways that need to be defined. Normal drop with blacklisted silktouch and silktouch with whitelisted silktouch.