net.minecraft.server.commands

public class LocateCommand

ann
net.minecraft.server.commands.LocateCommand
net.minecraft.class_3079
net.minecraft.server.command.LocateCommand
net.minecraft.server.commands.CommandLocate

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_41660
LOGGER
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_STRUCTURE_NOT_FOUND
field_39245
STRUCTURE_NOT_FOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_STRUCTURE_INVALID
field_39246
STRUCTURE_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_BIOME_NOT_FOUND
field_39247
BIOME_NOT_FOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_POI_NOT_FOUND
field_39249
POI_NOT_FOUND_EXCEPTION
private static final int
f
MAX_STRUCTURE_SEARCH_RADIUS
field_39251
LOCATE_STRUCTURE_RADIUS
private static final int
g
MAX_BIOME_SEARCH_RADIUS
field_39252
LOCATE_BIOME_RADIUS
private static final int
h
BIOME_SAMPLE_RESOLUTION_HORIZONTAL
field_39253
LOCATE_BIOME_HORIZONTAL_BLOCK_CHECK_INTERVAL
private static final int
i
BIOME_SAMPLE_RESOLUTION_VERTICAL
field_39254
LOCATE_BIOME_VERTICAL_BLOCK_CHECK_INTERVAL
private static final int
j
POI_SEARCH_RADIUS
field_39255
LOCATE_POI_RADIUS

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ex> arg0, et arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13443(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
private static Optional<? extends HolderSet$ListBacked<Structure>>
a(gb$c<enn> arg0, ke<enn> arg1)
getHolders(ResourceOrTagKeyArgument$Result<Structure> arg0, Registry<Structure> arg1)
method_43907(class_7066$class_7068<class_3195> arg0, class_2378<class_3195> arg1)
getStructureListForPredicate(RegistryPredicateArgumentType$RegistryPredicate<Structure> predicate, Registry<Structure> structureRegistry)
private static int
a(ex arg0, gb$c<enn> arg1)
locateStructure(CommandSourceStack arg0, ResourceOrTagKeyArgument$Result<Structure> arg1)
method_43905(class_2168 arg0, class_7066$class_7068<class_3195> arg1)
executeLocateStructure(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<Structure> predicate)
private static int
a(ex arg0, ga$c<dhl> arg1)
locateBiome(CommandSourceStack arg0, ResourceOrTagArgument$Result<Biome> arg1)
method_43912(class_2168 arg0, class_7737$class_7741<class_1959> arg1)
executeLocateBiome(ServerCommandSource source, RegistryEntryPredicateArgumentType$EntryPredicate<Biome> predicate)
private static int
b(ex arg0, ga$c<cgp> arg1)
locatePoi(CommandSourceStack arg0, ResourceOrTagArgument$Result<PoiType> arg1)
method_43915(class_2168 arg0, class_7737$class_7741<class_4158> arg1)
executeLocatePoi(ServerCommandSource source, RegistryEntryPredicateArgumentType$EntryPredicate<PointOfInterestType> predicate)
public static int
a(ex arg0, ga$c<?> arg1, ji arg2, com.mojang.datafixers.util.Pair<ji, ? extends jr<?>> arg3, String arg4, boolean arg5, Duration arg6)
showLocateResult(CommandSourceStack arg0, ResourceOrTagArgument$Result<?> arg1, BlockPos arg2, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> arg3, String arg4, boolean arg5, Duration arg6)
method_45148(class_2168 arg0, class_7737$class_7741<?> arg1, class_2338 arg2, com.mojang.datafixers.util.Pair<class_2338, ? extends class_6880<?>> arg3, String arg4, boolean arg5, Duration arg6)
sendCoordinates(ServerCommandSource source, RegistryEntryPredicateArgumentType$EntryPredicate<?> predicate, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken)
public static int
a(ex arg0, gb$c<?> arg1, ji arg2, com.mojang.datafixers.util.Pair<ji, ? extends jr<?>> arg3, String arg4, boolean arg5, Duration arg6)
showLocateResult(CommandSourceStack arg0, ResourceOrTagKeyArgument$Result<?> arg1, BlockPos arg2, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> arg3, String arg4, boolean arg5, Duration arg6)
method_24499(class_2168 arg0, class_7066$class_7068<?> arg1, class_2338 arg2, com.mojang.datafixers.util.Pair<class_2338, ? extends class_6880<?>> arg3, String arg4, boolean arg5, Duration arg6)
sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, Duration timeTaken)
private static int
a(ex arg0, ji arg1, com.mojang.datafixers.util.Pair<ji, ? extends jr<?>> arg2, String arg3, boolean arg4, String arg5, Duration arg6)
showLocateResult(CommandSourceStack arg0, BlockPos arg1, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> arg2, String arg3, boolean arg4, String arg5, Duration arg6)
method_45149(class_2168 arg0, class_2338 arg1, com.mojang.datafixers.util.Pair<class_2338, ? extends class_6880<?>> arg2, String arg3, boolean arg4, String arg5, Duration arg6)
sendCoordinates(ServerCommandSource source, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result, String successMessage, boolean includeY, String entryString, Duration timeTaken)
private static float
a(int arg0, int arg1, int arg2, int arg3)
dist(int arg0, int arg1, int arg2, int arg3)
method_13439(int arg0, int arg1, int arg2, int arg3)
getDistance(int x1, int y1, int x2, int y2)