Skip to content

Commit e583f17

Browse files
author
ozelot379
committed
Most ui conversions are now experimental and need to enabled (if you want to try)
1 parent 2b74710 commit e583f17

5 files changed

Lines changed: 42 additions & 11 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
THIS PROJECT IS NO OFFICIAL MINECRAFT] PRODUCT - NOT AUTHORIZED OR ASSOCIATED BY MOJANG
1+
THIS PROJECT IS NO OFFICIAL MINECRAFT PRODUCT - NOT AUTHORIZED OR ASSOCIATED BY MOJANG
22

33
---
44

@@ -16,7 +16,7 @@ This project is inspired by the no longer continued [PCTexture2PE](https://githu
1616

1717
It supports to convert blocks, items, entities, paintings, particles, map icons, mob effects and some more basic ui textures (hotbar)
1818

19-
Some features are disabled by default, but can be enabled if you want to try:
19+
Some experimental features are disabled by default, but can be enabled if you want to try:
2020
- UI
2121
- Buttons
2222
- Tabs
@@ -26,10 +26,10 @@ Some features are disabled by default, but can be enabled if you want to try:
2626
## Web app
2727
Look at https://ozelot379.github.io/ConvertJavaTextureToBedrock
2828

29-
It works directly in your browser
29+
Works directly in your browser - no upload
3030

3131
## CLI
32-
As an alternative you can also use the cli version
32+
As an alternative you can also use the cli version on your computer
3333

3434
First be sure you have installed [NodeJS](https://nodejs.org) (At least the LTS version) and install [Yarn](https://yarnpkg.com/en/docs/install)
3535

‎src/converter/DespriteExperimentalConverter.js‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,23 @@ class DespriteExperimentalConverter extends AbstractConverter {
5050
[0, 22, 24, 24, "textures/ui/pocket_ui_highlight_slot.png"]
5151
]
5252
],
53+
[
54+
"textures/gui/container/anvil.png",
55+
256,
56+
[
57+
[102, 48, 22, 15, "textures/ui/arrow_large.png"],
58+
[17, 7, 30, 30, "textures/ui/anvil_icon.png"],
59+
[53, 49, 13, 13, "textures/ui/anvil-plus.png"]
60+
]
61+
],
62+
[
63+
"textures/gui/container/furnace.png",
64+
256,
65+
[
66+
[80, 35, 22, 15, "textures/ui/arrow_inactive.png"],
67+
[177, 14, 22, 15, "textures/ui/arrow_active.png"]
68+
]
69+
],
5370
[
5471
"textures/gui/container/horse.png",
5572
256,

‎src/converter/MetadataConverter.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MetadataConverter extends AbstractConverter {
1717
this.log.log(`Create metadata ${to}`);
1818

1919
if (!await this.output.exists(from)) {
20-
throw new Error(`Missing ${from}!`);
20+
throw new Error(`Missing ${from}! Is this really a java texture pack?`);
2121
}
2222

2323
let uuid_header = "";

‎src/webapp/css/style.less‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,19 @@ input[type="file"] {
4444
footer {
4545
padding-top: 0 !important;
4646

47-
.switch label input[type=checkbox]:checked + .lever,
48-
.switch label input[type=checkbox]:checked + .lever:after {
49-
.red
47+
.switch {
48+
label {
49+
.yellow-text;
50+
51+
input[type=checkbox]:checked + .lever,
52+
input[type=checkbox]:checked + .lever:after {
53+
.yellow;
54+
}
55+
56+
:active:before {
57+
background-color: transparent !important;
58+
transition: none !important;
59+
}
60+
}
5061
}
5162
}

‎src/webapp/html/index.html‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@
3434
<div class="container">
3535
<div class="row">
3636
<div class="col l6">
37-
<div>Works directly in your browser</div>
38-
<div>Some conversions of HD texture packs may takes a while</div>
37+
<div>Works directly in your browser - no upload</div>
38+
<div>More infos in the <a class="green-text"
39+
href="https://github.com/ozelot379/ConvertJavaTextureToBedrock/blob/master/README.md"
40+
target="_blank">readme</a></div>
3941
</div>
4042
<div class="col l6">
4143
<div>
@@ -49,7 +51,8 @@
4951
<a class="green-text" href="https://github.com/ozelot379/ConvertJavaTextureToBedrock"
5052
target="_blank">Source</a>
5153
&nbsp;-&nbsp;
52-
<a class="green-text" href="https://github.com/ozelot379/ConvertJavaTextureToBedrock/issues/new/choose"
54+
<a class="green-text"
55+
href="https://github.com/ozelot379/ConvertJavaTextureToBedrock/issues/new/choose"
5356
target="_blank">Report issue</a>
5457
</div>
5558
</div>

0 commit comments

Comments
 (0)