Class CustomCommands
java.lang.Object
com.bleudev.nine_lifes.custom.CustomCommands
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<net.minecraft.server.network.ServerPlayerEntity> getPlayers(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static voidinitialize(com.mojang.brigadier.CommandDispatcher<net.minecraft.server.command.ServerCommandSource> dispatcher) static intnl(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intnl_reset(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intnl_reset_player(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intnl_revive(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intnl_revive_players(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intnl_set_lives(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) static intnl_set_lives_players(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
-
Constructor Details
-
CustomCommands
public CustomCommands()
-
-
Method Details
-
getPlayers
public static Collection<net.minecraft.server.network.ServerPlayerEntity> getPlayers(@NotNull @NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
nl
public static int nl(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
nl_reset
public static int nl_reset(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
nl_reset_player
public static int nl_reset_player(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
nl_set_lives
public static int nl_set_lives(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
nl_set_lives_players
public static int nl_set_lives_players(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
nl_revive
public static int nl_revive(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) -
nl_revive_players
public static int nl_revive_players(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
initialize
public static void initialize(com.mojang.brigadier.CommandDispatcher<net.minecraft.server.command.ServerCommandSource> dispatcher)
-