Class EaglerProfile
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.profile.EaglerProfile
-
public class EaglerProfile extends java.lang.Object
Copyright (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 int
customSkinId
static java.util.List<CustomSkin>
customSkins
static int
presetSkinId
static EaglercraftRandom
rand
-
Constructor Summary
Constructors Constructor Description EaglerProfile()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
addCustomSkin(java.lang.String fileName, byte[] rawSkin)
static void
clearCustomSkins()
static SkinModel
getActiveSkinModel()
static ResourceLocation
getActiveSkinResourceLocation()
static java.lang.String
getName()
static EaglercraftUUID
getPlayerUUID()
static byte[]
getSkinPacket()
static void
read()
static void
setName(java.lang.String str)
static void
write()
-
-
-
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()
-
-