I was tried to add loot table to ender dragon with wiki's example just change drop item to minecraft:apple
But ender dragon didn't drop anything
I put the yml file to itemsadder/contents/test
info:
namespace: test
loots:
mobs:
ender_dragon:
type: ENDER_DRAGON
items:
item_1:
item: minecraft:apple
min_amount: 1
max_amount: 1
chance: 100
and I tried to change ender dragon to zombie
but it get error
java.lang.illegalArguementException:No enum constant org.bukkit.entity.Entity Type.Zombie
what should I do?
Please tell me the speicific process
like necesary file, file location .etc