Class BCNFCommands
java.lang.Object
xyz.vdeltagabriel.betterchatneoforged.commands.BCNFCommands
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleancheckContextPermission(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> c, net.neoforged.neoforge.server.permission.nodes.PermissionNode<Boolean> node) protected static booleancheckPermission(net.minecraft.commands.CommandSourceStack c, net.neoforged.neoforge.server.permission.nodes.PermissionNode<Boolean> node) static intcolorCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx) protected static intfailNoPermission(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx) static intmodCommand(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> ctx) static voidregister(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> disp)
-
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)
-