Interface ServerCutsceneEvents.Keyframe

Enclosing class:
ServerCutsceneEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ServerCutsceneEvents.Keyframe
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onKeyframe(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier cutscene, int index)
     
  • Method Details

    • onKeyframe

      void onKeyframe(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier cutscene, int index)
      Parameters:
      index - the keyframe's place in the cutscene's keyframes, from 0, as the client reported it