net.minecraft.server.commands

public class LocateCommand

aeo
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 org.slf4j.Logger
a
LOGGER
field_41660
LOGGER
f_262750_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_STRUCTURE_NOT_FOUND
field_39245
STRUCTURE_NOT_FOUND_EXCEPTION
f_214451_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_STRUCTURE_INVALID
field_39246
STRUCTURE_INVALID_EXCEPTION
f_214452_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_BIOME_NOT_FOUND
field_39247
BIOME_NOT_FOUND_EXCEPTION
f_214453_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_POI_NOT_FOUND
field_39249
POI_NOT_FOUND_EXCEPTION
f_214455_
private static final int
f
MAX_STRUCTURE_SEARCH_RADIUS
field_39251
LOCATE_STRUCTURE_RADIUS
f_214457_
private static final int
g
MAX_BIOME_SEARCH_RADIUS
field_39252
LOCATE_BIOME_RADIUS
f_214458_
private static final int
h
BIOME_SAMPLE_RESOLUTION_HORIZONTAL
field_39253
LOCATE_BIOME_HORIZONTAL_BLOCK_CHECK_INTERVAL
f_214459_
private static final int
i
BIOME_SAMPLE_RESOLUTION_VERTICAL
field_39254
LOCATE_BIOME_VERTICAL_BLOCK_CHECK_INTERVAL
f_214460_
private static final int
j
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<dn> arg0, di 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)
m_246116_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_249870_, C_213173_ p_248936_)
private static Optional<? extends HolderSet$ListBacked<Structure>>
a(en$c<dop> arg0, hm<dop> 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)
m_245526_(C_243418_$C_243493_<C_213164_> p_251212_, C_4705_<C_213164_> p_249691_)
private static int
a(dn arg0, en$c<dop> 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)
m_214471_(C_2969_ p_214472_, C_243418_$C_243493_<C_213164_> p_249893_)
private static int
a(dn arg0, em$c<ckt> 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)
m_247543_(C_2969_ p_252062_, C_243640_$C_243443_<C_1629_> p_249756_)
private static int
b(dn arg0, em$c<bpf> 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)
m_245206_(C_2969_ p_252013_, C_243640_$C_243443_<C_792_> p_249480_)
private static String
a(com.mojang.datafixers.util.Pair<gp, ? extends gz<?>> arg0)
getElementName(com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> arg0)
method_45147(com.mojang.datafixers.util.Pair<class_2338, ? extends class_6880<?>> arg0)
getKeyString(com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result)
m_245548_(com.mojang.datafixers.util.Pair<C_4675_, ? extends C_203228_<?>> p_249526_)
public static int
a(dn arg0, em$c<?> arg1, gp arg2, com.mojang.datafixers.util.Pair<gp, ? extends gz<?>> 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)
m_262830_(C_2969_ p_263098_, C_243640_$C_243443_<?> p_262956_, C_4675_ p_262917_, com.mojang.datafixers.util.Pair<C_4675_, ? extends C_203228_<?>> p_263074_, String p_262937_, boolean p_263051_, Duration p_263028_)
public static int
a(dn arg0, en$c<?> arg1, gp arg2, com.mojang.datafixers.util.Pair<gp, ? extends gz<?>> 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)
m_262810_(C_2969_ p_263019_, C_243418_$C_243493_<?> p_263031_, C_4675_ p_262989_, com.mojang.datafixers.util.Pair<C_4675_, ? extends C_203228_<?>> p_262959_, String p_263045_, boolean p_262934_, Duration p_262960_)
private static int
a(dn arg0, gp arg1, com.mojang.datafixers.util.Pair<gp, ? extends gz<?>> 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)
m_262858_(C_2969_ p_262983_, C_4675_ p_263016_, com.mojang.datafixers.util.Pair<C_4675_, ? extends C_203228_<?>> p_262941_, String p_263083_, boolean p_263010_, String p_263048_, Duration p_263040_)
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_)