* Add a new chunk generate event, fired alongside the chunk load event when a chunk is first upgraded to full status
* fix style
* Add logging test for generate event
After creating an SP world and waiting for all nearby chunks to generate (logging to stop), closing the SP world and opening it again should not log any fresh generation. Moving to an unexplored area will start logging again.
(cherry picked from commit 4402f4ee73)
* New translations en_us.json (German)
* New translations en_us.json (Italian)
* New translations en_us.json (Russian)
* New translations en_us.json (Polish)
* New translations en_us.json (Russian)
* New translations en_us.json (Korean)
* - Add new method AttachmentRegistry#create that allows configuration of the registered attachment type with a builder.
- Migrate existing creation methods to use the new one under the hood for consistency.
- Moves all null checking from AttachmentRegistry to AttachmentRegistryImpl.BuilderImpl (most of them happened there as well already and were thus redundant).
* - Adds the ability to initialize an AttachmentType with only a path, substituting the mod ID of the registrant via an entrypoint.
* - Add registration safety checks
* - Add missing copyright header
* - Remove lazy entrypoint initialization of attachment types.
* - Import fixes
* - Update javadoc.
* - Use expression lambdas.
* - Fix style checks
* - More style fixes
* - Fix line endings
* - Move WheelInfo and initialization to test package
- Deprecate AttachmentRegistry#builder
- Update existing tests to use #create rather than #builder
* New translations en_us.json (Polish)
* New translations en_us.json (Italian)
* New translations en_us.json (German)
* New translations en_us.json (Japanese)
* Add `c:animal_foods` tag
* checkstyle
* Spotless
* Add to lang generator
* Actually use the generated lang file
---------
Co-authored-by: modmuss50 <modmuss50@gmail.com>
* after damage event
* add after damage event to testmod
* remove amount > 0 check to capture shield blocking
* add javadoc
* dont fire event if killed
* clarify javadoc a bit more
* fix checkstyle issue
* fix other checkstyle issues lol
* rename damageDealt to baseDamageTaken
* Add #c:nuggets/iron and #c:nuggets/gold
Closes#4005.
* Add crop item tags
Everything but c:crops/cocoa_bean is already in NeoForge.
* Add more crop tags and documentation for #c:crops
* Add an API to add additional supported blocks to block entity types. (#4009)
(cherry picked from commit 40875a9333)
* Bump version
* Add chorus fruit to 1c:foods/fruit` tag
---------
Co-authored-by: modmuss <modmuss50@gmail.com>
* Revert "Prevent vanilla clients from joining servers that require modded registry entries. (#3992)"
This reverts commit 8759e7555a.
* Revert "Throw the exception when a duplicate registry entry is found. (#3991)"
* Keep javadoc fix