crwdns141759:0crwdne141759:0

crwdns141763:0crwdne141763:0

crwdns141765:0:javadoc:crwdnd141765:0:javadoc:crwdne141765:0

import org.spongepowered.api.block.BlockTypes;
import org.spongepowered.api.effect.Viewer;

viewer.sendBlockChange(0, 65, 0, BlockTypes.COMMAND_BLOCK.getDefaultState());

crwdns141767:0crwdne141767:0

crwdns141769:0:javadoc:crwdne141769:0

import org.spongepowered.math.vector.Vector3i;

Vector3i vector = new Vector3i(0, 65, 0);
viewer.sendBlockChange(vector, BlockTypes.COMMAND_BLOCK.getDefaultState());

Tip

crwdns156437:0:javadoc:crwdne156437:0

crwdns141771:0crwdne141771:0

crwdns141773:0:javadoc:crwdne141773:0

viewer.resetBlockChange(0, 65, 0);

crwdns141775:0crwdne141775:0