net.minecraft.server.command

public class SwingCommand

net.minecraft.server.commands.SwingCommand
net.minecraft.server.commands.SwingCommand
net.minecraft.class_1_24
net.minecraft.server.command.SwingCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_NO_LIVING_ENTITY
ERROR_NO_LIVING_ENTITY
field_1_135
NOT_LIVING_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_1_466(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand)
swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand)
method_1_467(class_2168 arg0, Collection<? extends class_1297> arg1, class_1268 arg2)
execute(ServerCommandSource source, Collection<? extends Entity> entities, Hand hand)