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