Package net.minecraft.command
Class TimedFunction
- java.lang.Object
-
- net.minecraft.command.TimedFunction
-
- All Implemented Interfaces:
ITimerCallback<MinecraftServer>
public class TimedFunction extends java.lang.Object implements ITimerCallback<MinecraftServer>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimedFunction.Serializer
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocation
functionId
-
Constructor Summary
Constructors Constructor Description TimedFunction(ResourceLocation p_i51190_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(MinecraftServer p_212869_1_, TimerCallbackManager<MinecraftServer> p_212869_2_, long p_212869_3_)
-
-
-
Field Detail
-
functionId
private final ResourceLocation functionId
-
-
Constructor Detail
-
TimedFunction
public TimedFunction(ResourceLocation p_i51190_1_)
-
-
Method Detail
-
handle
public void handle(MinecraftServer p_212869_1_, TimerCallbackManager<MinecraftServer> p_212869_2_, long p_212869_3_)
- Specified by:
handle
in interfaceITimerCallback<MinecraftServer>
-
-