Class EaglerProfile
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.profile.EaglerProfile
-
public class EaglerProfile extends java.lang.ObjectCopyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description static intcustomSkinIdstatic java.util.List<CustomSkin>customSkinsstatic intpresetSkinIdstatic EaglercraftRandomrand
-
Constructor Summary
Constructors Constructor Description EaglerProfile()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intaddCustomSkin(java.lang.String fileName, byte[] rawSkin)static voidclearCustomSkins()static SkinModelgetActiveSkinModel()static ResourceLocationgetActiveSkinResourceLocation()static java.lang.StringgetName()static EaglercraftUUIDgetPlayerUUID()static byte[]getSkinPacket()static voidread()static voidsetName(java.lang.String str)static voidwrite()
-
-
-
Field Detail
-
presetSkinId
public static int presetSkinId
-
customSkinId
public static int customSkinId
-
customSkins
public static final java.util.List<CustomSkin> customSkins
-
rand
public static final EaglercraftRandom rand
-
-
Method Detail
-
getActiveSkinResourceLocation
public static ResourceLocation getActiveSkinResourceLocation()
-
getActiveSkinModel
public static SkinModel getActiveSkinModel()
-
getPlayerUUID
public static EaglercraftUUID getPlayerUUID()
-
getName
public static java.lang.String getName()
-
setName
public static void setName(java.lang.String str)
-
getSkinPacket
public static byte[] getSkinPacket() throws java.io.IOException- Throws:
java.io.IOException
-
addCustomSkin
public static int addCustomSkin(java.lang.String fileName, byte[] rawSkin)
-
clearCustomSkins
public static void clearCustomSkins()
-
read
public static void read()
-
write
public static void write()
-
-