Class BannedPlayerEntry

java.lang.Object
net.minecraft.server.ServerConfigEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.BanEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.BannedPlayerEntry

public class BannedPlayerEntry extends BanEntry<com.mojang.authlib.GameProfile>
Mappings:
Namespace Name
named net/minecraft/server/BannedPlayerEntry
intermediary net/minecraft/class_3336
official avk
  • Constructor Details

    • BannedPlayerEntry

      public BannedPlayerEntry(@Nullable @Nullable com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_3336;<init>(Lcom/mojang/authlib/GameProfile;)V
      official <init> Lavk;<init>(Lcom/mojang/authlib/GameProfile;)V
    • BannedPlayerEntry

      public BannedPlayerEntry(@Nullable @Nullable com.mojang.authlib.GameProfile profile, @Nullable @Nullable Date created, @Nullable @Nullable String source, @Nullable @Nullable Date expiry, @Nullable @Nullable String reason)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3336;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
      official <init> Lavk;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
    • BannedPlayerEntry

      public BannedPlayerEntry(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/google/gson/JsonObject;)V
      intermediary <init> Lnet/minecraft/class_3336;<init>(Lcom/google/gson/JsonObject;)V
      official <init> Lavk;<init>(Lcom/google/gson/JsonObject;)V
  • Method Details

    • write

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

      public Text toText()
      Specified by:
      toText in class BanEntry<com.mojang.authlib.GameProfile>
      Mappings:
      Namespace Name Mixin selector
      named toText Lnet/minecraft/server/BanEntry;toText()Lnet/minecraft/text/Text;
      intermediary method_14504 Lnet/minecraft/class_3309;method_14504()Lnet/minecraft/class_2561;
      official e Lauy;e()Lxp;
    • profileFromJson

      @Nullable private static @Nullable com.mojang.authlib.GameProfile profileFromJson(JsonObject json)
      Mappings:
      Namespace Name Mixin selector
      named profileFromJson Lnet/minecraft/server/BannedPlayerEntry;profileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      intermediary method_14651 Lnet/minecraft/class_3336;method_14651(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
      official b Lavk;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;