类 RaidCommand

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

public class RaidCommand extends Object
  • 构造器详细资料

    • RaidCommand

      public RaidCommand()
  • 方法详细资料

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher)
    • glow

      private static int glow(CommandSourceStack pSource) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • setBadOmenLevel

      private static int setBadOmenLevel(CommandSourceStack pSource, int pLevel) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      抛出:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • spawnLeader

      private static int spawnLeader(CommandSourceStack pSource)
    • playSound

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

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

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

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

      @Nullable private static Raid getRaid(ServerPlayer pPlayer)