net.minecraft.server.commands

public class EffectCommands

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

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_GIVE_FAILED
field_13607
GIVE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_CLEAR_EVERYTHING_FAILED
field_13609
CLEAR_EVERYTHING_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_CLEAR_SPECIFIC_FAILED
field_13608
CLEAR_SPECIFIC_FAILED_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ew> arg0, es arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13229(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
private static int
a(ew arg0, Collection<? extends bvk> arg1, jq<bun> arg2, Integer arg3, int arg4, boolean arg5)
giveEffect(CommandSourceStack arg0, Collection<? extends Entity> arg1, Holder<MobEffect> arg2, Integer arg3, int arg4, boolean arg5)
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 seconds, int amplifier, boolean showParticles)
private static int
a(ew arg0, Collection<? extends bvk> arg1)
clearEffects(CommandSourceStack arg0, Collection<? extends Entity> arg1)
method_13230(class_2168 arg0, Collection<? extends class_1297> arg1)
executeClear(ServerCommandSource source, Collection<? extends Entity> targets)
private static int
a(ew arg0, Collection<? extends bvk> arg1, jq<bun> arg2)
clearEffect(CommandSourceStack arg0, Collection<? extends Entity> arg1, Holder<MobEffect> arg2)
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)