net.minecraft.server.dedicated.command

public class BanIpCommand

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13008(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
banIpOrName(CommandSourceStack source, String target, Component reason)
method_13009(class_2168 arg0, String arg1, class_2561 arg2)
checkIp(ServerCommandSource source, String target, Text reason)
private static int
banIp(CommandSourceStack source, String ip, Component reason)
method_13007(class_2168 arg0, String arg1, class_2561 arg2)
banIp(ServerCommandSource source, String targetIp, Text reason)
private static Text
lambda$banIp$1(List arg0)
method_51908(List arg0)
method_51908(List arg0)
private static Text
lambda$banIp$0(String arg0, IpBanListEntry arg1)
method_51907(String arg0, class_3320 arg1)
method_51907(String arg0, BannedIpEntry arg1)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_13010(com.mojang.brigadier.context.CommandContext arg0)
method_13010(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_13006(com.mojang.brigadier.context.CommandContext arg0)
method_13006(com.mojang.brigadier.context.CommandContext context)