Class GenericTriggerCheckSpawns
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.archetypes.algorithms.checkspawns.GenericTriggerCheckSpawns
- All Implemented Interfaces:
CheckSpawns
A /checkspawns for a general trigger
LocationType
. It creates a SpawnLocation
at the target's position, sets the location type and then uses the selected spawner's selection
algorithm to create all information.-
Field Summary
Modifier and TypeFieldDescriptionTheLocationType
to use for theSpawnLocation
.The permission node required to use this checkspawns. -
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. -
locationType
TheLocationType
to use for theSpawnLocation
.
-
-
Constructor Details
-
GenericTriggerCheckSpawns
-
-
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
-