public class LocateCommand
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
FAILED_EXCEPTION |
| Constructor and Description |
|---|
LocateCommand() |
| Modifier and Type | Method and Description |
|---|---|
private static float |
getDistance(int x1,
int z1,
int x2,
int z2) |
private static int |
locateStructure(CommandSource source,
java.lang.String structureName) |
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int locateStructure(CommandSource source, java.lang.String structureName) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxExceptionprivate static float getDistance(int x1,
int z1,
int x2,
int z2)