Package net.minecraft.server.management
Class ProfileBanEntry
- java.lang.Object
-
- net.minecraft.server.management.UserListEntry<T>
-
- net.minecraft.server.management.BanEntry<com.mojang.authlib.GameProfile>
-
- net.minecraft.server.management.ProfileBanEntry
-
public class ProfileBanEntry extends BanEntry<com.mojang.authlib.GameProfile>
-
-
Constructor Summary
Constructors Constructor Description ProfileBanEntry(com.google.gson.JsonObject p_i1136_1_)
ProfileBanEntry(com.mojang.authlib.GameProfile p_i1134_1_)
ProfileBanEntry(com.mojang.authlib.GameProfile p_i1135_1_, java.util.Date p_i1135_2_, java.lang.String p_i1135_3_, java.util.Date p_i1135_4_, java.lang.String p_i1135_5_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static com.mojang.authlib.GameProfile
createGameProfile(com.google.gson.JsonObject p_152648_0_)
ITextComponent
getDisplayName()
protected void
serialize(com.google.gson.JsonObject p_152641_1_)
-
Methods inherited from class net.minecraft.server.management.BanEntry
getExpires, getReason, getSource, hasExpired
-
Methods inherited from class net.minecraft.server.management.UserListEntry
getUser
-
-
-
-
Constructor Detail
-
ProfileBanEntry
public ProfileBanEntry(com.mojang.authlib.GameProfile p_i1134_1_)
-
ProfileBanEntry
public ProfileBanEntry(com.mojang.authlib.GameProfile p_i1135_1_, @Nullable java.util.Date p_i1135_2_, @Nullable java.lang.String p_i1135_3_, @Nullable java.util.Date p_i1135_4_, @Nullable java.lang.String p_i1135_5_)
-
ProfileBanEntry
public ProfileBanEntry(com.google.gson.JsonObject p_i1136_1_)
-
-
Method Detail
-
serialize
protected void serialize(com.google.gson.JsonObject p_152641_1_)
-
getDisplayName
public ITextComponent getDisplayName()
- Specified by:
getDisplayName
in classBanEntry<com.mojang.authlib.GameProfile>
-
createGameProfile
private static com.mojang.authlib.GameProfile createGameProfile(com.google.gson.JsonObject p_152648_0_)
-
-