net.minecraft.commands.arguments

public class MobEffectArgument

implements com.mojang.brigadier.arguments.ArgumentType<MobEffect>

ea
net.minecraft.commands.arguments.MobEffectArgument
net.minecraft.class_2201
net.minecraft.command.argument.StatusEffectArgumentType
net.minecraft.src.C_3649_
net.minecraft.commands.arguments.ArgumentMobEffect

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_9895
EXAMPLES
f_98423_
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_UNKNOWN_EFFECT
field_9896
INVALID_EFFECT_EXCEPTION
f_98422_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static MobEffectArgument
a()
effect()
method_9350()
statusEffect()
m_98426_()
public static MobEffect
a(com.mojang.brigadier.context.CommandContext<dl> arg0, String arg1)
getEffect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9347(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getStatusEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_98429_(com.mojang.brigadier.context.CommandContext<C_2969_> p_98430_, String p_98431_)
public MobEffect
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9348(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_98439_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()