Class PostEffectCommand

java.lang.Object
net.minecraft.server.commands.PostEffectCommand

public class PostEffectCommand extends Object
  • Field Details

  • Constructor Details

    • PostEffectCommand

      public PostEffectCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
    • addPostEffect

      private static int addPostEffect(CommandSourceStack source, Collection<ServerPlayer> players, Identifier posteffect) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • clearPostEffect

      private static int clearPostEffect(CommandSourceStack source, Collection<ServerPlayer> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listPostEffects

      private static int listPostEffects(CommandSourceStack source, ServerPlayer player)
    • removePostEffect

      private static int removePostEffect(CommandSourceStack source, Collection<ServerPlayer> players, Identifier posteffect) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException