类 RaidCommand
java.lang.Object
net.minecraft.server.commands.RaidCommand
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static int
check
(CommandSourceStack pSource) private static Raid
getRaid
(ServerPlayer pPlayer) private static int
glow
(CommandSourceStack pSource) private static int
playSound
(CommandSourceStack pSource, Component p_180479_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) private static int
setBadOmenLevel
(CommandSourceStack pSource, int pLevel) private static int
spawnLeader
(CommandSourceStack pSource) private static int
start
(CommandSourceStack pSource, int pBadOmenLevel) private static int
stop
(CommandSourceStack pSource)
-
构造器详细资料
-
RaidCommand
public RaidCommand()
-
-
方法详细资料
-
register
-
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
-
playSound
-
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
-