Class LocateCommand

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

public class LocateCommand extends Object
Mappings:
Namespace Name
official acn
intermediary net/minecraft/class_3079
named net/minecraft/server/command/LocateCommand
  • Field Details

    • field_39245

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_39245
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_39245 Lnet/minecraft/class_3079;field_39245:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_39245 Lnet/minecraft/server/command/LocateCommand;field_39245:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_39246

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_39246
      Mappings:
      Namespace Name Mixin selector
      official b Lacn;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_39246 Lnet/minecraft/class_3079;field_39246:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_39246 Lnet/minecraft/server/command/LocateCommand;field_39246:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_39247

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_39247
      Mappings:
      Namespace Name Mixin selector
      official c Lacn;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_39247 Lnet/minecraft/class_3079;field_39247:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_39247 Lnet/minecraft/server/command/LocateCommand;field_39247:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_39248

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_39248
      Mappings:
      Namespace Name Mixin selector
      official d Lacn;d:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_39248 Lnet/minecraft/class_3079;field_39248:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_39248 Lnet/minecraft/server/command/LocateCommand;field_39248:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_39249

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_39249
      Mappings:
      Namespace Name Mixin selector
      official e Lacn;e:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_39249 Lnet/minecraft/class_3079;field_39249:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_39249 Lnet/minecraft/server/command/LocateCommand;field_39249:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_39250

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_39250
      Mappings:
      Namespace Name Mixin selector
      official f Lacn;f:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_39250 Lnet/minecraft/class_3079;field_39250:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_39250 Lnet/minecraft/server/command/LocateCommand;field_39250:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_39251

      private static final int field_39251
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lacn;g:I
      intermediary field_39251 Lnet/minecraft/class_3079;field_39251:I
      named field_39251 Lnet/minecraft/server/command/LocateCommand;field_39251:I
    • field_39252

      private static final int field_39252
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lacn;h:I
      intermediary field_39252 Lnet/minecraft/class_3079;field_39252:I
      named field_39252 Lnet/minecraft/server/command/LocateCommand;field_39252:I
    • field_39253

      private static final int field_39253
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lacn;i:I
      intermediary field_39253 Lnet/minecraft/class_3079;field_39253:I
      named field_39253 Lnet/minecraft/server/command/LocateCommand;field_39253:I
    • field_39254

      private static final int field_39254
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lacn;j:I
      intermediary field_39254 Lnet/minecraft/class_3079;field_39254:I
      named field_39254 Lnet/minecraft/server/command/LocateCommand;field_39254:I
    • field_39255

      private static final int field_39255
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lacn;k:I
      intermediary field_39255 Lnet/minecraft/class_3079;field_39255:I
      named field_39255 Lnet/minecraft/server/command/LocateCommand;field_39255:I
  • Constructor Details

    • LocateCommand

      public LocateCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13443 Lnet/minecraft/class_3079;method_13443(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/command/LocateCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • method_43907

      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a(Leq$c;Lhl;)Ljava/util/Optional;
      intermediary method_43907 Lnet/minecraft/class_3079;method_43907(Lnet/minecraft/class_7066$class_7068;Lnet/minecraft/class_2378;)Ljava/util/Optional;
      named method_43907 Lnet/minecraft/server/command/LocateCommand;method_43907(Lnet/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate;Lnet/minecraft/util/registry/Registry;)Ljava/util/Optional;
    • method_43905

      private static int method_43905(ServerCommandSource serverCommandSource, RegistryPredicateArgumentType.RegistryPredicate<StructureType> registryPredicate) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a(Ldr;Leq$c;)I
      intermediary method_43905 Lnet/minecraft/class_3079;method_43905(Lnet/minecraft/class_2168;Lnet/minecraft/class_7066$class_7068;)I
      named method_43905 Lnet/minecraft/server/command/LocateCommand;method_43905(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate;)I
    • method_43912

      private static int method_43912(ServerCommandSource serverCommandSource, RegistryPredicateArgumentType.RegistryPredicate<Biome> registryPredicate) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official b Lacn;b(Ldr;Leq$c;)I
      intermediary method_43912 Lnet/minecraft/class_3079;method_43912(Lnet/minecraft/class_2168;Lnet/minecraft/class_7066$class_7068;)I
      named method_43912 Lnet/minecraft/server/command/LocateCommand;method_43912(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate;)I
    • method_43915

      private static int method_43915(ServerCommandSource serverCommandSource, RegistryPredicateArgumentType.RegistryPredicate<PointOfInterestType> registryPredicate) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official c Lacn;c(Ldr;Leq$c;)I
      intermediary method_43915 Lnet/minecraft/class_3079;method_43915(Lnet/minecraft/class_2168;Lnet/minecraft/class_7066$class_7068;)I
      named method_43915 Lnet/minecraft/server/command/LocateCommand;method_43915(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate;)I
    • sendCoordinates

      public static int sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType.RegistryPredicate<?> structureFeature, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos,? extends RegistryEntry<?>> structurePosAndEntry, String successMessage, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a(Ldr;Leq$c;Lgs;Lcom/mojang/datafixers/util/Pair;Ljava/lang/String;Z)I
      intermediary method_24499 Lnet/minecraft/class_3079;method_24499(Lnet/minecraft/class_2168;Lnet/minecraft/class_7066$class_7068;Lnet/minecraft/class_2338;Lcom/mojang/datafixers/util/Pair;Ljava/lang/String;Z)I
      named sendCoordinates Lnet/minecraft/server/command/LocateCommand;sendCoordinates(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate;Lnet/minecraft/util/math/BlockPos;Lcom/mojang/datafixers/util/Pair;Ljava/lang/String;Z)I
    • getDistance

      private static float getDistance(int x1, int y1, int x2, int y2)
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a(IIII)F
      intermediary method_13439 Lnet/minecraft/class_3079;method_13439(IIII)F
      named getDistance Lnet/minecraft/server/command/LocateCommand;getDistance(IIII)F