]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blob - src/main/java/com/irtimaled/bbor/client/commands/CommandHelper.java
Simplify commands to use Coords & Pos objects
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / client / commands / CommandHelper.java
1 package com.irtimaled.bbor.client.commands;
2
3 import com.mojang.brigadier.context.CommandContext;
4 import net.minecraft.command.CommandSource;
5 import net.minecraft.util.text.TextComponentTranslation;
6
7 class CommandHelper {
8     static void feedback(CommandContext<CommandSource> context, String format, Object... values) {
9         context.getSource().sendFeedback(new TextComponentTranslation(format, values), false);
10     }
11 }