public class LegendaryCheckSpawns extends java.lang.Object implements CheckSpawns
LegendarySpawner
and on top of using spawner's selection algorithm to create the information, adds information
about the spawner itself's state including its chance of success and time until next cycle.| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
node
The permission node required to use this checkspawns.
|
| Constructor and Description |
|---|
LegendaryCheckSpawns(java.lang.String node) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSpawns(AbstractSpawner spawner,
net.minecraft.command.CommandSource sender,
java.util.List<java.lang.String> arguments)
Executes /checkspawns directly from the command.
|
java.lang.String |
getPermissionNode() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateMessages, getDefaultpublic java.lang.String node
public java.lang.String getPermissionNode()
getPermissionNode in interface CheckSpawnspublic void checkSpawns(AbstractSpawner spawner, net.minecraft.command.CommandSource sender, java.util.List<java.lang.String> arguments)
CheckSpawnscheckSpawns in interface CheckSpawns