Skin customizations

Discussion in 'Plugin Help/Development/Requests' started by crolemol, Jun 1, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    crolemol

    hey,

    i finally got my skins to work when depending on citizens but now they seems to be like they were made in 1.7
    when you go under Options there is Skin Customizations which has the ability to turn on and off the 1.8 textures, so i would like to know which nms packet this is or if it could be done easier tell me please
     
  2. Offline

    megamichiel

    The settings like that are saved in an entity's DataWatcher, if you set the correct data you can send it using PacketPlayOutEntityMetadata
     
  3. Offline

    crolemol

    @megamichiel
    thx i will take a look into it, any ideas which values i have to change?
     
  4. Offline

    bwfcwalshy Retired Staff

    Moved to Bukkit Alternates.
     
  5. Offline

    crolemol

    @megamichiel
    so i looked into the datawatcher and i wrote this method
    Code:
        public void showSkinElements(Player p) {
            DataWatcher d = ((CraftPlayer)p).getHandle().getDataWatcher();
            d.watch(10, (Object)(byte)0x40);
          
        }
    this should show the helmet layer but it doesn't do anything
     
Thread Status:
Not open for further replies.

Share This Page