Class BannedIpEntry


public class BannedIpEntry extends BanEntry<String>
Mappings:
Namespace Name
official aoe
intermediary net/minecraft/class_3320
named net/minecraft/server/BannedIpEntry
  • Constructor Details

    • BannedIpEntry

      public BannedIpEntry(String ip)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laoe;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3320;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/server/BannedIpEntry;<init>(Ljava/lang/String;)V
    • BannedIpEntry

      public BannedIpEntry(String ip, @Nullable @Nullable Date created, @Nullable @Nullable String source, @Nullable @Nullable Date expiry, @Nullable @Nullable String reason)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laoe;<init>(Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3320;<init>(Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
      named <init> Lnet/minecraft/server/BannedIpEntry;<init>(Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
    • BannedIpEntry

      public BannedIpEntry(com.google.gson.JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laoe;<init>(Lcom/google/gson/JsonObject;)V
      intermediary <init> Lnet/minecraft/class_3320;<init>(Lcom/google/gson/JsonObject;)V
      named <init> Lnet/minecraft/server/BannedIpEntry;<init>(Lcom/google/gson/JsonObject;)V
  • Method Details

    • toText

      public Text toText()
      Specified by:
      toText in class BanEntry<String>
      Mappings:
      Namespace Name Mixin selector
      official e Laob;e()Ltl;
      intermediary method_14504 Lnet/minecraft/class_3309;method_14504()Lnet/minecraft/class_2561;
      named toText Lnet/minecraft/server/BanEntry;toText()Lnet/minecraft/text/Text;
    • getIp

      private static String getIp(com.google.gson.JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      official b Laoe;b(Lcom/google/gson/JsonObject;)Ljava/lang/String;
      intermediary method_14532 Lnet/minecraft/class_3320;method_14532(Lcom/google/gson/JsonObject;)Ljava/lang/String;
      named getIp Lnet/minecraft/server/BannedIpEntry;getIp(Lcom/google/gson/JsonObject;)Ljava/lang/String;
    • write

      protected void write(com.google.gson.JsonObject json)
      Overrides:
      write in class BanEntry<String>
      Mappings:
      Namespace Name Mixin selector
      official a Laok;a(Lcom/google/gson/JsonObject;)V
      intermediary method_24896 Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)V
      named write Lnet/minecraft/server/ServerConfigEntry;write(Lcom/google/gson/JsonObject;)V