Class SkinPackets


  • public class SkinPackets
    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)
    • Constructor Detail

      • SkinPackets

        public SkinPackets()
    • Method Detail

      • readPluginMessage

        public static void readPluginMessage​(PacketBuffer buffer,
                                             ServerSkinCache skinCache)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • writeMySkinPreset

        public static byte[] writeMySkinPreset​(int skinId)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writeMySkinCustom

        public static byte[] writeMySkinCustom​(CustomSkin customSkin)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writeGetOtherSkin

        public static PacketBuffer writeGetOtherSkin​(EaglercraftUUID skinId)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • writeGetSkinByURL

        public static PacketBuffer writeGetSkinByURL​(EaglercraftUUID skinId,
                                                     java.lang.String skinUrl)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • createEaglerURLSkinUUID

        public static EaglercraftUUID createEaglerURLSkinUUID​(java.lang.String skinUrl)