Commit Graph

48 Commits

Author SHA1 Message Date
Misode
86687ea6b9 Improve item display (#283)
* Refactor item display to separate component

* Load assets and render item models

* Cache rendered items
2022-10-04 19:15:28 +02:00
Misode
fdb8874454 Add font generator 2022-07-11 03:37:10 +02:00
Misode
561cd341a1 Update to esm, update deepslate (#244) 2022-06-16 00:58:14 +02:00
Misode
90eac0f9b8 Project tree view and creation (#203)
* Implement creating and importing new projects

* Add downloading a zip of a project

* Project validation (WIP)

* Add project side panel, remove project pages

* Project file saving

* Add file tree actions to rename and delete

* Fix file creation auto focus

* Add button to save file from menu

* Add project creation

* Fix specificity on version switcher button

* Update default version to 1.19

* List project files by type, remember project and delete project
2022-06-14 16:48:55 +02:00
Misode
986cca9191 Show item textures for loot table entries 2022-06-01 03:06:49 +02:00
Misode
2ebba08d4b Configurable biome colors in preview
- add Store context
- add useLocalStorage
- color utils
2022-05-14 19:39:48 +02:00
Misode
114164c740 Add partners, Immersive Weathering block growth (#231)
* Add partners: Immersive Weathering block growth

* Fix block state and modded block IDs

* Add categories

* Add custom rule tests

* Add missing translation
2022-05-14 02:41:01 +02:00
Misode
cd0c37c5dd Add button to generate new UUID 2022-05-12 18:34:55 +02:00
Misode
21c3fbae93 Add button to generate new structure salt 2022-04-08 20:33:04 +02:00
Misode
e603ba12db 22w13a and 22w14a 2022-04-07 00:44:07 +02:00
Misode
9f49736ae9 Fix hiding too much from the tree 2022-02-26 22:24:12 +01:00
Misode
7806aa6ad6 Visualizations for 1.18.2 and density functions 2022-02-26 04:34:19 +01:00
Misode
1812d5d2a6 1.18.2-pre1 2022-02-18 22:54:00 +01:00
Misode
05d364dab6 22w06a + fix #148 + fix #151 2022-02-10 05:22:39 +01:00
Misode
c6c52ca41a Projects (#192)
* Add file save UI and drafts project

* Fix build

* Create SearchList component as abstraction

* Add project page and file tree view

* Create Locale context

* Create Theme context

* Create Version context

* Create Title context

* Create Project context

* Store current file in project context

* Fix issues when renaming file and implement deleting

* Style improvements

* Make all project strings translatable

* Fix z-index
2022-01-18 01:02:19 +01:00
Misode
df06d13ca7 Fix preset not reloading in some cases 2021-11-21 04:05:25 +01:00
Misode
872a03d44a Include version in renderHtml context 2021-11-21 03:56:03 +01:00
Misode
43d1b7dbcc Add follow reference button for vanilla presets 2021-11-21 03:49:46 +01:00
Misode
b2654c99e4 Fix changing feature choice with new placed features 2021-11-13 18:53:52 +01:00
Misode
e664bea241 Alternative way to collapse terrain shaper and surface rules 2021-11-07 04:06:44 +01:00
Misode
a24c5d4c79 Support exporting YAML + minified 2021-11-05 02:47:53 +01:00
Misode
fba80da273 Add resource pack generators: blockstates and model 2021-11-05 01:22:23 +01:00
Misode
95097e6091 Move more stuff to services folder 2021-11-03 01:27:49 +01:00
Misode
b4d43c55bd Fix noise settings preview, use the terrain shaper 2021-10-30 04:44:25 +02:00
Misode
89354a9743 21w43a 2021-10-27 20:00:13 +02:00
Misode
146764df95 Fix obscure error in useToggles 2021-10-14 00:45:06 +02:00
Misode
ed0b415af5 21w41a 2021-10-14 00:18:58 +02:00
Misode
387c278353 21w40a 2021-10-09 00:18:13 +02:00
Misode
0ff7de3aea Fix #176 switching between choices 2021-10-06 00:02:06 +02:00
Misode
17ed93a182 Add recipe generator 2021-10-04 23:32:41 +02:00
Misode
a014d7a5c7 21w39a 2021-10-01 00:01:28 +02:00
Misode
c51acd34e7 Add duplicate list item action 2021-09-29 01:02:24 +02:00
Misode
a0b7cb1c81 Fix not being able to change feature type 2021-09-29 00:30:47 +02:00
Misode
e5d2c02fb3 Show nested feature decorators in a list (#173)
* Show nested feature decorators in a list

* Fix swapping decorator indices

* Move wrapper model creation to separate function

* Add setting string node on enter
2021-09-28 23:46:21 +02:00
Misode
96d934d592 Fix #170 and fix #171 by only updating strings onBlur 2021-09-27 23:56:10 +02:00
Misode
6d6939163d Fix error when adding to list 2021-09-25 18:53:43 +02:00
Misode
e7e9b02ea7 Correctly update number nodes when model changes 2021-09-25 17:41:49 +02:00
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
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
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
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
Misode
a685cfeb1b Re-add context menu 2021-09-10 00:46:34 +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