Package net.minecraft.server.commands
Class RaidCommand
java.lang.Object
net.minecraft.server.commands.RaidCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcheck(CommandSourceStack source) private static RaidgetRaid(ServerPlayer player) private static intglow(CommandSourceStack source) private static intplaySound(CommandSourceStack source, Component type) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) private static intsetRaidOmenLevel(CommandSourceStack source, int level) private static intspawnLeader(CommandSourceStack source) private static intstart(CommandSourceStack source, int badOmenLevel) private static intstop(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
-