Package net.minecraft.server
Class Whitelist
java.lang.Object
net.minecraft.server.ServerConfigList<com.mojang.authlib.GameProfile,WhitelistEntry>
net.minecraft.server.Whitelist
public class Whitelist extends ServerConfigList<com.mojang.authlib.GameProfile,WhitelistEntry>
- Mappings:
Namespace Name official adr
intermediary net/minecraft/class_3337
named net/minecraft/server/Whitelist
-
Field Summary
Fields inherited from class net.minecraft.server.ServerConfigList
LOGGER
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected ServerConfigEntry<com.mojang.authlib.GameProfile>
fromJson(JsonObject json)
String[]
getNames()
boolean
isAllowed(com.mojang.authlib.GameProfile profile)
protected String
toString(com.mojang.authlib.GameProfile gameProfile)
-
Constructor Details
-
Whitelist
- Mappings:
Namespace Name Mixin selector official <init>
Lado;<init>(Ljava/io/File;)V
intermediary <init>
Lnet/minecraft/class_3331;<init>(Ljava/io/File;)V
named <init>
Lnet/minecraft/server/ServerConfigList;<init>(Ljava/io/File;)V
-
-
Method Details
-
fromJson
- Specified by:
fromJson
in classServerConfigList<com.mojang.authlib.GameProfile,WhitelistEntry>
- Mappings:
Namespace Name Mixin selector official a
Lado;a(Lcom/google/gson/JsonObject;)Ladn;
intermediary method_14642
Lnet/minecraft/class_3331;method_14642(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3330;
named fromJson
Lnet/minecraft/server/ServerConfigList;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/server/ServerConfigEntry;
-
isAllowed
public boolean isAllowed(com.mojang.authlib.GameProfile profile)- Mappings:
Namespace Name Mixin selector official a
Ladr;a(Lcom/mojang/authlib/GameProfile;)Z
intermediary method_14653
Lnet/minecraft/class_3337;method_14653(Lcom/mojang/authlib/GameProfile;)Z
named isAllowed
Lnet/minecraft/server/Whitelist;isAllowed(Lcom/mojang/authlib/GameProfile;)Z
-
getNames
- Overrides:
getNames
in classServerConfigList<com.mojang.authlib.GameProfile,WhitelistEntry>
- Mappings:
Namespace Name Mixin selector official a
Lado;a()[Ljava/lang/String;
intermediary method_14636
Lnet/minecraft/class_3331;method_14636()[Ljava/lang/String;
named getNames
Lnet/minecraft/server/ServerConfigList;getNames()[Ljava/lang/String;
-
toString
- Overrides:
toString
in classServerConfigList<com.mojang.authlib.GameProfile,WhitelistEntry>
- Mappings:
Namespace Name Mixin selector official b
Ladr;b(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
intermediary method_14652
Lnet/minecraft/class_3337;method_14652(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
named toString
Lnet/minecraft/server/Whitelist;toString(Lcom/mojang/authlib/GameProfile;)Ljava/lang/String;
-