Commit Graph

351 Commits

Author SHA1 Message Date
Misode
2cb14a2c10 Add tooltips to all buttons and tweak hover colors 2021-09-25 07:10:54 +02:00
Misode
7db47938b8 Make list and map entries collapsible (#169)
* Make list entries collapsible

* Show errors in collapsed nodes and keep context of loot type

* Make map entries collapsible

* Add collapse-all functionality
2021-09-24 22:12:33 +02:00
Misode
1813a553db Fix biome preview 2021-09-24 13:29:14 +02:00
Misode
55f6ca58c0 Fix previews after wrapping lists 2021-09-24 06:00:27 +02:00
Misode
d0d212f755 Better behavior of number input fields 2021-09-24 04:11:19 +02:00
Misode
6e4850d5a9 Memoize list entries and wrap model data 2021-09-24 03:47:15 +02:00
Misode
b12e81fff0 21w38a 2021-09-24 01:00:44 +02:00
Misode
241d522932 Memoize tree nodes - Big performance improvements
Due to no key being available, list entries can't be memoized for now
2021-09-23 22:27:20 +02:00
Misode
56d6713776 Another issue with null 2021-09-23 17:07:25 +02:00
Misode
f55a911079 Fix #157 and fix #167 2021-09-23 16:44:27 +02:00
Misode
0842eb8741 Simplify DOM by removing node-entry 2021-09-23 15:04:24 +02:00
Misode
e696d6dd36 Bump ansi-regex 2021-09-23 13:47:32 +02:00
Misode
3b80334e2e Support 1.18 (experimental) snapshots (#158)
* Half support 1.18-experimental-snapshot-1

* Fetch 1.18 presets and improve rendering of lists

* Noise preview with deepslate

* Biome preview with deepslate

* Generalize canvas logic in one hook

* Simplify useCanvas

* Use mcschema for 1.18

* Improve noise settings preview controls

* Fix build

* Update deepslate and improve preview caching

* Cleanup, remove old preview code

* Couple seed between model and preview

* Limit output to improve performance + copy feedback
For the vanilla overworld dimension (200K lines),
it took 2+ seconds to write the output to the textarea

Now capped at 10K chars

* Add surface_relative_threshold to decorator preview

* Improve fixed list errors
2021-09-23 03:04:52 +02:00
Tomato Cake
eb085737a3 Translated using Weblate (German)
Currently translated at 88.4% (46 of 52 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/de/
2021-09-19 10:47:12 +00:00
Misode
9671f304f7 Fix error when switching generators with previews 2021-09-10 23:58:18 +02:00
Misode
a685cfeb1b Re-add context menu 2021-09-10 00:46:34 +02:00
Misode
e3fb5923c0 Handle catching unknowns 2021-09-09 22:34:22 +02:00
Misode
fd503f1d03 Update schema locales 2021-09-09 21:49:42 +02:00
Misode
386eb675d6 Use preact to render the tree (#155)
* Use preact to render the tree

* More changes to renderHtml
2021-09-09 21:36:19 +02:00
Kevin Romero Peces-Barba
b5c994795a Translated using Weblate (Spanish)
Currently translated at 100.0% (52 of 52 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/es/
2021-09-08 10:03:32 +00:00
Misode
c226a15561 Added translation using Weblate (Spanish) 2021-09-07 11:29:01 +00:00
lakejason0
3ad0f0ebaa Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (52 of 52 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (52 of 52 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/zh-cn/
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/zh-tw/
2021-08-12 06:34:15 +00:00
Alex3236
73bc8380e6 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (52 of 52 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/zh-cn/
2021-08-07 20:41:54 +00:00
champsing
f2e6f9877d Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (52 of 52 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/zh-tw/
2021-08-05 16:08:57 +00:00
Jerozgen
6528969b8e Translated using Weblate (Russian)
Currently translated at 98.0% (51 of 52 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/ru/
2021-08-05 10:34:24 +00:00
champsing
da36355bef Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (52 of 52 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/zh-tw/
2021-08-05 08:15:04 +00:00
SPWeblate
5b20daf8c7 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/
2021-08-05 05:21:59 +00:00
Misode
40fe1c5336 Show error when importing invalid json 2021-08-05 00:12:30 +02:00
Misode
da33cc2832 Fix #162 Add better error message for wrong version 2021-08-04 23:07:50 +02:00
Misode
93607a0540 Add multiline and resizable NBT input fields 2021-07-07 17:44:08 +02:00
Misode
b43a151d17 Add buttons to move element order in a list 2021-07-03 01:12:54 +02:00
Misode
98d754b6d8 Fix biome preview for nether preset 2021-07-02 17:58:21 +02:00
Misode
7c266ca945 Add generator quick switcher 2021-07-02 04:38:02 +02:00
Misode
985057ab4e Allow multiple errors and dismissing errors 2021-07-02 02:59:19 +02:00
Misode
f43cb03cc3 Make generator config more robust 2021-07-02 02:36:01 +02:00
Misode
cabd97cb39 Update home page and logo in header 2021-06-30 05:36:26 +02:00
Misode
2fb4848425 Add configurable indentation 2021-06-26 19:19:51 +02:00
Misode
56ab28f4d8 Fix github pages deploy 2021-06-26 18:08:39 +02:00
Misode
8a5aa42ca1 Use builtin colors for vanilla biomes 2021-06-26 17:18:02 +02:00
Misode
f2df089150 Only start getting schemas once on page load 2021-06-26 17:18:02 +02:00
Misode
373698ebbc Improve rendering and validating block states 2021-06-26 17:18:02 +02:00
Misode
14da8ba575 Select preset input when opening 2021-06-26 17:18:02 +02:00
Misode
ac10c3f541 Fix some errors and make others visible 2021-06-26 17:18:02 +02:00
Misode
09c851914f Switch to vite and preact 2021-06-26 17:18:02 +02:00
Federico
e551b7ef75 Translated using Weblate (Italian)
Currently translated at 32.3% (11 of 34 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/it/
2021-06-10 04:13:07 +00:00
Misode
57b59f3fec Add looking_at and protected blocks from 1.17-pre1 2021-06-02 20:41:39 +02:00
Nikita Chepkiy
86a70a7912 Translated using Weblate (Russian)
Currently translated at 100.0% (34 of 34 strings)

Translation: Minecraft Schemas/misode.github.io
Translate-URL: https://l10n.spgoding.com/projects/minecraft-schemas/generators/ru/
2021-05-30 22:18:58 +00:00
Misode
38754dfd29 Add information on how to contribute translating 2021-05-28 04:39:11 +02:00
Misode
66285d0ccb Catch all usages of the CacheAPI 2021-05-28 04:06:35 +02:00
Misode
3bf253b69d Catch errors when opening cache 2021-05-28 03:45:50 +02:00