Class CutsceneNetwork

java.lang.Object
net.ixdarklord.coolcatcanvas.internal.cutscene.CutsceneNetwork

public final class CutsceneNetwork extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static boolean
    play(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier id, CutscenePayload payload)
    Sends a player a cutscene to play; false when their client can't take it.
    static void
    stop(net.minecraft.server.level.ServerPlayer player)
     
    static @Nullable net.minecraft.resources.Identifier
    watching(net.minecraft.server.level.ServerPlayer player)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • init

      public static void init()
    • play

      public static boolean play(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier id, CutscenePayload payload)
      Sends a player a cutscene to play; false when their client can't take it.
    • stop

      public static void stop(net.minecraft.server.level.ServerPlayer player)
    • watching

      public static @Nullable net.minecraft.resources.Identifier watching(net.minecraft.server.level.ServerPlayer player)