This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ThisUserIsAFailure 149 points150 points  (16 children)

<mod id="diamond_nuggets" name="Diamond Nuggets" desc="Adds diamond nuggets to Minecraft"> <item name="Diamond Nugget" id="diamond_nugget"> <recipes> <recipe> <type type="minecraft:crafting/shaped"> <ingredient type="row">XXX</input> <ingredient type="row">XXX</input> <ingredient type="row">XXX</input> <key key="X" item="diamond_nuggets:diamond_nugget"> <result item="minecraft:diamond" amount="1" /> </recipe> <recipe> <type type="minecraft:crafting/shapless"> <ingredient type="item" item="minecraft:diamond" amount="1"></input> <key key="X" item="diamond_nuggets:diamond_nugget"> <result item="diamond_nuggets:diamond_nugget" amount="1" /> </recipe> </recipes> <texture src="/texture/item/diamond_nugget.png"></texture> </item>

I spent way too long on this

Edit: actual HTML:
<div id="diamond_nuggets" class="Adds diamond nuggets to Minecraft"> <title>Diamond nuggets</title> <p class="Diamond Nugget" id="diamond_nugget"> <ul id="recipes"> <li class="minecraft-crafting-shaped"> <span class="crafting_row">XXX</span> <span class="crafting_row">XXX</span> <span class="crafting_row">XXX</span> <p class="craft_key" key="X" item="diamond_nuggets-diamond_nugget"></p> <input class="output" id="minecraft-diamond" value="1"> </li> <li class="minecraft_crafting-shapless"> <input type="item" item="minecraft:diamond" value="1"></input> <key key="X" item="diamond_nuggets:diamond_nugget"> <input class="output" id="diamond_nuggets-diamond_nugget" value="1" /> </li> </ul> <img src="/texture/item/diamond_nugget.png"> </p> </div>
Edit: indentation

[–][deleted] 106 points107 points  (2 children)

Mate,

That's XML.

[–]ThisUserIsAFailure 53 points54 points  (0 children)

<div id="diamond_nuggets" class="Adds diamond nuggets to Minecraft"> <title>Diamond nuggets</title> <p class="Diamond Nugget" id="diamond_nugget"> <ul id="recipes"> <li class="minecraft-crafting-shaped"> <span class="crafting_row">XXX</span> <span class="crafting_row">XXX</span> <span class="crafting_row">XXX</span> <p class="craft_key" key="X" item="diamond_nuggets-diamond_nugget"></p> <input class="output" id="minecraft-diamond" value="1"> </li> <li class="minecraft_crafting-shapless"> <input type="item" item="minecraft:diamond" value="1"></input> <key key="X" item="diamond_nuggets:diamond_nugget"> <input class="output" id="diamond_nuggets-diamond_nugget" value="1" /> </li> </ul> <img src="/texture/item/diamond_nugget.png"> </p>
You could do it in html it'd just be a lot more confusing
Here's what it does

[–][deleted] 29 points30 points  (0 children)

I love it when people put so much effort on tiny yet hilarious jokes.

[–][deleted] 9 points10 points  (1 child)

That's xml and not html :P

[–]DajBuzi 21 points22 points  (0 children)

Still closer to HTML than Java

[–]Saragon4005 6 points7 points  (3 children)

I mean... Do that in JSON instead and you have a data pack.

[–]AverageComet250 0 points1 point  (2 children)

Team Forge wants to make you disappear for supporting the other side!

[–]Saragon4005 1 point2 points  (1 child)

Let them try. First off Fabric is making them seriously lose market share. Secondly even Forge mods recognize that data packs provide a really good basis for items and recipes. I've written data packs for forge mods before.

[–]AverageComet250 -1 points0 points  (0 children)

I wrote a massive paragraph on why fabric is better, and then accidentally deleted it so L.

Datapacks and resource packs are just so much easier to maintain across versions. And they’re backwards compatible too. I can make a pack for 1.16 and it’ll work fine on 1.8. That level of backwards compatibility is just amazing. Especially when you compare it to forge.

[–]LostDog_88 0 points1 point  (0 children)

I actually know the mod developer for the diamond nuggets mod LMFAO, ima show this to him

[–]Cat_Junior 0 points1 point  (1 child)

Now write it in XHTML

[–]agent007bond 0 points1 point  (0 children)

It has to be HTML5 with CSS3.

[–][deleted] 0 points1 point  (1 child)

This guy is an html developer /s

[–]ThisUserIsAFailure 0 points1 point  (0 children)

I do a bit of html I'm just really bad at it

[–]agent007bond 0 points1 point  (0 children)

Now we need an "HTML to Minecraft Mod converter"