Class RaidCommand

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

public class RaidCommand extends Object
  • Constructor Details

    • RaidCommand

      public RaidCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
    • glow

      private static int glow(CommandSourceStack source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setRaidOmenLevel

      private static int setRaidOmenLevel(CommandSourceStack source, int level) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • spawnLeader

      private static int spawnLeader(CommandSourceStack source)
    • playSound

      private static int playSound(CommandSourceStack source, @Nullable Component type)
    • start

      private static int start(CommandSourceStack source, int badOmenLevel) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • stop

      private static int stop(CommandSourceStack source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • check

      private static int check(CommandSourceStack source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getRaid

      @Nullable private static Raid getRaid(ServerPlayer player)