java.lang.Object
net.neoforged.neoforge.resource.ContextAwareReloadListener
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.ResourceLocation,GunAmmoVariantSet>>
mod.chloeprime.gunsmithlib.common.util.SimpleCodecResourceReloadListener<GunAmmoVariantSet>
mod.chloeprime.gunsmithlib.common.gunpack_extension.gun.ammo_variant.GunAmmoVariantSetLoader
所有已实现的接口:
net.minecraft.server.packs.resources.PreparableReloadListener

public class GunAmmoVariantSetLoader extends SimpleCodecResourceReloadListener<GunAmmoVariantSet>
  • 字段详细资料

  • 方法详细资料

    • apply

      @ParametersAreNonnullByDefault protected void apply(Map<net.minecraft.resources.ResourceLocation,GunAmmoVariantSet> data, net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.util.profiling.ProfilerFiller profiler)
      从类复制的说明: SimpleCodecResourceReloadListener
      Users should implement this :)
      指定者:
      apply 在类中 SimpleCodecResourceReloadListener<GunAmmoVariantSet>
    • onRegisteringReloadListeners

      public static void onRegisteringReloadListeners(net.neoforged.neoforge.event.AddReloadListenerEvent event)
    • onPlayerLogin

      public static void onPlayerLogin(net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerLoggedInEvent event)
    • sendToAllClientsConnected

      public static void sendToAllClientsConnected()