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 pSource) private static Raid
getRaid
(ServerPlayer pPlayer) private static int
glow
(CommandSourceStack pSource) private static int
playSound
(CommandSourceStack pSource, Component pType) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180469_, CommandBuildContext p_323666_) private static int
setRaidOmenLevel
(CommandSourceStack pSource, int pLevel) private static int
spawnLeader
(CommandSourceStack pSource) private static int
start
(CommandSourceStack pSource, int pBadOmenLevel) private static int
stop
(CommandSourceStack pSource)
-
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
-
playSound
-
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
-