Commit graph

1982 commits

Author SHA1 Message Date
modmuss50
4a1de890dd Remove minecraft:flowers from legacy tag warning. 🌻 2025-03-09 12:26:52 +00:00
modmuss50
7f0697d1b6 Bump version 2025-03-06 10:56:50 +00:00
modmuss
81c4afbc1a
Add back "invokeTestMethod" function to allow control over calling the test method. ()
* Add back "invokeTestMethod" function to allow custom logic before and after tests.

* Improve TestAnnotationLocator.validateMethod
2025-03-06 10:54:10 +00:00
PepperCode1
4e7a6c5738
Update Model Loading API to 1.21.5 ()
* Update Model Loading API to 25w07a

* Update Model Loading API to 25w08a

* Fix merge

* Move model wrappers to separate package

* Remove UnwrappableBlockStateModel

* Disallow ModelModifier.OnLoad from receiving or returning null models

- Move the point at which OnLoad is invoked earlier to be inline with how OnLoadBlock is invoked

* Temporarily remove extra models API

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
2025-03-06 10:29:35 +00:00
apple502j
f16bad8479
Port to 25w10a ()
* Update to 25w10a

* Sync DATA_COMPONENT_PREDICATE_TYPE

* Have the action upload expected genResources result

* Update TAW

* Revert "Have the action upload expected genResources result"

This reverts commit d368700cb4.

* Bump versions
2025-03-05 19:48:13 +00:00
modmuss50
081cc043e3 Update yarn 2025-03-02 13:11:31 +00:00
modmuss50
b571d26847 Bump version 2025-02-27 18:31:30 +00:00
modmuss
d71774a3e5
Fix client tests for 25w09b () 2025-02-27 18:30:34 +00:00
modmuss
02ca6796fb
Port to 25w09a ()
* Port to 25w09a

* Comment out FramebufferMixin for now

* Checkstyle

* Bump version
2025-02-26 22:00:24 +00:00
modmuss
bc8ad11dc1
Remap mixins with tiny remapper () 2025-02-26 19:31:44 +00:00
modmuss50
89f2edf180 Bump version 2025-02-20 18:12:18 +00:00
modmuss50
eeb42f02af Port cherry-picked commits to 1.21.5. 2025-02-20 18:06:09 +00:00
ImVeryBad
ea8b8904ea Add vararg helper methods for multi-tag support in the FabricTagBuilder ()
* Add multiple helper varargs methods for tags

* Fixed a bit the JavaDocs grammar

* More clarity for the addTags in JavaDocs

* Changed the Stream.of() with a for loop

* Added blank lines after block at same indentation  level

* Small grammar mistakes

* Changed the `add(T... elements)` to use for loop instead of `Stream.of()`

(cherry picked from commit 60b6f1b7ce)
2025-02-20 18:03:38 +00:00
Fabric Bot
786901f651 New Translation updates ()
* New translations en_us.json (Polish)

* New translations en_us.json (Chinese Simplified)

* New translations en_us.json (Japanese)

* New translations en_us.json (Polish)

* New translations en_us.json (Korean)

(cherry picked from commit 360374ac64)
2025-02-20 18:03:36 +00:00
modmuss
e830f9e302 Fix chunk attachments not marking the chunk for saving. ()
(cherry picked from commit 4e7c6049ea)
2025-02-20 18:03:35 +00:00
Moros
6b8d419822 Change elytra event mixin injection point ()
(cherry picked from commit da99546bcb)
2025-02-20 18:03:33 +00:00
TheDeathlyCow
b50102238a Add contains method to FabricComponentMapBuilder ()
* add contains method

* fix javadoc checkstyle i think

(cherry picked from commit ee91fa1fd2)
2025-02-20 18:03:31 +00:00
TelepathicGrunt
68d5d6abf3 Add eggs tag documentation ()
(cherry picked from commit 9448cd2df9)
2025-02-20 18:03:29 +00:00
TheDeathlyCow
a1d727352c Convention Drink Tags ()
* add drink tag keys

* add tags to datagen

* generate tags

* add translations

* drink container tags

* update wording of javadoc

* fix grammar in javadoc

* fix more javadoc typos

* add juice drink type tags

* number the rules for a drink

* watery tag; clarify rule 4 of drink definition

