net.minecraft.server.commands

public class LocateCommand

adi
net.minecraft.server.commands.LocateCommand
net.minecraft.class_3079
net.minecraft.server.command.LocateCommand
net.minecraft.src.C_5344_
net.minecraft.server.commands.CommandLocate

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_STRUCTURE_NOT_FOUND
field_39245
STRUCTURE_NOT_FOUND_EXCEPTION
f_214451_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_STRUCTURE_INVALID
field_39246
STRUCTURE_INVALID_EXCEPTION
f_214452_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_BIOME_NOT_FOUND
field_39247
BIOME_NOT_FOUND_EXCEPTION
f_214453_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_BIOME_INVALID
field_39248
BIOME_INVALID_EXCEPTION
f_214454_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_POI_NOT_FOUND
field_39249
POI_NOT_FOUND_EXCEPTION
f_214455_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_POI_INVALID
field_39250
POI_INVALID_EXCEPTION
f_214456_
private static final int
g
MAX_STRUCTURE_SEARCH_RADIUS
field_39251
LOCATE_STRUCTURE_RADIUS
f_214457_
private static final int
h
MAX_BIOME_SEARCH_RADIUS
field_39252
LOCATE_BIOME_RADIUS
f_214458_
private static final int
i
BIOME_SAMPLE_RESOLUTION_HORIZONTAL
field_39253
LOCATE_BIOME_HORIZONTAL_BLOCK_CHECK_INTERVAL
f_214459_
private static final int
j
BIOME_SAMPLE_RESOLUTION_VERTICAL
field_39254
LOCATE_BIOME_VERTICAL_BLOCK_CHECK_INTERVAL
f_214460_
private static final int
k
POI_SEARCH_RADIUS
field_39255
LOCATE_POI_RADIUS
f_214461_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dr> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13443(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_137858_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_137859_)
private static Optional<? extends HolderSet$ListBacked<Structure>>
a(er$c<dlb> arg0, hm<dlb> arg1)
getHolders(ResourceOrTagLocationArgument$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)
m_214483_(C_207048_$C_207050_<C_213164_> p_214484_, C_4705_<C_213164_> p_214485_)
private static int
a(dr arg0, er$c<dlb> arg1)
locateStructure(CommandSourceStack arg0, ResourceOrTagLocationArgument$Result<Structure> arg1)
method_43905(class_2168 arg0, class_7066$class_7068<class_3195> arg1)
executeLocateStructure(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<Structure> predicate)
m_214471_(C_2969_ p_214472_, C_207048_$C_207050_<C_213164_> p_214473_)
private static int
b(dr arg0, er$c<cht> arg1)
locateBiome(CommandSourceStack arg0, ResourceOrTagLocationArgument$Result<Biome> arg1)
method_43912(class_2168 arg0, class_7066$class_7068<class_1959> arg1)
executeLocateBiome(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<Biome> predicate)
m_214501_(C_2969_ p_214502_, C_207048_$C_207050_<C_1629_> p_214503_)
private static int
c(dr arg0, er$c<bmv> arg1)
locatePoi(CommandSourceStack arg0, ResourceOrTagLocationArgument$Result<PoiType> arg1)
method_43915(class_2168 arg0, class_7066$class_7068<class_4158> arg1)
executeLocatePoi(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<PointOfInterestType> predicate)
m_214508_(C_2969_ p_214509_, C_207048_$C_207050_<C_792_> p_214510_)
public static int
a(dr arg0, er$c<?> arg1, gt arg2, com.mojang.datafixers.util.Pair<gt, ? extends hc<?>> arg3, String arg4, boolean arg5)
showLocateResult(CommandSourceStack arg0, ResourceOrTagLocationArgument$Result<?> arg1, BlockPos arg2, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> arg3, String arg4, boolean arg5)
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)
sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<?> structure, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> structurePosAndEntry, String successMessage, boolean arg5)
m_214474_(C_2969_ p_214475_, C_207048_$C_207050_<?> p_214476_, C_4675_ p_214477_, com.mojang.datafixers.util.Pair<C_4675_, ? extends C_203228_<?>> p_214478_, String p_214479_, boolean p_214480_)
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)
m_137853_(int p_137854_, int p_137855_, int p_137856_, int p_137857_)