Commit Graph

270 Commits

Author SHA1 Message Date
Misode
18332b9dbc Make edits to AST and then use formatter 2024-10-23 06:10:14 +02:00
Misode
a0f3e71000 Refactor spyglass service and context 2024-10-23 05:44:20 +02:00
Misode
c358c871da Implement undo and redo 2024-10-22 22:55:04 +02:00
Misode
ea37eb168f Keep track of opened documents and prepare for undo/redo 2024-10-22 15:43:02 +02:00
Misode
9cb7f7297c Make Spyglass a singleton object 2024-10-20 20:23:17 +02:00
Misode
d248732469 Basic mcdoc tree rendering 2024-10-17 15:14:30 +02:00
Misode
7ed34a61e7 Add spyglass context and file watcher 2024-10-16 15:46:17 +02:00
Misode
77d6323219 Use spyglass DocAndNode to store current file data 2024-10-16 04:36:59 +02:00
Misode
7dbd533abb Add mcmeta-summary symbol registrar and initialize remaining 2024-10-15 23:25:56 +02:00
Misode
60aab0c6b9 Initialize spyglass project and load vanilla-mcdoc 2024-10-15 07:24:12 +02:00
Misode
ccdcf9e7e3 🔥 Nuke all mcschema related code 2024-10-15 05:14:02 +02:00
Misode
763b70180f Fix git diff including 404 responses 2024-10-04 19:50:14 +02:00
Misode
5b5cc026f4 Add snbt and shaders to text-like files 2024-10-04 19:23:21 +02:00
Misode
91f61b3c36 Fix #519 by manually creating the patch when github doesn't give it 2024-10-04 19:02:53 +02:00
Misode
23ab957f62 Fix tree not refreshing when importing on mobile 2024-10-04 17:42:52 +02:00
Misode
f1b60b8b40 Add paste button on mobile + update copy icon (#610) 2024-10-04 17:40:02 +02:00
Misode
fab3088799 Close #537 implement alphabetical sort in output 2024-10-04 16:42:47 +02:00
Misode
fec84a03d2 Fix #540 by validating file names 2024-10-04 15:52:21 +02:00
Misode
5d08f15006 Fix #319 keep unknown files when importing and downloading a project 2024-10-04 15:30:35 +02:00
Misode
7754d361c3 Fix #301 update deepslate with new special renderers 2024-10-02 17:17:56 +02:00
Misode
75c662863c Fix #459 Store DF mode to local storage 2024-09-30 19:38:24 +02:00
Misode
88b7b74ca0 Fix #599 catch invalid lore lines 2024-09-18 17:38:31 +02:00
Misode
586c777cf8 Support 24w37a and 24w38a 2024-09-18 17:03:57 +02:00
Misode
137c4816d6 Allow generators to be listed in two columns 2024-09-18 14:45:50 +02:00
Misode
d7781d717a Add 11 icons for recently added generators 2024-09-18 14:24:05 +02:00
Misode
7ea4227451 Fix #604 validate set_contents 2024-09-17 02:36:44 +02:00
Misode
9c9bed9423 Fix #585 re-add enchantment loot functions to latest version 2024-09-12 03:28:02 +02:00
Misode
fff1b1603a Fix #596 support item tag and loot table references in loot preview 2024-09-11 14:39:53 +02:00
Apollo
944dc890e8 Fix recipe preview on 1.21.2, add enchantment tag generator (#595)
* Add enchantment tag generator

* Update Lithostitched partner

* Fix recipe preview on 1.21.2

* Add enchantment tag icon

* Fix nested tags

---------

Co-authored-by: Misode <misoloo64@gmail.com>
2024-09-11 02:47:14 +02:00
Misode
fd6de2ac85 Update loot table preview, item display and tooltips to 1.21 2024-09-11 02:31:17 +02:00
Misode
337b7d9b0a Fix #546 catch invalid recipe resource locations in result 2024-09-05 15:10:07 +02:00
Misode
c277880a01 Add snbt output format 2024-06-22 16:52:01 +02:00
Misode
44b97e357f 24w19a 2024-05-10 23:15:41 +02:00
Misode
4da8beb0fb Fix #504 recipe preview error 2024-04-23 20:07:09 +02:00
Misode
3cb736e7c5 Fix #496 recipe preview 2024-03-27 01:58:14 +01:00
Misode
3fdda11c17 Fix recipe result preview before 1.20.5 2024-03-26 00:55:37 +01:00
Misode
c87ede8e54 Recipe preview 2024-03-25 21:57:47 +01:00
Misode
b1332d7d22 Fix #485 add scrollPastEnd 50% to output panel 2024-03-14 17:31:18 +01:00
efekos
231ecfe9c2 Language Support in Tooltips (#468)
* Add lang parameter to TextCompoennt

* Add 'mclang' key

* Add clearing old language cache when changed language

* Fetch language in background

* Remove auto-fetching mc language

* wrap mclang with a state

* update contributos

* Move 'mclang' to config.json

* Cleanup code to get mclang key and fix caching

---------

Co-authored-by: Misode <misoloo64@gmail.com>
2024-02-24 21:55:41 +01:00
YanisBft
7a7c7d675e Add a wiki page button to versions (#470)
* Add a wiki page button to versions

* Wrap tabs and change tab to "Wiki"

---------

Co-authored-by: Misode <misoloo64@gmail.com>
2024-02-24 21:24:35 +01:00
Misode
f3b852025d Add Oh The Trees You'll Grow partner generator 2024-01-18 07:53:05 +01:00
Misode
b4e9d86c43 Refactor how partner generators work + prefix generator translation keys 2024-01-18 03:22:10 +01:00
Misode
886991af8e Customized biomes (#396)
* Start with customized biome UI

* Refactor customized page, split logic

* Implement biome replacements

* Remove debug messages

* Disable create button when nothing is modified
2023-12-06 20:40:30 +01:00
Misode
649f14dc0d Don't show all versions by default + version ranges 2023-12-05 19:28:35 +01:00
Misode
0296546a4d Fix #434 add more tag generators 2023-12-05 11:28:01 +01:00
Flemmli97
33d90f9126 Allow creating new files (#437)
* allow creating new files

* icon and translation key fix

* Change how new file works

* Fix selected file in tree view

* Reword to "New empty file"

* Reword to "Save as"

---------

Co-authored-by: Flemmli97 <Flemmli97@users.noreply.github.com>
Co-authored-by: Misode <misoloo64@gmail.com>
2023-12-03 22:25:52 +01:00
Misode
fcffbc9712 Fix #443 Enable autofocus in generator lists 2023-11-29 22:29:23 +01:00
Misode
2416095e4f Add wiki link to all generators 2023-11-23 02:05:05 +01:00
Misode
1394711d08 Remove guides, they moved to the minecraft wiki 2023-11-23 01:35:58 +01:00
Misode
ddd00dd731 Add version mcmeta diff page (#428)
* Add version mcmeta diff page

* Add toggle for word wrapping

* Fix diff view on mobile

* Use full layout width on version details

* Show image and audio diffs

* Add word_wrap locale
2023-10-09 22:09:36 +02:00