* remove rule 4 of the drinks tag

* fix java doc typo

* generate watery tag

* match juice tag names to vanilla ids

* remove subsub juice tags

* fix potential inconsistency in the drinks javadoc for alcoholic drinks

* remove sub sub tags

(cherry picked from commit c81f59020f)
2025-02-20 18:03:27 +00:00
apple502j
cb3258dead
Fix locale-dependent code in GameTest ()
Co-authored-by: modmuss <modmuss50@gmail.com>
2025-02-20 17:55:24 +00:00
modmuss
fd5bf1a075
Port to 25w08a ()
* Port to 25w08a

* Don't use config cache for now.

* Bump version
2025-02-19 17:37:39 +00:00
modmuss50
95c3bccbab Fix sub module versioning (yet again) 2025-02-17 21:53:59 +00:00
modmuss50
9cf0abc35a Fix module versioning (again) 2025-02-17 21:20:54 +00:00
modmuss50
1926933f8f Bump versions 2025-02-17 16:16:00 +00:00
modmuss
0657de193f
Fix module dep versioning () 2025-02-17 16:15:23 +00:00
modmuss50
b0fb9960fb Fix maven publishing 2025-02-15 15:36:49 +00:00
modmuss50
5a7d1eddb5 Bump version 2025-02-15 15:02:27 +00:00
modmuss
d1118d9789
Loom 1.10, remove grgit, work towards config caching. ()
* Update to Loom 1.10 and use new prod run tasks

* Fixes

* Remove grgit

* Fix build?

* Fix build?

* Loom 1.10, Remove grgit, work towards config caching.

* Try without tracy?

* Fix version catalog

* Fix local version
2025-02-15 14:46:29 +00:00
Apollo
504c6f623c
Implement builtin mod resource/data pack sorting ()
* builtin pack sorting 1.21.5

* Fix switch case indentation

* Revert "Fix switch case indentation"

This reverts commit 6714db0fa0.

* Fix formatting
2025-02-15 14:39:31 +00:00
Shnupbups
216530c8b2 Fix modded oxidizable blocks not oxidizing ()
Fixes 

`OxidizableBlocksRegistry.registerOxidizableBlockPair` will now re-cache the value of the `ticksRandomly` field of the passed blocks' states to ensure that the default implementation of oxidization will actually work on the blocks.

This may be considered a slightly dirty workaround, but it works well and isn't particularly intrusive, despite using 2 mixins.

I've also included a test (though not a GameTest) to ensure that this works, and split the `OxidizableBlocksRegistry` into separate API and impl classes to more easily allow for potential extensibility in future while not breaking compatibility.

(cherry picked from commit 25d1a67691)
2025-02-15 14:38:56 +00:00
Kevin
e3f4f850f7 Include template name in the client test screenshot missing error ()
* Include template name in the error message if possible

* Update javadoc

(cherry picked from commit 6816ccd43b)
2025-02-15 14:38:54 +00:00
Patbox
052a85d03d Add getAllMatches and getAllOfType method to ServerRecipeManager ()
* Add getAllMatches and getAllOfType method to ServerRecipeManager

* Throw exception in default interface implementation, fix license missing

(cherry picked from commit 640e77ae59)
2025-02-15 14:38:52 +00:00
Fabric Bot
0997dc2eb7 Translation updates ()
(cherry picked from commit 8a9646a68e)
2025-02-15 14:38:50 +00:00
modmuss
5cbce673b6
Initial 25w07a port ()
* Initial 25w07a port

* Bump version
2025-02-13 19:40:46 +00:00
modmuss
0eb0bee996 Fix incorrect HUD z index for sub layers ()
Fixes 

(cherry picked from commit 0d31b09f50)
2025-02-11 16:45:56 +00:00
modmuss50
d7836b8d3e Bump version 2025-02-09 14:27:14 +00:00
modmuss
3459fc6192 Use page up/down to change creative inventory pages. ()
* Use page up/down to change creative inventory pages.

* Swap keys

(cherry picked from commit fcb960140c)
2025-02-09 13:39:31 +00:00
Kevin
a3630f92b3 Add Hud Render Events ()
* Add HudRenderEvents

* Add HudRenderEventsTests and deprecate HudRenderCallback

