Class CustomCommands

java.lang.Object
com.bleudev.nine_lifes.custom.CustomCommands

public class CustomCommands extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Collection<net.minecraft.server.network.ServerPlayerEntity>
    getPlayers(@NotNull com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static void
    initialize(com.mojang.brigadier.CommandDispatcher<net.minecraft.server.command.ServerCommandSource> dispatcher)
     
    static int
    nl(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static int
    nl_reset(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static int
    nl_reset_player(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static int
    nl_revive(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static int
    nl_revive_players(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static int
    nl_set_lives(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     
    static int
    nl_set_lives_players(com.mojang.brigadier.context.CommandContext<net.minecraft.server.command.ServerCommandSource> context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)