#Mining loot?
1 messages · Page 1 of 1 (latest)
- Why are there thow colons ?
sources:: [deepslate_iron_ore]
# ^ - remove this extra colon
- Is the source name exactly the same as in one of your files in the sources directory ?
# Example in mining.yml
sources:
deepslate_iron_ore: # <-- this is your source name
block: deepslate_iron_ore
xp: 2.2
- because I am blind and didn't saw it
- Its the same name as in my sources directory
it still doesn't work
I tried editing the rare and epic loot pools in fishing.yml and it worked, but when i tried to add a new one it didn't work. Do i need to reference new loot somewhere?
your indentation of the loot entry is not correct, it should look like this:
loot:
- type: item
material: iron_pickaxe
amount: 1
sources: [deepslate_iron_ore]
thx, it worked and it was something so obvious
.
Another question I have, how dose executer: from command loot work for players?
You can specify whether the console executes the command or the player receiving it themselves. Though there is a placeholder that allows the name to be used in the command so the console could reference the player there. Essentially, console is the smarter option because it should have full admin privileges for all commands
Would it be?:
executer: console
command: give {player} stone