Made the text better
Some checks failed
Validate HTML site / build (push) Has been cancelled

This commit is contained in:
Stijn Bannink 2024-10-13 14:55:31 +02:00
parent 3d42c62b54
commit 1378f0438a
Signed by: SBDeveloper
GPG key ID: B730712F2C3A9D7A
3 changed files with 29 additions and 18 deletions

View file

@ -47,11 +47,11 @@
<h1 class="display-4 pb-1"><img src="dist/img/vp.png"
alt="VehiclesPlus" class="pe-1 pb-2" style="width: 2em;"> Model File
Generator</h1>
<p class="lead">Generate the resourcepack asset files for your VehiclesPlus models.</p>
<p class="lead">Easily generate the resourcepack asset files for your VehiclesPlus models.</p>
<hr class="mb-3">
<p class="fst-italic">You indicate which item you want to use and the path to the models for each
value. This tool then
creates the .json file for you.</p>
<p class="fst-italic">You can use this tool to generate the model files for your custom VehiclesPlus
models.<br/>
Easily put the generated files in your resourcepack to use them in-game.</p>
</div>
<form id="calculatorForm">
<div class="mb-3 w-50">
@ -59,17 +59,17 @@
<div class="form-check form-switch form-switch-lg">
<input class="form-check-input" type="checkbox" role="switch" id="custommodeldata" checked>
</div>
<div class="form-text" id="custommodeldata-help">1.14+ supports custom model data, which is preferred by
VehiclesPlus. If you
use 1.13 or lower, the calculator works with damage values.
<div class="form-text" id="custommodeldata-help">For 1.14+, preferably use custom model data. For older
versions,
please disable this option.
</div>
</div>
<div class="mb-3 w-50">
<label for="namespace">Namespace:</label>
<input type="text" class="form-control" id="namespace" name="namespace" required value="vp">
<div class="form-text" id="namespace-help">The example resourcepack places files in the '<b>vp</b>'
namespace. If
you use the 'minecraft' namespace, change it to <b>minecraft</b>.
<div class="form-text" id="namespace-help">The example resourcepack uses the namespace <code>vp</code>. You
can
change this to your liking.
</div>
</div>
<div class="mb-3 w-50">
@ -77,8 +77,8 @@
<select class="form-control" id="item" name="item" required>
<option value="" selected>Select an item...</option>
</select>
<div class="form-text" id="item-help">Select the item you want to use. If you want to support colors,
use a Leather item.
<div class="form-text" id="item-help">Select the item you want to use. If you want to use colors, you need
to use a leather armor item.
</div>
</div>
<div id="formItems" style="display: none;">
@ -109,10 +109,12 @@
</div>
</form>
<hr class="mb-3">
<h6>Output JSON:</h6>
<h6>Output <code id="filename">file</code>:</h6>
<pre id="content" class="mb-3 w-50">Fill in the form above to get an output.</pre>
<button id="copyButton" class="btn btn-primary mb-3 mr-3">Copy</button>
<a id="downloadButton" class="btn btn-secondary mb-3" href="#">Download</a>
<a id="downloadButton" class="btn btn-primary mb-3" href="#">Download</a>
<button id="copyButton" class="btn btn-secondary mb-3 mr-3">Copy</button>
<p class="text-muted">Place the output in the <code>assets/minecraft/models/item/</code> folder of your
resourcepack.</p>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"