<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=Magic%2FIcons</id>
	<title>Magic/Icons - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=Magic%2FIcons"/>
	<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=Magic/Icons&amp;action=history"/>
	<updated>2026-04-06T15:51:51Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://mineplugin.org/index.php?title=Magic/Icons&amp;diff=15852&amp;oldid=prev</id>
		<title>炫宙菌：​创建页面，内容为“== Custom Icons ==  Magic supports &amp;quot;custom icons&amp;quot; by way of using 1.8 player skulls. (NOTE: This is no longer true, recent version of Magic use RP items in…”</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=Magic/Icons&amp;diff=15852&amp;oldid=prev"/>
		<updated>2021-08-20T13:15:53Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“== Custom Icons ==  Magic supports &amp;quot;custom icons&amp;quot; by way of using 1.8 player skulls. (NOTE: This is no longer true, recent version of Magic use RP items in…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Custom Icons ==&lt;br /&gt;
&lt;br /&gt;
Magic supports &amp;amp;quot;custom icons&amp;amp;quot; by way of using 1.8 player skulls. (NOTE: This is no longer true, recent version of Magic use RP items instead of player skulls, but this information may still be useful)&lt;br /&gt;
&lt;br /&gt;
In order for these to work properly, you must be using the Magic resource pack, or at least [https://github.com/elBukkit/MagicPlugin/blob/master/Magic/src/resource-pack/potter/assets/minecraft/models/item/skull_char.json this specific part of it].&lt;br /&gt;
&lt;br /&gt;
This changes skull items when held in an inventory from this:&lt;br /&gt;
&lt;br /&gt;
[[File:http://i.imgur.com/qXJwmGv.png|fig:]]&amp;lt;br /&amp;gt;&lt;br /&gt;
to this:&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:http://i.imgur.com/COH6rdF.png|fig:]]&lt;br /&gt;
&lt;br /&gt;
Note, in particular, that normal player skulls will be affected, too, so that is a consolation you will have to make to use custom icons.&lt;br /&gt;
&lt;br /&gt;
Otherwise, your wand inventory will look like this:&lt;br /&gt;
&lt;br /&gt;
[[File:http://i.imgur.com/rclAteO.png|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
Making spells basically unreadable. If you can not use a resource pack, I recommend setting &amp;amp;quot;url&amp;#039;&amp;#039;icons&amp;#039;&amp;#039;enabled: false&amp;amp;quot; in your config.yml to turn off the custom icons.&lt;br /&gt;
&lt;br /&gt;
== Customizing ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Note: This method no longer works reliably, Mojang has deprecated the skins.mojang API&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;See the below section on Advanced Skin Retrieval&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
A spell or wand can use any Minecraft skin as an icon texture. The icon will be the front of the head, though all sides of the head are visible when a spell item is held in a player&amp;#039;s hand.&lt;br /&gt;
&lt;br /&gt;
You can use an online database of heads to find one you like, such as [[Minecraft heads|http://heads.freshcoal.com]]. You can also browse the collection of [http://mine.elmakers.com/#textures textures made specifically for Magic here].&lt;br /&gt;
&lt;br /&gt;
If you want to make your own, you can via a relatively simple process:&lt;br /&gt;
&lt;br /&gt;
# Create a skin as you would normally for a player, making the head an 8x8 icon.&lt;br /&gt;
# Download your current skin and keep it as a backup.&lt;br /&gt;
# Upload your &amp;amp;quot;spell skin&amp;amp;quot; to your Minecraft account.&lt;br /&gt;
# Check &amp;amp;quot;http://skins.minecraft.net/MinecraftSkins/NathanWolf.png&amp;amp;quot; (using your own username)&lt;br /&gt;
# Once the skin image above changes to your spell icon (this may take some time!), record its URL- you should be redirected to an image like &amp;amp;quot;http://textures.minecraft.net/texture/4a41b28f5f8bc079342b2f49d3b8b649e89b60754a3acbad681cdc86a5&amp;amp;quot;&lt;br /&gt;
# Re-upload your own skin to restore your sense of self.&lt;br /&gt;
# Put the texture URL you recorded into your spells.yml config, under the &amp;amp;quot;icon_url&amp;amp;quot; property.&lt;br /&gt;
&lt;br /&gt;
== Advanced Skin Retrieval ==&lt;br /&gt;
&lt;br /&gt;
The above routine might not work anymore, as skins.mojang now updates very rarely, if at all.&lt;br /&gt;
&lt;br /&gt;
Fortunately, there is a way to get around this if you have a little tech know-how:&lt;br /&gt;
&lt;br /&gt;
# Get your UUID, if you don&amp;#039;t know it already: https://api.mojang.com/users/profiles/minecraft/NathanWolf&lt;br /&gt;
# Make a note of the &amp;amp;quot;id&amp;amp;quot; returned by the above, it never changes. It will look something like &amp;amp;quot;4cb358ae719c442393c78769ce46e9c3&amp;amp;quot; (no dashes and don&amp;#039;t copy the quotes)&lt;br /&gt;
# Note that API requests are heavily limited by Mojang, don&amp;#039;t spam these links or you will get blocked. You may need to wait a minute or two before going to the next step. &lt;br /&gt;
# Now look up your player profile using the UUID from above: https://sessionserver.mojang.com/session/minecraft/profile/4cb358ae719c442393c78769ce46e9c3&lt;br /&gt;
# This should give you a block of JSON that looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;&amp;quot;&amp;gt;{&lt;br /&gt;
&amp;amp;quot;id&amp;amp;quot;:&lt;br /&gt;
&amp;amp;quot;4cb358ae719c442393c78769ce46e9c3&amp;amp;quot;,&lt;br /&gt;
&amp;amp;quot;name&amp;amp;quot;:&lt;br /&gt;
&amp;amp;quot;NathanWolf&amp;amp;quot;,&lt;br /&gt;
&amp;amp;quot;properties&amp;amp;quot;:&lt;br /&gt;
[&lt;br /&gt;
  {&lt;br /&gt;
    &amp;amp;quot;name&amp;amp;quot;:&lt;br /&gt;
    &amp;amp;quot;textures&amp;amp;quot;,&lt;br /&gt;
    &amp;amp;quot;value&amp;amp;quot;:&lt;br /&gt;
&amp;amp;quot;eyJ0aW1lc3RhbXAiOjE0MzA0OTMyNTIwNTMsInByb2ZpbGVJZCI6IjRjYjM1OGFlNzE5YzQ0MjM5M2M3ODc2OWNlNDZlOWMzIiwicHJvZmlsZU5hbWUiOiJOYXRoYW5Xb2xmIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzRhNDFiMjhmNWY4YmMwNzkzNDJiMmY0OWQzYjhiNjQ5ZTg5YjYwNzU0YTNhY2JhZDY4MWNkYzg2YTUifX19&amp;amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
]&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Take that long blob of text in &amp;amp;quot;value&amp;amp;quot;, all of it without the quotes, and copy+paste it to this website: https://www.base64decode.org&lt;br /&gt;
&lt;br /&gt;
Click &amp;amp;quot;DECODE&amp;amp;quot; and you should see something like this (that&amp;#039;s right- inside the base64-encoded string in the JSON is... more JSON! GG, Mojang)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;&amp;quot;&amp;gt;{&amp;amp;quot;timestamp&amp;amp;quot;:1430493252053,&amp;amp;quot;profileId&amp;amp;quot;:&amp;amp;quot;4cb358ae719c442393c78769ce46e9c3&amp;amp;quot;,&amp;amp;quot;profileName&amp;amp;quot;:&amp;amp;quot;NathanWolf&amp;amp;quot;,&amp;amp;quot;textures&amp;amp;quot;:&lt;br /&gt;
{&amp;amp;quot;SKIN&amp;amp;quot;:&lt;br /&gt;
{&amp;amp;quot;url&amp;amp;quot;:&amp;amp;quot;http://textures.minecraft.net/texture/4a41b28f5f8bc079342b2f49d3b8b649e89b60754a3acbad681cdc86a5&amp;amp;quot;}&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Finally, you can see your new skin URL there in the &amp;amp;quot;url&amp;amp;quot; field. This tends to update instantly, much more quickly than the skins.mojang URL redirect.&lt;br /&gt;
&lt;br /&gt;
== Super-Advanced Scripted Skin Retrieval ==&lt;br /&gt;
&lt;br /&gt;
As part of the de-iconing of Minecraft 1.8.4, I wrote some scripts to mass-update all the icons in Magic. If you have some PHP experience and are feeling adventurous, you can check out the scripts I used here:&lt;br /&gt;
&lt;br /&gt;
https://github.com/elBukkit/MagicPlugin/tree/master/Magic/src/resource-pack/common/source&lt;br /&gt;
&lt;br /&gt;
Steps to use these scripts:&lt;br /&gt;
&lt;br /&gt;
# Clone the Magic repository on github&lt;br /&gt;
# Navigate to src/resource-pack/common/src&lt;br /&gt;
# Put your new icons (8x8 images) in the source_images folder&lt;br /&gt;
# Run &amp;amp;quot;php makeicons.php&amp;amp;quot; to convert your 8x8 icons into skins&lt;br /&gt;
# Run &amp;amp;quot;php uploadicons.php&amp;amp;quot; to upload your new skins&lt;br /&gt;
&lt;br /&gt;
Both scripts will skip skins that have already been processed. The image_map.yml file is used to track uploaded skins so they don&amp;#039;t get re-uploaded. It is also what drives my global list of textures.. so if you feel like sharing, please send me your updated YML file! :)&lt;br /&gt;
&lt;br /&gt;
The script will save and restore your original skin, but of course it&amp;#039;s always a good idea to have a backup before running something like this.&lt;/div&gt;</summary>
		<author><name>炫宙菌</name></author>
	</entry>
</feed>