Package net.minecraft.server
Class ServerTask
java.lang.Object
net.minecraft.server.ServerTask
- All Implemented Interfaces:
Runnable
public class ServerTask extends Object implements Runnable
-
Field Summary
Fields Modifier and Type Field Description private int
creationTicks
private Runnable
runnable
-
Constructor Summary
Constructors Constructor Description ServerTask(int creationTicks, Runnable runnable)
-
Method Summary
Modifier and Type Method Description int
getCreationTicks()
void
run()