Jump to content

AlphaElite

Members
  • Posts

    1
  • Joined

  • Last visited

AlphaElite's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello, I spent the last several hours trying to figure out a way to add custom textures to a skeleton skull (or any other skull in the game) via a http://textures.minecraft.net/texture URL. I have searched all of the related forge documentation and NBT tags for anything related, but to no avail. I am NOT using a Player's name to generate this custom skull in my Client-Side mod, but via a URL. My Current NBTTag that I add to the skull is something like: {SkullOwner:{Id:"4173bc61-9e2f-3c84-8d31-4517e64062ab",Properties:{textures:[0:{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjNhYWY3YjFhNzc4OTQ5Njk2Y2I5OWQ0ZjA0YWQxYWE1MThjZWVlMjU2YzcyZTVlZDY1YmZhNWMyZDg4ZDllIn19fQ=="}]}}} This is generated with the NBTTagCompound and NBTTagList classes, which I then add to the skull itemstack via testStack.setTagCompound(test); However, when this item is rendered in a custom GUI that I made, it looks like a regular skull. I then tried to use a Mixin to remove the 0: in the tag, and tried again with: {SkullOwner:{Id:"4173bc61-9e2f-3c84-8d31-4517e64062ab",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjNhYWY3YjFhNzc4OTQ5Njk2Y2I5OWQ0ZjA0YWQxYWE1MThjZWVlMjU2YzcyZTVlZDY1YmZhNWMyZDg4ZDllIn19fQ=="}]}}} But, that still does not work. Next I tried: NBTTagCompound test = JsonToNBT.getTagFromJson("{SkullOwner: { Properties: { textures: [{ Value: \"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjNhYWY3YjFhNzc4OTQ5Njk2Y2I5OWQ0ZjA0YWQxYWE1MThjZWVlMjU2YzcyZTVlZDY1YmZhNWMyZDg4ZDllIn19fQ==\" }] }}}"); However, it still does not work. Does anyone have a solution for my issue? I gladly appreciate your help. P.S. I know using a player's name would be a lot simpler; however, I would like to be able to do this for several hundred custom textures, and the only thing I have are the URLs for the textures, and not the player names. It would take me several days to find each and every single player name associated with each custom texture
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.