net.minecraft.server.commands

public class LocateCommand

ahk
net.minecraft.server.commands.LocateCommand
net.minecraft.class_3079
net.minecraft.unmapped.C_tdpinqoq
net.minecraft.server.command.LocateCommand
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
f_syfjygzs
LOGGER
LOGGER
f_262750_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_STRUCTURE_NOT_FOUND
field_39245
f_rpfbppoo
STRUCTURE_NOT_FOUND_EXCEPTION
STRUCTURE_NOT_FOUND_EXCEPTION
f_214451_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_STRUCTURE_INVALID
field_39246
f_mlrukusg
STRUCTURE_INVALID_EXCEPTION
INVALID_STRUCTURE_EXCEPTION
f_214452_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_BIOME_NOT_FOUND
field_39247
f_zyajjzpu
BIOME_NOT_FOUND_EXCEPTION
BIOME_NOT_FOUND_EXCEPTION
f_214453_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_POI_NOT_FOUND
field_39249
f_zgriksgl
POI_NOT_FOUND_EXCEPTION
POI_NOT_FOUND_EXCEPTION
f_214455_
private static final int
f
MAX_STRUCTURE_SEARCH_RADIUS
field_39251
f_svwyfeym
LOCATE_STRUCTURE_RADIUS
f_214457_
private static final int
g
MAX_BIOME_SEARCH_RADIUS
field_39252
f_bhrfrxtm
LOCATE_BIOME_RADIUS
f_214458_
private static final int
h
BIOME_SAMPLE_RESOLUTION_HORIZONTAL
field_39253
f_dkgbkmog
LOCATE_BIOME_HORIZONTAL_BLOCK_CHECK_INTERVAL
f_214459_
private static final int
i
BIOME_SAMPLE_RESOLUTION_VERTICAL
field_39254
f_idsfaoil
LOCATE_BIOME_VERTICAL_BLOCK_CHECK_INTERVAL
f_214460_
private static final int
j
POI_SEARCH_RADIUS
field_39255
f_tlzvdlxj
LOCATE_POI_RADIUS
f_214461_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dt> arg0, dn arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13443(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
m_jkeyxwob(com.mojang.brigadier.CommandDispatcher<C_pennblrk> arg0, C_bprdujxm arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandBuildContext context)
m_246116_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_249870_, C_213173_ p_248936_)
private static Optional<? extends HolderSet$ListBacked<Structure>>
a(eu$c<dvi> arg0, hq<dvi> arg1)
getHolders(ResourceOrTagKeyArgument$Result<Structure> arg0, Registry<Structure> arg1)
method_43907(class_7066$class_7068<class_3195> arg0, class_2378<class_3195> arg1)
m_hserqwrs(C_ybgoyqmh$C_rckobmqr<C_quklzgtb> arg0, C_tqxyjqsk<C_quklzgtb> arg1)
getStructureListForPredicate(RegistryPredicateArgumentType$RegistryPredicate<Structure> predicate, Registry<Structure> structureRegistry)
getFeatures(RegistryKeyOrTagKeyResult$Result<StructureFeature> result, Registry<StructureFeature> registry)
m_245526_(C_243418_$C_243493_<C_213164_> p_251212_, C_4705_<C_213164_> p_249691_)
private static int
a(dt arg0, eu$c<dvi> arg1)
locateStructure(CommandSourceStack arg0, ResourceOrTagKeyArgument$Result<Structure> arg1)
method_43905(class_2168 arg0, class_7066$class_7068<class_3195> arg1)
m_fvgmgxdt(C_pennblrk arg0, C_ybgoyqmh$C_rckobmqr<C_quklzgtb> arg1)
executeLocateStructure(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<Structure> predicate)
locateStructure(ServerCommandSource source, RegistryKeyOrTagKeyResult$Result<StructureFeature> result)
m_214471_(C_2969_ p_214472_, C_243418_$C_243493_<C_213164_> p_249893_)
private static int
a(dt arg0, et$c<cqt> arg1)
locateBiome(CommandSourceStack arg0, ResourceOrTagArgument$Result<Biome> arg1)
method_43912(class_2168 arg0, class_7737$class_7741<class_1959> arg1)
m_bshuadot(C_pennblrk arg0, C_bwiwqfgl$C_vxeoztnt<C_orlkpefs> arg1)
executeLocateBiome(ServerCommandSource source, RegistryEntryPredicateArgumentType$EntryPredicate<Biome> predicate)
locateBiome(ServerCommandSource source, RegistryEntryOrTagArgument$Result<Biome> result)
m_247543_(C_2969_ p_252062_, C_243640_$C_243443_<C_1629_> p_249756_)
private static int
b(dt arg0, et$c<bui> arg1)
locatePoi(CommandSourceStack arg0, ResourceOrTagArgument$Result<PoiType> arg1)
method_43915(class_2168 arg0, class_7737$class_7741<class_4158> arg1)
m_sxrynccn(C_pennblrk arg0, C_bwiwqfgl$C_vxeoztnt<C_voztdcrg> arg1)
executeLocatePoi(ServerCommandSource source, RegistryEntryPredicateArgumentType$EntryPredicate<PointOfInterestType> predicate)
locatePoi(ServerCommandSource source, RegistryEntryOrTagArgument$Result<PointOfInterestType> result)
m_245206_(C_2969_ p_252013_, C_243640_$C_243443_<C_792_> p_249480_)
private static String
a(com.mojang.datafixers.util.Pair<gw, ? extends he<?>> arg0)
getElementName(com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> arg0)
method_45147(com.mojang.datafixers.util.Pair<class_2338, ? extends class_6880<?>> arg0)
m_idgljlpc(com.mojang.datafixers.util.Pair<C_hynzadkk, ? extends C_cjzoxshv<?>> arg0)
getKeyString(com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> result)
getResultName(com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultLocation)
m_245548_(com.mojang.datafixers.util.Pair<C_4675_, ? extends C_203228_<?>> p_249526_)
public static int
a(dt arg0, et$c<?> arg1, gw arg2, com.mojang.datafixers.util.Pair<gw, ? extends he<?>> 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)
m_ojibhmfe(C_pennblrk arg0, C_bwiwqfgl$C_vxeoztnt<?> arg1, C_hynzadkk arg2, com.mojang.datafixers.util.Pair<C_hynzadkk, ? extends C_cjzoxshv<?>> 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)
sendFeedback(ServerCommandSource source, RegistryEntryOrTagArgument$Result<?> result, BlockPos pos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultLocation, String resultTranslationKey, boolean verticalDistance, Duration duration)
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(dt arg0, eu$c<?> arg1, gw arg2, com.mojang.datafixers.util.Pair<gw, ? extends he<?>> 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)
m_mketjdph(C_pennblrk arg0, C_ybgoyqmh$C_rckobmqr<?> arg1, C_hynzadkk arg2, com.mojang.datafixers.util.Pair<C_hynzadkk, ? extends C_cjzoxshv<?>> 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)
sendFeedback(ServerCommandSource source, RegistryKeyOrTagKeyResult$Result<?> result, BlockPos pos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultLocation, String resultTranslationKey, boolean verticalDistance, Duration duration)
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(dt arg0, gw arg1, com.mojang.datafixers.util.Pair<gw, ? extends he<?>> 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)
m_fscrvifa(C_pennblrk arg0, C_hynzadkk arg1, com.mojang.datafixers.util.Pair<C_hynzadkk, ? extends C_cjzoxshv<?>> 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)
sendFeedback(ServerCommandSource source, BlockPos pos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> resultLocation, String resultString, boolean verticalDistance, String resultTranslationKey, Duration duration)
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)
m_isihpnev(int arg0, int arg1, int arg2, int arg3)
getDistance(int x1, int y1, int x2, int y2)
getDistance(int x1, int y1, int x2, int y2)
m_137853_(int p_137854_, int p_137855_, int p_137856_, int p_137857_)