Page 1 of 1

Where to Customize NPC Shops

PostPosted: 29 Aug 2022 21:18
by Ulfheiden
I'm using Pixelmon 9.0.7 currently and I'm working on a custom map. I'm trying to create some custom shopkeepers but I can't seem to find the correct config files to do so. Everything I've found online is talking about the old .json file method for editing shops.

Is there a method currently in Pixelmon 9.0.7 to be able to edit shops?

Where to Customize NPC Shops

PostPosted: 30 Aug 2022 07:03
by SKyTheThunder
In 9.0.x the old External JSONs have been rolled over into Minecraft's native Data Pack system.

You can override or add to the respective files by adding them to your Data Pack under the correct path. The default ones can be copied from the mod file (opened like a zip archive) under "data" and edited in your pack as you see fit. Shopkeeper files specifically are be found under "data/pixelmon/npcs/". The files themselves work the same as they did before.

The Minecraft Wiki has guides for Data Packs:
Creating: https://minecraft.fandom.com/wiki/Tutor ... _data_pack
Installing: https://minecraft.fandom.com/wiki/Tutor ... _data_pack

Re: Where to Customize NPC Shops

PostPosted: 30 Nov 2022 21:20
by Kirisuto
Excuse me, i'm currently new in "datapacks" world, and i'am bit lost with it even with the current examples in the links you send, could you send me a simple example? i'm trying to make a server with some friends and we want to add some specific items
(our version its 9.0.10 also)