Closed dinobossytnew closed 1 year ago
Basically you misconfigured. You might need to delete these lines from your loot config:
loots:
blocks:
obsidiana:
type: OBSIDIAN
items:
rubyroja_ore:
item: OBSIDIAN
min_amount: 1
max_amount: 2
chance: 100
break_tools_blacklist: < ---- delete this
- WOODEN_PICKAXE < ---- delete this
- STONE_PICKAXE < ---- delete this
- IRON_PICKAXE < ---- delete this
But I don't want the obsidian to break with those spikes.
According to the wiki example you can.
Basically you misconfigured. You might need to delete these lines from your loot config:
loots: blocks: obsidiana: type: OBSIDIAN items: rubyroja_ore: item: OBSIDIAN min_amount: 1 max_amount: 2 chance: 100 break_tools_blacklist: < ---- delete this - WOODEN_PICKAXE < ---- delete this - STONE_PICKAXE < ---- delete this - IRON_PICKAXE < ---- delete this
According to the wiki example you can.
You set it with a wrong indentation. Please, please, please use the VSCODE extension, do not edit files manually.
In the next update I'll catch this error and throw a more readable error for you to easily identify the misconfigured loot entry.
VSCODE extension: https://marketplace.visualstudio.com/items?itemName=LoneDev.ia-vscode
Terms
Discord tag (optional)
DinoBoss#6985
What happened?
Hello when placing obsidian for a custom pick to break it but not to break with other picks according to the wiki https://itemsadder.devs.beer/plugin-usage/adding-content/item-properties/blocks
but it gives error.
Steps to reproduce the issue
try to create a file and paste this line and according to the wiki it would be correct...
Server version
[20:40:38 INFO]: Current: git-Purpur-1857 (MC: 1.19.2)* Previous: git-petal-"d448170" (MC: 1.19.2)
ItemsAdder Version
[20:40:52 INFO]: ItemsAdder version 3.3.0-beta-r10 [20:40:52 INFO]: Customized Minecraft without client mods! [20:40:52 INFO]: Website: devs.beer [20:40:52 INFO]: Author: LoneDev
ProtocolLib Version
[20:41:14 INFO]: ProtocolLib version 5.0.0-SNAPSHOT-b602 [20:41:14 INFO]: Provides read/write access to the Minecraft protocol. [20:41:14 INFO]: Authors: dmulloy2 and comphenix
LoneLibs Version
[20:41:29 INFO]: LoneLibs version 1.0.21 [20:41:29 INFO]: Collection of libs used by my plugins [20:41:29 INFO]: Authors: LoneDev and others
LightAPI Version (optional)
null
LibsDisguises Version (optional)
null
FULL server log
https://hastebin.com/ejufuvasog.makefile
Error (optional)
ItemsAdder config.yml
Problematic items yml configuration file (optional)
Other files, you can drag and drop them here to upload. (optional)
null
Screenshots/Videos (you can drag and drop files or paste links)
null