A
Admincraft•2y ago
xfi

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
Admincraft Meta
Admincraft Meta•2y ago
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
Admincraft Meta
Admincraft Meta•2y ago
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
Requested by xfi#0
Admincraft Meta
Admincraft Meta•2y ago
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
xfi
xfiOP•2y ago
did this, not sure if i've missed something
No description
lugixion
lugixion•2y ago
In which folders did you put the file It should be in your data folder under minecraft/loot_tables/entities/pillager.json
xfi
xfiOP•2y ago
it comes pre-made when i downloaded it but this is a datapack
ProGamingDk
ProGamingDk•2y ago
just put the datapack in world/datapacks cant help further as i have to sleep
xfi
xfiOP•2y ago
Yeah i did that, it doesn't work
lugixion
lugixion•2y ago
When creating s new datapack in misode you have to set up the default namespace Did you put minecraft in it?
xfi
xfiOP•2y ago
No
lugixion
lugixion•2y ago
Try that
xfi
xfiOP•2y ago
Where should i put it?
lugixion
lugixion•2y ago
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
xfi
xfiOP•2y ago
just did that, they don't drop emeralds
lugixion
lugixion•2y ago
Then idk
1who¡ssus?
1who¡ssus?•2y ago
Chatgpt 😳
xfi
xfiOP•2y ago
?

Did you find this page helpful?