Class RaidCommand
java.lang.Object
net.minecraft.server.commands.RaidCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcheck(CommandSourceStack source) private static @Nullable RaidgetRaid(ServerPlayer player) private static intglow(CommandSourceStack source) private static intplaySound(CommandSourceStack source, @Nullable Component type) static voidregister(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) private static intsetRaidOmenLevel(CommandSourceStack source, int level) private static intspawnLeader(CommandSourceStack source) private static intstart(CommandSourceStack source, int raidOmenLevel) private static intstop(CommandSourceStack source)
-
Constructor Details
-
RaidCommand
public RaidCommand()
-
-
Method Details
-
register
public static void register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
glow
- Throws:
CommandSyntaxException
-
setRaidOmenLevel
private static int setRaidOmenLevel(CommandSourceStack source, int level) throws CommandSyntaxException - Throws:
CommandSyntaxException
-
spawnLeader
-
playSound
-
start
private static int start(CommandSourceStack source, int raidOmenLevel) throws CommandSyntaxException - Throws:
CommandSyntaxException
-
stop
- Throws:
CommandSyntaxException
-
check
- Throws:
CommandSyntaxException
-
getRaid
-