* Enhance BlocksDataGenerator to prioritize mineable material when multiple matches are found to fix problem of wrong dig time computation
* Ported the changes from the previous commit to all versions that require this fix.
* Forgot to add 1.21.9
* Add version 1.21.8
* send Change branch from 'main' to 'master'
* 🎈 Fix empty ingredients in 1.21.8 recipe generation by using display API correctly (#54)
* Initial plan
* Fix empty ingredients in 1.21.8 by using sl.getIngredients() instead of sl.display()
Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com>
* Update README.md
* Fix 1.21.8 shapeless recipe ingredients by using display API correctly
- Changed from trying to access sl.ingredients field (package-private) to using sl.display() properly
- Extract ingredients from ShapelessCraftingRecipeDisplay using SlotDisplay.resolveForFirstStack()
- Use SlotDisplayContext.fromLevel() to provide proper context for resolving items
- Successfully generates 295 shapeless recipes with proper ingredient arrays instead of empty arrays
- Tested with full data generation run - recipes.json now contains populated ingredients
Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com>
* Update build.yml
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com>
Co-authored-by: extremeheat <extreme@protonmail.ch>
* Rename AGENTS.md to copilot-instructions.md
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: extremeheat <extreme@protonmail.ch>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com>
* Do not hardcode tag names and remove not needed README comment
* Remove useless dependencies
* Deduplicate build code
* Run spotless to keep codebase clean
* 1.20.5 recipes: null over -1
* add 1.21
* 1.21 (#26)
* update classname
* update moved class
* updated to equivelant method since gettranslatekey removed
* added isCursed list as bandaid alternative for now since isCursed() removed
* added isTreasure list as bandaid alternative for now since isTreasure() removed
* found alternative method to canCombine() since removed
* modified getEnchantmentTarget name to handle registryEntryList since getApplicableItems dosnt return tagKey anymore
* bandaid list solution for "tradeable" property since isTradeable removed and no alternative in mappings
* bandaid solution for discoverable property since removed and no alternative to isAvailiableForRandomSelection in 1.21 mappings
* removed .toPath since apparently it dosnt exist
* no longer outputs in tagkey format
* fixed not adding enchantcategories for items properly
* added SuperGamerTron tag solution
* Update build.yml
---------
Co-authored-by: Madlykeanu <96554689+Madlykeanu@users.noreply.github.com>
Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
* Remove sky color hardcoding
* Bind to available port instead of 25565
* Fix error class and reduce accessors
* Fix language errors
* Cleanup imports and remove weird behaviour
* Print properly message
* Print version name
* Bump gson, update API usage and use linkedhashset over list
* Reimplement approach to categories
* Enable all feature flags by default
* Use jul instead of slf4j
* Call mc repo before maven central to fix build on mac
* Reduce duplicate code
* Fix gradle task name
* Revert name changes
* Revert action name
* Cleanup
* Revert to java 17
* Fix generation
* Cleanup
* Simplify code of DGU
* Remove unnecessary annotations
* Remove unused var
* Halt with error on error
* Remove unused mixins
* Update fabric loader
* Ignore success result
* Update gradle and use merged jar
* Implement new client and server merged environment for running fabric
* Set server run dir as asset dir
* More cleanup
* More cleanup 2
* More improvements
* Remove more duplicate code
* Use newer java methods
* More cleanup
* Remove SoundAccessors
* More cleanup
* Use java 21 for build
* Initial work on 1.20.5
* Cleanup a lot of stuff
* Do not generate mod jars to speed up builds
* Override merger on now open classes directly
* Use recommended approach
* Readd custom merger
* Working materials data generator
* Fix inconsistencies
* Fix collision order to be random
* Use LinkedHashMap for more reproducibility
* Fix imports
* Add sound id to name mappings as generator for 1.9 thru 1.20
* Fix issues in generators
* Add generator to all versions.
* Fix versions that offset ID by one for network.
* Fix handling FeatureSet related entities.
* Add 1.20.4 to build.yml
* Turns out jsut need to enable the feature set in the server.properties
* Remove the server.properties
Lets not enable feature sets since they could change alot of stuff on use.
The other fix in the PR still works as it makes it so that the entities don't show up as player type, just as unknow if we can't get them.
* Use the same way of getting the entity in all parts of the generator.
This should help deal with entities from features, since using the factory directly gets around the feature check.
* Would be helpful to call the function correctly...