import com.irtimaled.bbor.client.providers.CustomBeaconProvider;
import com.irtimaled.bbor.client.providers.CustomBoxProvider;
import com.irtimaled.bbor.client.providers.CustomLineProvider;
+import com.irtimaled.bbor.client.providers.CustomSphereProvider;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import net.minecraft.command.Commands;
private static final String BOX = "box";
private static final String BEACON = "beacon";
private static final String LINE = "line";
+ private static final String SPHERE = "sphere";
public static void register(CommandDispatcher<ISuggestionProvider> commandDispatcher) {
LiteralArgumentBuilder command = Commands.literal(COMMAND)
.then(BoxCommandBuilder.build(BOX))
.then(BeaconCommandBuilder.build(BEACON))
.then(LineCommandBuilder.build(LINE))
+ .then(SphereCommandBuilder.build(SPHERE))
.then(Commands.literal(ArgumentNames.CLEAR)
.executes(context -> {
CustomBoxProvider.clear();
CustomBeaconProvider.clear();
CustomLineProvider.clear();
+ CustomSphereProvider.clear();
CommandHelper.feedback(context, "bbor.commands.custom.cleared.all");
return 0;