net.minecraft.server.commands

public class BanIpCommands

xs
net.minecraft.server.commands.BanIpCommands
net.minecraft.class_3012
net.minecraft.server.dedicated.command.BanIpCommand
net.minecraft.src.C_5298_
net.minecraft.server.commands.CommandBanIp

Field summary

Modifier and TypeField
public static final Pattern
a
IP_ADDRESS_PATTERN
field_13466
PATTERN
f_136523_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_INVALID_IP
field_13468
INVALID_IP_EXCEPTION
f_136524_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_ALREADY_BANNED
field_13467
ALREADY_BANNED_EXCEPTION
f_136525_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dl> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13008(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_136527_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_136528_)
private static int
a(dl arg0, String arg1, os 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)
m_136533_(C_2969_ p_136534_, String p_136535_, C_4996_ p_136536_)
private static int
b(dl arg0, String arg1, os 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)
m_136539_(C_2969_ p_136540_, String p_136541_, C_4996_ p_136542_)