Commit Graph

76 Commits

Author SHA1 Message Date
OffsetMonkey538
1f8be81f50 Loot Table Modifier generator (#758)
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
* Loot Table Modifier loot_modifier generator

Should support everything currently implemented

* Translation keys

* Make 'actions' and 'predicates' always a list

Seems simpler to understand and a list of one entry behaves exactly the same

* Update loot-table-modifier.mcdoc

Should match currently latest commit

* Fix loot modifier path in datapack being incorrect

* Match v2 alpha 1

* Import LootPoolEntry

* Add files via upload

* Revert "Add files via upload"

This reverts commit 7e9c50ee10.

* add condition_add action

* Add union member name overrides

Co-authored-by: Misode <misoloo64@gmail.com>

---------

Co-authored-by: Misode <misoloo64@gmail.com>
2026-01-19 21:06:31 +01:00
Misode
1bd7ad880a Fix #835 handle invalid identifiers in mcdoc renderer
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
2026-01-03 23:11:48 +01:00
Misode
3fe6dcdb92 Fix #813 item displays in recipe viewer in 1.20.4
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
2025-11-11 15:23:59 +01:00
VidTDM
07577f28e8 Update Create Mod Generators to 1.21.1 (#762)
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
* Initial Create Recipes

* Minor Changes

* Minor Changes

* fix issue with mixing recipe

* fix issue with cutting recipe

* Update to 1.21.1

* add compacting recipe and fix some issues

* Delete .vscode/snippets.json.code-snippets

* Final Touches

* change warning colour

* Sanitize mcdoc doc comments

* Fix until attributes, as they are exclusive

---------

Co-authored-by: Misode <misoloo64@gmail.com>
2025-08-07 21:53:14 +02:00
Sol Toder
3f52a908a6 Fix converting colors with alpha to hex RGB (#705)
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
Convert negative integers to unsigned integers. Truncate the alpha from colors before passing them to the HTML color picker, since it doesn't allow alpha values (and they'd be in the wrong place if it did).
2025-02-22 15:14:57 +01:00
Misode
fb95b386cc Sort string completions alphabetically
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
2024-11-29 01:54:12 +01:00
Misode
b1c8bba04a Add color indicator to enum fields
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
2024-11-27 19:15:22 +01:00
Misode
95f4363840 Improve input fields in mcdoc renderer 2024-11-27 18:59:25 +01:00
Misode
a86a707232 Exclude already existing keys from dynamic key suggestions 2024-11-27 01:28:29 +01:00
Misode
8415340557 Insert new fields in original struct order 2024-11-27 00:29:21 +01:00
Misode
6badc9f06f Fix indexeddb file system readdir to use a range 2024-11-26 18:04:11 +01:00
Misode
3a467e54b7 Improve doc comment rendering in markdown 2024-11-26 01:15:36 +01:00
Misode
ef03fe6058 Allow newlines in strings by special casing "\n" 2024-11-25 18:07:20 +01:00
Misode
e11e88d6db Render unknown fields 2024-11-20 03:42:37 +01:00
Misode
f4f2450133 Refactor passing makeEdit around in ctx 2024-11-19 20:57:18 +01:00
Misode
11029e88f6 Collapse surface rules by default 2024-11-19 19:38:49 +01:00
Misode
bf9590a225 Tweak collapse styles 2024-11-19 18:15:35 +01:00
Misode
8b58b2c7a4 Improve dynamic struct fields 2024-11-19 16:36:35 +01:00
Misode
adc355d347 Disable item display for item tag fields 2024-11-04 22:43:59 +01:00
Misode
807f236f2a Improve switching between union members 2024-11-04 21:14:20 +01:00
Misode
00f0c09a34 Add neoforge and immersiveweathering mcdoc 2024-11-01 00:19:46 +01:00
Misode
68eb077c17 Re-add ohthetreesyoullgrow partner 2024-10-31 06:41:30 +01:00
Misode
cf44c3236f Add duplicate action and split ListItem component 2024-10-31 05:02:57 +01:00
Misode
4cf1b16a86 Show max 50 list items by default 2024-10-31 04:20:02 +01:00
Misode
0214a6ea7b Make list and dynamic struct children collapsible 2024-10-31 01:37:34 +01:00
Misode
88c8719eab Render short numeric tuples inline 2024-10-31 01:07:01 +01:00
Misode
ea873cae22 Move stuff around to group mcdoc types 2024-10-31 00:09:37 +01:00
Misode
444173cd78 Split mcdoc file into components and helpers 2024-10-31 00:09:33 +01:00
Misode
9886155fee Manually filter out some fields due to probable spyglass bug 2024-10-30 17:32:20 +01:00
Misode
083862f867 Improve key formatting and use enum identifiers 2024-10-29 06:13:12 +01:00
Misode
d6118dcb99 Tweak node button colors 2024-10-29 05:21:43 +01:00
Misode
3f0855d336 Fix optional literals 2024-10-29 04:42:07 +01:00
Misode
de084e030c Escape quotes when editing strings 2024-10-29 04:21:19 +01:00
Misode
65a394c3ed Improve union member matching 2024-10-29 03:31:16 +01:00
Misode
7770b97a7a Implement any/unsafe type 2024-10-29 02:41:59 +01:00
Misode
a536c78e05 Fix error with empty union 2024-10-28 06:18:32 +01:00
Misode
bdc06d1f43 Fix dispatcher types not always having context 2024-10-28 06:03:24 +01:00
Misode
9fa9da0230 Fix assets generators 2024-10-27 06:03:58 +01:00
Misode
446e04879c Add random seed button 2024-10-27 05:39:04 +01:00
Misode
88b8730b72 Fix world settings generator 2024-10-27 05:15:26 +01:00
Misode
e8871ee02a Also show item display for block registry 2024-10-26 22:46:15 +02:00
Misode
2163020db8 Pass runtimeKey when simplifying dynamic fields 2024-10-26 22:41:09 +02:00
Misode
8d3497e7b6 Format data components 2024-10-26 22:04:48 +02:00
Misode
6555e80ead Hide [any]: any dynamic fields 2024-10-26 15:57:33 +02:00
Misode
b9e72bc4da Don't rely on the file root typeDef + refactor mcdoc props 2024-10-25 20:00:58 +02:00
Misode
35de8bc538 Implement dynamic struct fields + improve UX 2024-10-25 06:18:29 +02:00
Misode
8bc821e516 Make fixed lists and tuples consistent 2024-10-25 02:44:29 +02:00
Misode
1f0a3a03a9 Change style of objects inside lists 2024-10-25 01:23:36 +02:00
Misode
18dd627ad8 Fix issue with setting strings to unset 2024-10-24 23:32:56 +02:00
Misode
974730ff44 Implement add to bottom of list 2024-10-24 23:23:07 +02:00