public class PixelExtrasData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PixelExtrasData.Category |
static class |
PixelExtrasData.HatType |
static class |
PixelExtrasData.MonocleType |
static class |
PixelExtrasData.RobeType |
static class |
PixelExtrasData.SashType |
static class |
PixelExtrasData.SphealType |
static class |
PixelExtrasData.WingType |
Modifier and Type | Field and Description |
---|---|
java.util.UUID |
id
UUID of the owning player.
|
Constructor and Description |
---|
PixelExtrasData(java.util.UUID id) |
public boolean isReady()
public boolean hasData()
public void updateServerCosmetics(java.util.Set<ServerCosmetics> serverCosmetics)
public java.util.Set<ServerCosmetics> getServerCosmetics()
public int dataHash()
public int[] getColours(PixelExtrasData.Category category)
public void setColours(PixelExtrasData.Category category, int[] array)
public boolean isEnabled(PixelExtrasData.Category category)
public void setEnabled(PixelExtrasData.Category category, boolean bool)
public PixelExtrasData.HatType getHatType()
public boolean setHatType(PixelExtrasData.HatType hat)
public java.util.EnumSet<PixelExtrasData.HatType> getAvailableHats()
public PixelExtrasData.WingType getWingType()
public boolean setWingType(PixelExtrasData.WingType wingType)
public PixelExtrasData.MonocleType getMonocleType()
public boolean setMonocleType(PixelExtrasData.MonocleType monocle)
public java.util.EnumSet<PixelExtrasData.MonocleType> getAvailableMonocles()
public PixelExtrasData.SashType getSashType()
public boolean setSashType(PixelExtrasData.SashType sash)
public java.util.EnumSet<PixelExtrasData.SashType> getAvailableSashs()
public java.util.EnumSet<PixelExtrasData.WingType> getAvailableWings()
public java.util.Set<Species> getAvailableTextures()
public boolean canSeeTexture(Species pokemon)
pokemon
- The Pokémon with a special texture.public void checkPokemon(Pokemon pokemon)
public boolean setRobeType(PixelExtrasData.RobeType type)
public PixelExtrasData.RobeType getRobeType()
public java.util.EnumSet<PixelExtrasData.RobeType> getAvailableRobes()
public boolean hasBoostedNecklace()
public PixelExtrasData.SphealType getSphealType()
public void setSphealType(PixelExtrasData.SphealType type)
public void randomiseSpheal()