Class SwingCommand
java.lang.Object
net.minecraft.server.commands.SwingCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(CommandDispatcher<CommandSourceStack> dispatcher) private static intswing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand)
-
Field Details
-
ERROR_NO_LIVING_ENTITY
-
-
Constructor Details
-
SwingCommand
public SwingCommand()
-
-
Method Details
-
register
-
swing
private static int swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand) throws CommandSyntaxException - Throws:
CommandSyntaxException
-