net.minecraft.server.command

public class 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
field_1_135
NOT_LIVING_EXCEPTION
private static final ElementAggregator$Reporter<LivingEntity>
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)
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)
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)
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)
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)
private static int
lambda$handSwing$2(InteractionHand arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_9430(class_1268 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_9430(Hand arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$handSwing$1(InteractionHand arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_9429(class_1268 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_9429(Hand arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$handSwing$0(InteractionHand arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_9428(class_1268 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_1_9428(Hand arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_1_9431(com.mojang.brigadier.context.CommandContext arg0)
method_1_9431(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_1_955(com.mojang.brigadier.context.CommandContext arg0)
method_1_955(com.mojang.brigadier.context.CommandContext context)
private static Text
lambda$static$1(int arg0, int arg1)
method_1_6588(int arg0, int arg1)
method_1_6588(int count, int total)
private static Text
lambda$static$0(LivingEntity arg0, int arg1)
method_1_6587(class_1309 arg0, int arg1)
method_1_6587(LivingEntity entity, int total)