public class PreLookupProfileEvent extends Event
Event.Result| Constructor and Description |
|---|
PreLookupProfileEvent(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(com.google.common.collect.Multimap<String,com.mojang.authlib.properties.Property> properties)
Adds additional properties, without removing the original properties
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
String |
getName() |
com.google.common.collect.Multimap<String,com.mojang.authlib.properties.Property> |
getProperties()
Get the properties for this profile
|
UUID |
getUUID() |
void |
setProperties(com.google.common.collect.Multimap<String,com.mojang.authlib.properties.Property> properties)
Completely replaces all Properties with the new provided properties
|
void |
setUUID(UUID uuid)
Sets the UUID for this player name.
|
static com.mojang.authlib.GameProfileRepository |
wrapProfileRepository(com.mojang.authlib.GameProfileRepository orig) |
callEvent, getEventName, isAsynchronous@Nullable public UUID getUUID()
LookupProfileEventpublic void setUUID(@Nullable UUID uuid)
uuid - the UUID to set on the GameProfile or null to reset@Nonnull public com.google.common.collect.Multimap<String,com.mojang.authlib.properties.Property> getProperties()
GameProfilepublic void setProperties(com.google.common.collect.Multimap<String,com.mojang.authlib.properties.Property> properties)
properties - the properties to set on the new profilepublic void addProperties(com.google.common.collect.Multimap<String,com.mojang.authlib.properties.Property> properties)
properties - the properties to add to the existing propertiespublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
public static com.mojang.authlib.GameProfileRepository wrapProfileRepository(com.mojang.authlib.GameProfileRepository orig)
Copyright © 2017. All rights reserved.