Class ServerStructurePackLoader

java.lang.Object
com.ldtteam.structurize.storage.ServerStructurePackLoader

public class ServerStructurePackLoader extends Object
Here we load the structure packs on the server side.
  • Field Details

  • Constructor Details

    • ServerStructurePackLoader

      public ServerStructurePackLoader()
  • Method Details

    • onServerStarting

      public static void onServerStarting()
      Called on server mod construction.
    • onClientSyncAttempt

      public static void onClientSyncAttempt(Map<String,Double> clientStructurePacks, net.minecraft.server.level.ServerPlayer player)
      Called on client sync attempt.
      Parameters:
      clientStructurePacks - the client structure packs.
    • onWorldTick

      public static void onWorldTick(net.neoforged.neoforge.event.tick.ServerTickEvent.Post event)