net.minecraft.server.dedicated.command

public class BanIpCommand

py
net.minecraft.class_747
net.minecraft.server.dedicated.command.BanIpCommand
net.minecraft.command.impl.BanIpCommand
net.minecraft.command.impl.BanIpCommand

Field summary

Modifier and TypeField
public static final Pattern
a
field_2725
REGEX_PATTERN
field_198225_a
IP_PATTERN
private static final SimpleCommandExceptionType
b
field_21690
INVALID_IP_EXCEPTION
field_198226_b
IP_INVALID
private static final SimpleCommandExceptionType
c
field_21691
COULD_NOT_BAN_IP_EXCEPTION
field_198227_c
FAILED_EXCEPTION

Method summary

Modifier and TypeMethod
public static void
a(CommandDispatcher<bu> arg0)
method_20512(com.mojang.brigadier.CommandDispatcher<class_3915> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
func_198220_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int
a(bu arg0, String arg1, ij arg2)
method_20511(class_3915 arg0, String arg1, class_1982 arg2)
banIpOrName(CommandSourceStack source, String ip, Text reason)
func_198223_a(CommandSource arg0, String arg1, ITextComponent arg2)
banUsernameOrIp(CommandSource source, String username, ITextComponent reason)
private static int
b(bu arg0, String arg1, ij arg2)
method_20514(class_3915 arg0, String arg1, class_1982 arg2)
banIp(CommandSourceStack source, String ip, Text reason)
func_198224_b(CommandSource arg0, String arg1, ITextComponent arg2)
banIpAddress(CommandSource source, String ip, ITextComponent reason)