Interface ServerCutsceneEvents.Ended

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.Ended
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEnded(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier cutscene, CutsceneEndReason reason)
    The reason is what the player's client reported; a modified client can claim any.
  • Method Details

    • onEnded

      void onEnded(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier cutscene, CutsceneEndReason reason)
      The reason is what the player's client reported; a modified client can claim any.