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
private static final ElementAggregator$Reporter<LivingEntity>
RESPONSE_SWING
RESPONSE_SWING
field_1_7379
SWING_REPORTER

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 com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>
handSwing(String name, InteractionHand hand)
handSwing(String name, InteractionHand hand)
method_1_9427(String arg0, class_1268 arg1)
createHandSpecificTree(String handName, Hand hand)
private static int
swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand)
swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand)
method_1_9432(class_2168 arg0, Collection<? extends class_1297> arg1, class_1268 arg2)
execute(ServerCommandSource source, Collection<? extends Entity> targets, Hand hand)
private static int
swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand, SwingAnimationType animationType, int duration)
swing(CommandSourceStack source, Collection<? extends Entity> targets, InteractionHand hand, SwingAnimationType animationType, int duration)
method_1_467(class_2168 arg0, Collection<? extends class_1297> arg1, class_1268 arg2, class_12122 arg3, int arg4)
execute(ServerCommandSource source, Collection<? extends Entity> targets, Hand hand, SwingAnimationType animation, int duration)