Class DataPackRegistriesTest

java.lang.Object
net.minecraftforge.debug.misc.DataPackRegistriesTest

public class DataPackRegistriesTest extends Object

This test class shows an example of how to register unsynced and synced datapack registries, and how to use a dataprovider to generate json files for them. It also verifies that data and tags are loaded and synced correctly. Data is loaded from the following folders in test resources:

  • data/data_pack_registries_test/data_pack_registries_test/unsyncable/test.json
  • data/data_pack_registries_test/tags/data_pack_registries_test/unsyncable/test.json
  • data/data_pack_registries_test/data_pack_registries_test/syncable/test.json
  • data/data_pack_registries_test/tags/data_pack_registries_test/syncable/test.json