net.minecraft.server.commands

public class LocateCommand

aor
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<ew> arg0, es 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(ga$c<eok> arg0, kd<eok> 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(ew arg0, ga$c<eok> 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(ew arg0, fz$c<dik> 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(ew arg0, fz$c<chn> 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(ew arg0, fz$c<?> arg1, jh arg2, com.mojang.datafixers.util.Pair<jh, ? extends jq<?>> 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(ew arg0, ga$c<?> arg1, jh arg2, com.mojang.datafixers.util.Pair<jh, ? extends jq<?>> 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(ew arg0, jh arg1, com.mojang.datafixers.util.Pair<jh, ? extends jq<?>> 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)