net.minecraft.server.commands

public class BanIpCommands

amf
net.minecraft.server.commands.BanIpCommands
net.minecraft.class_3012
net.minecraft.server.dedicated.command.BanIpCommand
net.minecraft.server.commands.CommandBanIp

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_INVALID_IP
field_13468
INVALID_IP_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_ALREADY_BANNED
field_13467
ALREADY_BANNED_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ex> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13008(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
a(ex arg0, String arg1, wp 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)
private static int
b(ex arg0, String arg1, wp 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)