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> p_180469_, CommandBuildContext p_323666_)
    • glow

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

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

      private static int spawnLeader(CommandSourceStack pSource)
    • playSound

      private static int playSound(CommandSourceStack pSource, @Nullable Component pType)
    • start

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

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

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

      @Nullable private static Raid getRaid(ServerPlayer pPlayer)