Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AlphaElite

Members
  • Joined

  • Last visited

  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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.