public interface CheckSpawns
Usual procedure for /checkspawns is as follows:
SpawnLocation
s.>
SpawnInfo
s for all the SpawnLocation
s. >
getPercentages
>.
generateMessages(Map, List)
and send them to the sender.>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.
|
default java.util.List<net.minecraft.util.text.IFormattableTextComponent> |
generateMessages(java.util.Map<java.lang.String,java.lang.Double> percentages,
java.util.List<java.lang.String> arguments)
Default method that takes a map of percentages and composes the series of messages displaying it to the player.
|
static CheckSpawns |
getDefault() |
default java.lang.String |
getPermissionNode() |
static CheckSpawns getDefault()
default java.lang.String getPermissionNode()
void checkSpawns(AbstractSpawner spawner, net.minecraft.command.CommandSource sender, java.util.List<java.lang.String> arguments)
default java.util.List<net.minecraft.util.text.IFormattableTextComponent> generateMessages(java.util.Map<java.lang.String,java.lang.Double> percentages, java.util.List<java.lang.String> arguments)