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 pSource) private static RaidgetRaid(ServerPlayer pPlayer) private static intglow(CommandSourceStack pSource) private static intplaySound(CommandSourceStack pSource, Component pType) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) private static intsetRaidOmenLevel(CommandSourceStack pSource, int pLevel) private static intspawnLeader(CommandSourceStack pSource) private static intstart(CommandSourceStack pSource, int pBadOmenLevel) private static intstop(CommandSourceStack pSource)
-
Constructor Details
-
RaidCommand
public RaidCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) -
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
-