Package net.minecraft.server.commands
Class RaidCommand
java.lang.Object
net.minecraft.server.commands.RaidCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
check
(CommandSourceStack source) private static Raid
getRaid
(ServerPlayer player) private static int
glow
(CommandSourceStack source) private static int
playSound
(CommandSourceStack source, Component type) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) private static int
setRaidOmenLevel
(CommandSourceStack source, int level) private static int
spawnLeader
(CommandSourceStack source) private static int
start
(CommandSourceStack source, int badOmenLevel) private static int
stop
(CommandSourceStack source)
-
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
-
playSound
-
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
-