net.minecraft.server.dedicated.command

public class BanIpCommand

py
net.minecraft.unmapped.C_52015920
net.minecraft.server.dedicated.command.BanIpCommand
net.minecraft.command.impl.BanIpCommand

Field summary

Modifier and TypeField
public static final Pattern
a
f_16156179
REGEX_PATTERN
field_198225_a
private static final SimpleCommandExceptionType
b
f_67533579
INVALID_IP_EXCEPTION
field_198226_b
private static final SimpleCommandExceptionType
c
f_77796226
COULD_NOT_BAN_IP_EXCEPTION
field_198227_c

Method summary

Modifier and TypeMethod
public static void
a(CommandDispatcher<bu> arg0)
m_38239250(com.mojang.brigadier.CommandDispatcher<C_30485881> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
func_198220_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(bu arg0, String arg1, ij arg2)
m_47396450(C_30485881 arg0, String arg1, C_95231345 arg2)
banIpOrName(CommandSourceStack source, String ip, Text reason)
func_198223_a(CommandSource arg0, String arg1, ITextComponent arg2)
private static int
b(bu arg0, String arg1, ij arg2)
m_94647047(C_30485881 arg0, String arg1, C_95231345 arg2)
banIp(CommandSourceStack source, String ip, Text reason)
func_198224_b(CommandSource arg0, String arg1, ITextComponent arg2)