net.minecraft.server.commands

public class LocateCommand

aaz
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_FAILED
field_13666
FAILED_EXCEPTION
f_137851_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_INVALID
field_37038
INVALID_EXCEPTION
f_207506_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dm> 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 int
a(dm arg0, el$b<cwr<?, ?>> arg1)
locate(CommandSourceStack arg0, ResourceOrTagLocationArgument$Result<ConfiguredStructureFeature<?, ?>> arg1)
method_13457(class_2168 arg0, class_7066$class_7068<class_5312<?, ?>> arg1)
execute(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<ConfiguredStructureFeature<?, ?>> structureFeature)
m_207514_(C_2969_ p_207515_, C_207048_$C_207050_<C_2228_<?, ?>> p_207516_)
public static int
a(dm arg0, el$b<?> arg1, gj arg2, com.mojang.datafixers.util.Pair<gj, ? extends gs<?>> arg3, String arg4)
showLocateResult(CommandSourceStack arg0, ResourceOrTagLocationArgument$Result<?> arg1, BlockPos arg2, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> arg3, String arg4)
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)
sendCoordinates(ServerCommandSource source, RegistryPredicateArgumentType$RegistryPredicate<?> structureFeature, BlockPos currentPos, com.mojang.datafixers.util.Pair<BlockPos, ? extends RegistryEntry<?>> structurePosAndEntry, String successMessage)
m_207517_(C_2969_ p_207518_, C_207048_$C_207050_<?> p_207519_, C_4675_ p_207520_, com.mojang.datafixers.util.Pair<C_4675_, ? extends C_203228_<?>> p_207521_, String p_207522_)
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_)