Class ConfigSyncManager

java.lang.Object
codechicken.lib.config.ConfigSyncManager

public class ConfigSyncManager extends Object
Created by covers1624 on 19/5/22.
  • Constructor Details

    • ConfigSyncManager

      public ConfigSyncManager()
  • Method Details

    • registerSync

      public static void registerSync(net.minecraft.resources.ResourceLocation key, ConfigTag tag)
      Registers the specified ConfigTag for syncing.

      This must be registered on both the client and server.

      Parameters:
      key - The unique id to associate this tag.
      tag - The Tag to sync.
    • init

      @Internal public static void init(net.neoforged.bus.api.IEventBus modBus)
    • readSyncPacket

      @Internal public static void readSyncPacket(PacketCustom packet)