net.minecraft.server.commands

public class BanIpCommands

wh
net.minecraft.server.commands.BanIpCommands
net.minecraft.class_3012
net.minecraft.server.dedicated.command.BanIpCommand
net.minecraft.command.impl.BanIpCommand
net.minecraft.server.v1_16_R2.CommandBanIp

Field summary

Modifier and TypeField
public static final Pattern
a
IP_ADDRESS_PATTERN
field_13466
PATTERN
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<db> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13008(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_198220_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(db arg0, String arg1, nr arg2)
banIpOrName(CommandSourceStack arg0, String arg1, Component arg2)
method_13009(class_2168 arg0, String arg1, class_2561 arg2)
checkIp(ServerCommandSource source, String target, Text reason)
func_198223_a(CommandSource arg0, String arg1, ITextComponent arg2)
private static int
b(db arg0, String arg1, nr arg2)
banIp(CommandSourceStack arg0, String arg1, Component arg2)
method_13007(class_2168 arg0, String arg1, class_2561 arg2)
banIp(ServerCommandSource source, String targetIp, Text reason)
func_198224_b(CommandSource arg0, String arg1, ITextComponent arg2)