net.minecraft.commands.arguments

public class MobEffectArgument

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

dm
net.minecraft.commands.arguments.MobEffectArgument
net.minecraft.class_2201
net.minecraft.command.arguments.MobEffectArgumentType
net.minecraft.command.arguments.PotionArgument
net.minecraft.server.v1_16_R1.ArgumentMobEffect

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static MobEffectArgument
a()
effect()
method_9350()
mobEffect()
func_197126_a()
public static MobEffect
a(com.mojang.brigadier.context.CommandContext<cz> 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)
getMobEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
func_197125_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
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> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()
getExamples()