Interface CutsceneEvents.BeforeStart

Enclosing class:
CutsceneEvents
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 CutsceneEvents.BeforeStart
  • Method Summary

    Modifier and Type
    Method
    Description
    onBeforeStart(@Nullable net.minecraft.resources.Identifier id, Cutscene cutscene, boolean fromServer)
     
  • Method Details

    • onBeforeStart

      EventResult onBeforeStart(@Nullable net.minecraft.resources.Identifier id, Cutscene cutscene, boolean fromServer)
      Parameters:
      id - the id it is played by, or null for one played straight from a Cutscene
      fromServer - whether the server asked for it