Interface ServerCutsceneEvents.Tick

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

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

    • onTick

      void onTick(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.Identifier cutscene, int ticks)
      Parameters:
      ticks - how many server ticks the player has been watching, from 1