PrefabSpawnerGetCommand

public class PrefabSpawnerGetCommand extends TargetPrefabSpawnerCommand

Command for prefabspawnerge operations. Registered with the command system and callable by players.

java.lang.Object > TargetPrefabSpawnerCommand > PrefabSpawnerGetCommand

Field Summary

prefab

final String prefab

Field prefab.

weights

final PrefabWeights weights

Field weights.

Method Detail

PrefabSpawnerGetCommand

public public PrefabSpawnerGetCommand ()

Method PrefabSpawnerGetCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final WorldChunk chunk, @Nonnull final PrefabSpawnerState prefabSpawner)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final WorldChunk chunk
@Nonnull final PrefabSpawnerState prefabSpawner