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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonKeyframe(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
-