net.minecraft.server.commands

public class BanIpCommands

rp
net.minecraft.server.commands.BanIpCommands
net.minecraft.class_3012
net.minecraft.server.dedicated.command.BanIpCommand
net.minecraft.command.impl.BanIpCommand
net.minecraft.server.v1_14_R1.CommandBanIp

Field summary

Modifier and TypeField
public static final Pattern
a
IP_ADDRESS_PATTERN
field_13466
field_198225_a
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_INVALID_IP
field_13468
INVALID_IP_EXCEPTION
field_198226_b
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_ALREADY_BANNED
field_13467
ALREADY_BANNED_EXCEPTION
field_198227_c

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<cd> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13008(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> arg0)
func_198220_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(cd arg0, String arg1, jo arg2)
banIpOrName(CommandSourceStack arg0, String arg1, Component arg2)
method_13009(class_2168 arg0, String arg1, class_2561 arg2)
checkIp(ServerCommandSource arg0, String arg1, Text arg2)
func_198223_a(CommandSource arg0, String arg1, ITextComponent arg2)
private static int
b(cd arg0, String arg1, jo arg2)
banIp(CommandSourceStack arg0, String arg1, Component arg2)
method_13007(class_2168 arg0, String arg1, class_2561 arg2)
banIp(ServerCommandSource arg0, String arg1, Text arg2)
func_198224_b(CommandSource arg0, String arg1, ITextComponent arg2)