public class SpawnBlockCommand extends AbstractWorldCommand
Command for spawnbloc operations. Registered with the command system and callable by players.
java.lang.Object > AbstractWorldCommand > SpawnBlockCommand
Field Summary
blockTypeKey
final
String
blockTypeKey
Field blockTypeKey.
position
final
Vector3d
position
Field position.
rotation
final
Vector3f
rotation
Field rotation.
timeResource
final
TimeResource
timeResource
Field timeResource.
blockEntityHolder
final
Holder
blockEntityHolder
Field blockEntityHolder.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
uuidComponent
final
UUIDComponent
uuidComponent
Field uuidComponent.
entityIdString
final
String
entityIdString
Field entityIdString.
Method Detail
SpawnBlockCommand
public
public
SpawnBlockCommand
()
Method SpawnBlockCommand.
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