* Update tests

* Add client parameter and apply suggestions

* Split HudRenderEvents into separate interfaces

* Fix before chat and last

* Add after sleep overlay event and update after main hud injection point

* Add comments for injection points

* Revert splitting HudRenderEvents into separate interfaces

* Use vanilla layered drawer layer interface

* Cleanup InGameHudMixin

* POC of hud modification

* Implement HudLayerRegistrationCallback

* Delete HudRenderEvents

* Fix sub drawers and add basic documentation

* Fix checkstyle

* Apply suggestions from code review

* Add Javadocs

* Add more unit tests

* Apply suggestions from code review
- Update Javadocs
- Remove vanilla sub drawer flattening
- Improve LayeredDrawerWrapperImpl internals

* Javadoc oddities

* Add client gametests

* Finish client gametests

* Change method and add documentation

* Ensure test environment is correct

* Move test class to same package

* Add render condition for tests

* Fix merge conflicts

* Update javadocs

* Small bug fixes, documentation, and sub drawer tests

* Update javadocs some more

* Add contract and get around return value not used warnings

* Apply suggestions from code review

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>

* Migrate AtomicBoolean to MutableBoolean

* Update javadocs on render condition

* Use ListIterator#set

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
(cherry picked from commit 44a0820dd2)
2025-02-09 13:27:01 +00:00
PepperCode1
19c9635598 Add UnbakedModelDeserializer ()
* Add UnbakedModelDeserializer

* Document UnbakedModelDeserializer

* Allow custom model types to be optional

* Update javadoc as per suggestion

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>

---------

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
(cherry picked from commit ae237235d8)
2025-02-09 13:26:58 +00:00
Juuz
93c53b9609 Rename "data" and "network" codecs to "server" and "client" codecs ()
The sided names avoid confusing modders into thinking that the client codec
is only used for syncing since it also reads data pack contents.

(cherry picked from commit 742bac29fb)
2025-02-09 13:26:56 +00:00
Patbox
7bf8da8212 Add a method for overriding modelId in item settings. ()
* Add method for overriding modelId in item settings

* Fix checkstyle

(cherry picked from commit 42f2d2ba6c)
2025-02-09 13:26:53 +00:00
Matthew Periut
2519e479bd Change Creative Buttons Texture ()
(cherry picked from commit a1daf2410f)
2025-02-09 13:26:51 +00:00
modmuss
c0451ac958
Fixes to the rendering test mods ()
* Fixes to the rendering test mods

* Fix
2025-02-09 13:13:15 +00:00
modmuss
52a0a3850a
Port to 25w06a ()
* Port to 25w06a

* Bump version
2025-02-05 18:40:41 +00:00
modmuss50
4d6a78a820 Bump version 2025-01-29 18:57:00 +00:00
modmuss50
2dd063df02 25w05a 2025-01-29 18:53:36 +00:00
Fabric Bot
9eb1c5c7a2 New Translation updates ()
* New translations en_us.json (Ukrainian)

* New translations en_us.json (German)

* New translations en_us.json (Italian)

* New translations en_us.json (Ukrainian)

* New translations en_us.json (Ukrainian)

* New translations en_us.json (Greek)

* New translations en_us.json (Greek)

(cherry picked from commit e359e316fb)
2025-01-29 10:49:56 +00:00
Joseph Burton
20e992bd4f Client gametest cleanup ()
* Organize packages

* Move all gametest system properties into one class where we won't lose them

* Add references to loom helpers to documentation in relevant places

(cherry picked from commit 2d7e411e9b)
2025-01-29 10:49:54 +00:00
AViewFromTheTop
4aeee1c3f3 Fix Client Registry Remapping Only Remapping One Registry ()
* WW DEBUG

Revert "apple log"

This reverts commit e3ba09c109a92f2cde401c0fbea8648b628c5452.

Possible Fix

apple log

Update RemapStateImpl.java

Revert "WW DEBUG"

This reverts commit 3f2ffa9272163c6640218b2fa72d36165b4b4bda.

* Fix Client Registry Remapping Only Remapping One Registry

* Add unit test

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit 4ba56ac745)
2025-01-29 10:49:52 +00:00
modmuss50
eae0ba9f49 25w04a 2025-01-22 16:10:50 +00:00