public class SpawnSuppressionCommand extends AbstractCommandCollection
Command for spawnsuppressio operations. Registered with the command system and callable by players.
java.lang.Object > AbstractCommandCollection > SpawnSuppressionCommand
Field Summary
spawnSuppressionController
final
SpawnSuppressionController
spawnSuppressionController
Field spawnSuppressionController.
sb
final
StringBuilder
sb
Field sb.
suppressionSpans
final
List
suppressionSpans
Field suppressionSpans.
dump
final
String
dump
Field dump.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
spawnSuppression
final
SpawnSuppression
spawnSuppression
Field spawnSuppression.
rotation
final
Vector3f
rotation
Field rotation.
holder
final
Holder
holder
Field holder.
model
final
Model
model
Field model.
nameplate
final
Nameplate
nameplate
Field nameplate.
Method Detail
SpawnSuppressionCommand
public
public
SpawnSuppressionCommand
()
Method SpawnSuppressionCommand.
Dump
public
new
Dump
()
Method Dump.
DumpAll
public
new
DumpAll
()
Method DumpAll.
Add
public
new
Add
()
Method Add.
dumpWorld
static
String
dumpWorld
(@Nonnull final World world)
Method dumpWorld.
- Parameters:
@Nonnull final Worldworld
StringBuilder
public
new
StringBuilder
("World: ")
Method StringBuilder.
- Parameters:
"World:"
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Worldworld@Nonnull final Storestore
SpawnSuppressionComponent
public
new
SpawnSuppressionComponent
(spawnSuppression.getId()
Method SpawnSuppressionComponent.
- Parameters:
spawnSuppression.getId(spawnSuppression.getId(
TransformComponent
public
new
TransformComponent
(transformComponent.getPosition()
Method TransformComponent.
- Parameters:
transformComponent.getPosition(transformComponent.getPosition(
ModelComponent
public
new
ModelComponent
(model)
Method ModelComponent.
- Parameters:
modelmodel
PersistentModel
public
new
PersistentModel
(model.toReference()
Method PersistentModel.
- Parameters:
model.toReference(model.toReference(
Nameplate
public
new
Nameplate
("SpawnSuppression: " + String.valueOf(spawnSuppression)
Method Nameplate.
- Parameters:
"SpawnSuppression: " +String.valueOf(spawnSuppression