public class LegendaryCheckSpawns extends java.lang.Object implements ICheckSpawns
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.
Created by Hiroku
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.ICommandSender 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, wait
generateMessages, getDefault, translate
public java.lang.String node
public java.lang.String getPermissionNode()
getPermissionNode
in interface ICheckSpawns
public void checkSpawns(AbstractSpawner spawner, net.minecraft.command.ICommandSender sender, java.util.List<java.lang.String> arguments)
ICheckSpawns
checkSpawns
in interface ICheckSpawns