your current location:首页 > news>Data Trades Minecraft

Data Trades Minecraft

2024-12-12 09:35:24|Myriagame |source:minecraft skins

Brief introduction

The module is a player, and the leader or the integration package provides a method of writing villagers' transactions through data covering villagers.

The number of transactions and transactions of each level can be customized through the JSON file.

The commands prepared for developers /Villagers Refresh can manually re -load all the transactions of all villagers.

File structure

To create the following path creation of the JSON file, you can write a transaction for a specific villagers through the data packet:

 Data/[namespace]/villager/Professions/[PATH] .json 

[namespace] and [PATH] need to be changed to the ID of the designated villagers.For example, to create a transaction for Minecraft: Fletcher, the path is data/mincraft/villa/professions/fletcher.json.

example

Example data packets can be viewed here.

Pay more attention to information such as data packet structures and other information here.