1
0
Fork 0
mirror of https://github.com/haselkern/Minecraft-ArmorStand.git synced 2025-07-03 14:25:35 +00:00

Major Version

It now generates a full command, and has a lot of fancy additions.
This commit is contained in:
haselkern 2014-08-19 12:33:22 +02:00
parent d7ea813432
commit df326d9c9d
4 changed files with 126 additions and 17 deletions

View file

@ -2,7 +2,9 @@
<html>
<head>
<title>Minecraft Armor Stand</title>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="icon.png">
<link href='http://fonts.googleapis.com/css?family=Oswald:700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:700' rel='stylesheet' type='text/css'>
<script src="three.js"></script>
@ -13,12 +15,15 @@
<div id="gl"></div>
<div id="controls">
<div id="card">
<h1>MINECRAFT ARMOR STAND<br>Please note:</h1>
This thing is nowhere near complete, I just wanted to upload it so I don't lose my work if my local copy messes up.
<h1>MINECRAFT ARMOR STAND</h1>
<center>
<a href="https://github.com/haselkern/Minecraft-ArmorStand" target="_blank">Check it on GitHub</a>
<!-- TODO <a href="#">Or on Reddit</a> -->
</center>
<div id="inputsection">
<div id="inputsection" class="padding">
<input type="checkbox" name="invisible">Invisible<br>
<input type="checkbox" name="invulnerable">Invulnerable<br>
@ -45,8 +50,58 @@
</div>
<div id="code"></div>
<div id="code" class="code"></div>
<div id="codeinfo" class="padding"></div>
</div>
<div id="card">
<span class="padding" style="cursor: pointer;" onclick="javascript:$('#tipsntricks').slideToggle();">
+ Tips and Tricks for your Armor Stand
</span>
<br>
<div id="tipsntricks">
<div class="padding">
If your command is longer than 100 characters, it needs to be executed with a <b>command block</b>. Obtain one by typing:
</div>
<div class="code">
/give @p command_block
</div>
<div class="padding">
<br>
You can give the armor stand a <b>custom player head</b>! Just replace <i>Notch</i> with an username of your choice.
</div>
<div class="code">
/give @p skull 1 3 {SkullOwner:"Notch"}
</div>
<div class="padding">
<br>
You can use the following command to <b>fully customise the equipment</b> of your armorstand.<br>
In order for it to work, you have to put a command block close to the armorstand you want to edit. (Notice the <i>r=2</i>, where the r is radius.)
</div>
<div class="code">
/entitydata @e[r=2,ArmorStand] {Equipment:[{id:"iron_sword",Count:1b},{id:"iron_boots",Count:1b},{id:"iron_leggings",Count:1b},{id:"iron_chestplate",Count:1b},{id:"iron_helmet",Count:1b}]}
</div>
<div class="padding">
<br>
If you are a mapmaker you might not want players to take items out of the armor stand. If you want to lock all slots, replace n with 1 (or 0 if you want to unlock it).<br>
If you want to <b>disable specific slots</b>, you have to add the numbers in following table up, and replace n with your result.
<table>
<tr><td>Boots</td> <td>2</td></tr>
<tr><td>Leggings</td> <td>4</td></tr>
<tr><td>Chestplate</td> <td>8</td></tr>
<tr><td>Helmet/Block</td><td>16</td></tr>
<tr><td>Sword/Block</td> <td>Not working :(</td></tr>
</table>
</div>
<div class="code">
/entitydata @e[r=2,ArmorStand] {DisabledSlots:n}
</div>
</div>
</div>
</body>
</html>