Package net.minecraft.server.commands
Class BanIpCommands
java.lang.Object
net.minecraft.server.commands.BanIpCommands
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate static intbanIp(CommandSourceStack p_136540_, String p_136541_, Component p_136542_) private static intbanIpOrName(CommandSourceStack p_136534_, String p_136535_, Component p_136536_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136528_)  
- 
Field Details
- 
ERROR_INVALID_IP
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_INVALID_IP - 
ERROR_ALREADY_BANNED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_BANNED 
 - 
 - 
Constructor Details
- 
BanIpCommands
public BanIpCommands() 
 - 
 - 
Method Details
- 
register
 - 
banIpOrName
private static int banIpOrName(CommandSourceStack p_136534_, String p_136535_, @Nullable Component p_136536_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
banIp
private static int banIp(CommandSourceStack p_136540_, String p_136541_, @Nullable Component p_136542_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 
 -