Package net.minecraft.server.commands
Class BanIpCommands
java.lang.Object
net.minecraft.server.commands.BanIpCommands
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_IPprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_INVALID_IP
- 
ERROR_ALREADY_BANNEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_BANNED
 
- 
- 
Constructor Details- 
BanIpCommandspublic BanIpCommands()
 
- 
- 
Method Details- 
register
- 
banIpOrNameprivate 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
 
- 
banIpprivate 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
 
 
-