net.minecraft.server.command

public class PostEffectCommand

net.minecraft.server.commands.PostEffectCommand
net.minecraft.server.commands.PostEffectCommand
net.minecraft.class_1_1246
net.minecraft.server.command.PostEffectCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ADD_FAILED
ERROR_ADD_FAILED
field_1_8588
ADD_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_CLEAR_FAILED
ERROR_CLEAR_FAILED
field_1_8589
CLEAR_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_REMOVE_FAILED
ERROR_REMOVE_FAILED
field_1_8590
REMOVE_FAILED_EXCEPTION
private static final ElementAggregator$Reporter1<ServerPlayerEntity, Identifier>
RESPONSE_ADD
RESPONSE_ADD
field_1_8591
ADD_REPORTER
private static final ElementAggregator$Reporter<ServerPlayerEntity>
RESPONSE_CLEAR
RESPONSE_CLEAR
field_1_8592
CLEAR_REPORTER
private static final ElementAggregator$Reporter1<ServerPlayerEntity, Identifier>
RESPONSE_REMOVE
RESPONSE_REMOVE
field_1_8593
REMOVE_REPORTER

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_1_7884(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
addPostEffect(CommandSourceStack source, Collection<ServerPlayer> players, Identifier posteffect)
addPostEffect(CommandSourceStack source, Collection<ServerPlayer> players, Identifier posteffect)
method_1_7869(class_2168 arg0, Collection<class_3222> arg1, class_2960 arg2)
executeAdd(ServerCommandSource source, Collection<ServerPlayerEntity> players, Identifier effect)
private static int
clearPostEffect(CommandSourceStack source, Collection<ServerPlayer> players)
clearPostEffect(CommandSourceStack source, Collection<ServerPlayer> players)
method_1_7870(class_2168 arg0, Collection<class_3222> arg1)
executeClear(ServerCommandSource source, Collection<ServerPlayerEntity> players)
private static int
listPostEffects(CommandSourceStack source, ServerPlayer player)
listPostEffects(CommandSourceStack source, ServerPlayer player)
method_1_7883(class_2168 arg0, class_3222 arg1)
executeList(ServerCommandSource source, ServerPlayerEntity players)
private static int
removePostEffect(CommandSourceStack source, Collection<ServerPlayer> players, Identifier posteffect)
removePostEffect(CommandSourceStack source, Collection<ServerPlayer> players, Identifier posteffect)
method_1_7885(class_2168 arg0, Collection<class_3222> arg1, class_2960 arg2)
executeRemove(ServerCommandSource source, Collection<ServerPlayerEntity> players, Identifier effect)