net.minecraft.server.command

public class EffectCommand

net.minecraft.server.commands.EffectCommands
net.minecraft.class_3043
net.minecraft.server.command.EffectCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_GIVE_FAILED
field_13607
GIVE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_CLEAR_EVERYTHING_FAILED
field_13609
CLEAR_EVERYTHING_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_CLEAR_SPECIFIC_FAILED
field_13608
CLEAR_SPECIFIC_FAILED_EXCEPTION
private static final ElementAggregator$Reporter2<LivingEntity, StatusEffect, Integer>
RESPONSE_GIVE
field_1_7422
GIVE_REPORTER
private static final ElementAggregator$Reporter<Entity>
RESPONSE_CLEAR_ALL
field_1_7420
CLEAR_EVERYTHING_REPORTER
private static final ElementAggregator$Reporter1<Entity, StatusEffect>
RESPONSE_CLEAR_SINGLE
field_1_7421
CLEAR_SPECIFIC_REPORTER

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
method_13229(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
private static int
giveEffect(CommandSourceStack source, Collection<? extends Entity> entities, Holder<MobEffect> effectHolder, Integer seconds, int amplifier, boolean particles)
method_13227(class_2168 arg0, Collection<? extends class_1297> arg1, class_6880<class_1291> arg2, Integer arg3, int arg4, boolean arg5)
executeGive(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, Integer durationInput, int amplifier, boolean showParticles)
private static int
computeDurationInTicks(Integer seconds, MobEffect effect)
method_1_6646(Integer arg0, class_1291 arg1)
getEffectTicks(Integer durationInput, StatusEffect effect)
private static int
clearEffects(CommandSourceStack source, Collection<? extends Entity> entities)
method_13230(class_2168 arg0, Collection<? extends class_1297> arg1)
executeClear(ServerCommandSource source, Collection<? extends Entity> targets)
private static int
clearEffect(CommandSourceStack source, Collection<? extends Entity> entities, Holder<MobEffect> effectHolder)
method_13231(class_2168 arg0, Collection<? extends class_1297> arg1, class_6880<class_1291> arg2)
executeClear(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect)
private static int
lambda$register$9(com.mojang.brigadier.context.CommandContext arg0)
method_48545(com.mojang.brigadier.context.CommandContext arg0)
method_48545(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$8(com.mojang.brigadier.context.CommandContext arg0)
method_48546(com.mojang.brigadier.context.CommandContext arg0)
method_48546(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$7(com.mojang.brigadier.context.CommandContext arg0)
method_48547(com.mojang.brigadier.context.CommandContext arg0)
method_48547(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$6(com.mojang.brigadier.context.CommandContext arg0)
method_13234(com.mojang.brigadier.context.CommandContext arg0)
method_13234(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$5(com.mojang.brigadier.context.CommandContext arg0)
method_13225(com.mojang.brigadier.context.CommandContext arg0)
method_13225(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$4(com.mojang.brigadier.context.CommandContext arg0)
method_13233(com.mojang.brigadier.context.CommandContext arg0)
method_13233(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$3(com.mojang.brigadier.context.CommandContext arg0)
method_13226(com.mojang.brigadier.context.CommandContext arg0)
method_13226(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$2(com.mojang.brigadier.context.CommandContext arg0)
method_13232(com.mojang.brigadier.context.CommandContext arg0)
method_13232(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_13228(com.mojang.brigadier.context.CommandContext arg0)
method_13228(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_23650(com.mojang.brigadier.context.CommandContext arg0)
method_23650(com.mojang.brigadier.context.CommandContext context)
private static Text
lambda$static$5(int arg0, int arg1, MobEffect arg2)
method_1_6652(int arg0, int arg1, class_1291 arg2)
method_1_6652(int targets, int total, StatusEffect effect)
private static Text
lambda$static$4(Entity arg0, int arg1, MobEffect arg2)
method_1_6651(class_1297 arg0, int arg1, class_1291 arg2)
method_1_6651(Entity entity, int total, StatusEffect effect)
private static Text
lambda$static$3(int arg0, int arg1)
method_1_6650(int arg0, int arg1)
method_1_6650(int targets, int total)
private static Text
lambda$static$2(Entity arg0, int arg1)
method_1_6649(class_1297 arg0, int arg1)
method_1_6649(Entity entity, int total)
private static Text
lambda$static$1(int arg0, int arg1, MobEffect arg2, Integer arg3)
method_1_6648(int arg0, int arg1, class_1291 arg2, Integer arg3)
method_1_6648(int targets, int total, StatusEffect effect, Integer duration)
private static Text
lambda$static$0(LivingEntity arg0, int arg1, MobEffect arg2, Integer arg3)
method_1_6647(class_1309 arg0, int arg1, class_1291 arg2, Integer arg3)
method_1_6647(LivingEntity entity, int total, StatusEffect effect, Integer duration)