Class LegendaryCheckSpawns
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.archetypes.algorithms.checkspawns.LegendaryCheckSpawns
- All Implemented Interfaces:
CheckSpawns
A /checkspawns for the legendary spawner. It simulates a pass of the
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.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkSpawns
(AbstractSpawner spawner, net.minecraft.commands.CommandSourceStack sender, List<String> arguments) Executes /checkspawns directly from the command.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pixelmonmod.pixelmon.api.spawning.calculators.CheckSpawns
generateMessages
-
Field Details
-
node
The permission node required to use this checkspawns.
-
-
Constructor Details
-
LegendaryCheckSpawns
-
-
Method Details
-
getPermissionNode
- Specified by:
getPermissionNode
in interfaceCheckSpawns
-
checkSpawns
public void checkSpawns(AbstractSpawner spawner, net.minecraft.commands.CommandSourceStack sender, List<String> arguments) Description copied from interface:CheckSpawns
Executes /checkspawns directly from the command.- Specified by:
checkSpawns
in interfaceCheckSpawns
-