java.lang.Object
xyz.vdeltagabriel.betterchatneoforged.commands.BCNFCommands

public class BCNFCommands extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static boolean
    checkContextPermission(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> c, net.neoforged.neoforge.server.permission.nodes.PermissionNode<Boolean> node)
     
    protected static boolean
    checkPermission(net.minecraft.commands.CommandSourceStack c, net.neoforged.neoforge.server.permission.nodes.PermissionNode<Boolean> node)
     
    static int
    colorCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx)
     
    protected static int
    failNoPermission(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx)
     
    static int
    modCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx)
     
    static void
    register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> disp)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BCNFCommands

      public BCNFCommands()
  • Method Details

    • checkPermission

      protected static boolean checkPermission(net.minecraft.commands.CommandSourceStack c, net.neoforged.neoforge.server.permission.nodes.PermissionNode<Boolean> node)
    • checkContextPermission

      protected static boolean checkContextPermission(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> c, net.neoforged.neoforge.server.permission.nodes.PermissionNode<Boolean> node)
    • failNoPermission

      protected static int failNoPermission(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx)
    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> disp)
    • modCommand

      public static int modCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx)
    • colorCommand

      public static int colorCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx)