Files
Paper/paper-server/src/main/java/com/destroystokyo/paper/profile/SharedPlayerProfile.java
Aikar bb90110894 Basic PlayerProfile API
Establishes base extension of profile systems for future edits too

== AT ==
public org.bukkit.craftbukkit.profile.CraftProfileProperty
public org.bukkit.craftbukkit.profile.CraftPlayerTextures
public org.bukkit.craftbukkit.profile.CraftPlayerTextures copyFrom(Lorg/bukkit/profile/PlayerTextures;)V
public org.bukkit.craftbukkit.profile.CraftPlayerTextures rebuildPropertyIfDirty()V
public org.bukkit.craftbukkit.profile.CraftPlayerProfile toString(Lcom/mojang/authlib/properties/PropertyMap;)Ljava/lang/String;
public org.bukkit.craftbukkit.profile.CraftPlayerProfile getProperty(Ljava/lang/String;)Lcom/mojang/authlib/properties/Property;
public org.bukkit.craftbukkit.profile.CraftPlayerProfile setProperty(Ljava/lang/String;Lcom/mojang/authlib/properties/Property;)V
2018-01-15 22:11:48 -05:00

27 lines
726 B
Java

package com.destroystokyo.paper.profile;
import com.mojang.authlib.GameProfile;
import com.mojang.authlib.properties.Property;
import net.minecraft.world.item.component.ResolvableProfile;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.UUID;
public interface SharedPlayerProfile {
@Nullable UUID getUniqueId();
@Nullable String getName();
boolean removeProperty(@NotNull String property);
@Nullable Property getProperty(@NotNull String propertyName);
@Nullable void setProperty(@NotNull String propertyName, @Nullable Property property);
@NotNull GameProfile buildGameProfile();
@NotNull ResolvableProfile buildResolvableProfile();
}