Class LocateCommand

java.lang.Object
net.minecraft.server.commands.LocateCommand

public class LocateCommand extends Object
  • Field Details

    • ERROR_FAILED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
  • Constructor Details

    • LocateCommand

      public LocateCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137859_)
    • locate

      private static int locate(CommandSourceStack p_137863_, StructureFeature<?> p_137864_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • showLocateResult

      public static int showLocateResult(CommandSourceStack p_137866_, String p_137867_, BlockPos p_137868_, BlockPos p_137869_, String p_137870_)
    • dist

      private static float dist(int p_137854_, int p_137855_, int p_137856_, int p_137857_)