TargetPrefabSpawnerCommand

abstract class TargetPrefabSpawnerCommand extends AbstractWorldCommand

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

java.lang.Object > AbstractWorldCommand > TargetPrefabSpawnerCommand

Field Summary

relativePosition

final RelativeIntPosition relativePosition

Field relativePosition.

playerRef

final Ref playerRef

Field playerRef.

targetBlock

final Vector3i targetBlock

Field targetBlock.

chunk

final WorldChunk chunk

Field chunk.

state

final BlockState state

Field state.

Method Detail

TargetPrefabSpawnerCommand

public public TargetPrefabSpawnerCommand (@Nonnull final String name, @Nonnull final String description)

Method TargetPrefabSpawnerCommand.

Parameters:
@Nonnull final String name
@Nonnull final String description

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final World world
@Nonnull final Store store