Trying to make a datapack that pillagers drop an emerald on kill
I have been trying to make this (mostly chatgpt) as i don't know how to make and chatgpt has helped me a bit, and bit of using the MC Wiki but so far when i kill the pillagers with the datapack showing up in /list datapacks... i have no idea in what i'm wrong
18 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by xfi#0
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
pillager.json
Requested by xfi#0
For safety reasons we do not allow executables to be sent as they might contain malware. If you're compiling for someone please DM them and as a reminder. We cannot verify if a compiled jar has not been tampered in any way
https://misode.github.io/loot-table/
use this
did this, not sure if i've missed something
In which folders did you put the file
It should be in your data folder under minecraft/loot_tables/entities/pillager.json
it comes pre-made when i downloaded it
but this is a datapack
just put the datapack in world/datapacks
cant help further as i have to sleep
Yeah i did that, it doesn't work
When creating s new datapack in misode you have to set up the default namespace
Did you put minecraft in it?
No
Try that
Where should i put it?
You just create s new datapack
With any name
And default namespace "minecraft"
and make the loot table and name it pillager.json
And then try downloading the datapack and putting it on your world
just did that, they don't drop emeralds
Then idk
Chatgpt 😳
?