Commit graph

229 commits

Author SHA1 Message Date
Jonathan Coates
aed122aafd
Make BlockModelGenerators's PropertyDispatch fields public (#5513) 2026-07-28 10:35:05 +01:00
Up
b190d6f51f
Fix datagen crash with non-fabric-api tag providers (closes #5431) (#5494)
* Add non-fapi tag provider test case

* Fix crash with non-fabric-api tag providers

(closes #5431)
2026-07-17 09:31:12 +01:00
Martijn van den Brand
9e7dc27f05
Make FabricDataGenerator extend DataGenerator.Cached rather than Uncached (#5452) 2026-07-01 13:31:25 +01:00
+merlan #flirora
5e56e54003 RecipeProvider: Output stonecutting recipes in result item’s namespace (#5429)
* RecipeProvider: Output stonecutting recipes in result item’s namespace

* Add data generation test in testmod
2026-06-15 10:24:15 +01:00
Cassian Godsted
10e9a28b5e
Add fabric:false resource condition (#5410) 2026-06-07 13:59:46 +01:00
Mega
c7bd5b8ea7 Dismantle DynamicRegistries#getDynamicRegistries into two more specific methods of DynamicRegistries (#5377)
* DynamicRegistries#getDynamicRegistries Specification Change, First Draft

* Fix Registration Check

* Add DynamicRegistries#getBootstrappingRegistries

* Add Tests

* spotlessApply

* Revert breaking change and replace it with deprecation instead
Set DynamicRegistries#getWorldRegistries & DynamicRegistries#getBootstrappingRegistries
Add very basic documentation about those two

* begone

* Change DynamicRegistries#getBootstrappingRegistries Javadoc

* checkstyle
2026-06-07 13:53:55 +01:00
modmuss50
f83d74dd0b 26.2-pre-1 2026-05-26 16:15:17 +01:00
Chrys Chrysanthemum
d8981f58e9 [26.1.2] Tag File Entry Removals (#5365)
* Commit

* encapsulate `REMOVED`. remove nullability

* encapsulate `REMOVED`. remove nullability

* appease checkstyle

* Mojmap-ify tag entry removal.

* Rename `c:remove` to `fabric:remove`, allow the system to work with client tags.

* Cleanup for ClientTagTest.

* Update exception messages.

* Rename FabricTagEntryImpl to FabricTagEntryInternals.

* Make TagEntryRemovalTest message consistent with other tests.

* Refactor to use static imports for TagTestUtils#tagKey.

* Refactor to store removed values inside TagFile rather than TagEntry.

* Spotless apply tag removal stuff.

* Fix style.

* Rename and add lang entry for tag removal test tag.

* Add tag removal methods to datagen and run datagen tests.

* Fix checkstyle.

* Re-run datagen test

* Spotless apply TagBuilderMixin.

* Remove legacy injected interfaces reference.

* Remove certain @NonNull annotations from impl classes.

* Modify mention of fields to be in code.

* Remove need for SuppressWarnings unchecked.

* Document forceAddTag and forceRemoveTag.

* Rewrites and tweaks to client tag game tests.

* Fix client game tests.

* Move tag tests to use game tests and client game tests.

* Make all removed tag entries never error when not present.

* Remove unused data-gen test content.

* Specify exception in TagEntryAccessor.

* Remove per entry field for remove tags.

* Rename fabric_buildRemoved to fabric_getRemoved.

* Add data generation test for adding and removing from a tag at the same time.

* Fix checkstyle issues.

* Fix removed values not being cleared when replacing client tags.

* Fix typo in TagAppenderMixin.

* Replace WrapperCodec with less complicated method.

* Remove leftover method for validating removed values.

* Remove fabric-gametest-api-v1 from testDependencies.
It is in all modules by default.

* Remove unused imports in TagsProviderMixin.

* Rename all references of `removed` in tags to `remove`.

* Fix unnecessary usage of local, rename tag removal mixin methods.

* Collections#unmodifiableList fabric_removed.

* Don't default fabric_removed inside TagFileHooks.

* Document tag entry removals and refactors relating to API exposure.

* Tweaks to README.md and javadocs.

* Fix headers within javadocs.

* Swap heading level 3 to heading level 4.

* Revert "Swap heading level 3 to heading level 4."

This reverts commit 2b53e966bc.

* Revert accidental unnecessary javadoc change.

* Consistently throw an assertion error in injected interfaces related to tag entry removal.

* Replace instanceof check with specific cast.

* Fix the `replace` field not functioning with the `fabric:remove` field.

* Remove unused Shadow field.

* Revert clearing map back to removing thread local.

* Remove unused classes.

* Fix datagen compile error.

* Don't instanceof replace ModifyArgs.

* Fix snowballs without bricks test using the wrong method.

* Allow re-adding values after removal.

* Fix remove logic for building tag.

* Simplify remove logic for client tags.

* Avoid record modification via mixin and use a Set for reference instead.

* Simplify TagRemovalInternals#isEntryRemove.

* Fix REMOVE_ENTRIES ThreadLocal.

* Remove unused mixin.

* Forgot to commit the removal, oops.

* Checkstyle fixes.

* Fix exceptions being thrown when adding/removing resource/data packs.

* Update pack.mcmeta.

* Fix client tag tests.

* Rename TagRemovalInternals methods.

* Move TagFile codec modification logic to TagRemovalInternals.

* Specify that tag entries may be added back in package-info.java.

* Maintain a separate list for tags when loading via TagLoader.

* Update fabric-tag-api-v1/src/main/java/net/fabricmc/fabric/mixin/tag/TagFileMixin.java

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

* Update fabric-tag-api-v1/src/testmodClient/java/net/fabricmc/fabric/test/tag/client/v1/ClientTagGameTests.java

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

* Fix tag removal references not being cleared on tag replacement.

* Update package-info.java.

---------

Co-authored-by: cputnam-a11y <chrlsvryptnm@gmail.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2026-05-14 13:11:38 +01:00
modmuss50
46a6d00c55 26.2-snapshot-7 2026-05-12 17:01:29 +01:00
Celeste
633e8f0490 Allow using Identifiers in advancement datagen (#5366)
* Allow using Identifiers for advancement datagen

Adds a `save` overload that takes an Identifier, as well as a utility method in the advancement provider to easily add existing vanilla advancements as a parent.

* Fix checkstyle

* Make injected interface class NonExtendable

* Add Javadoc comment to FabricAdvancementBuilder

* Add an example usage to createPlaceholder

* Add ApiStatus.Internal to mixin package

* Remove package info from mixin package

* Enchantment -> Advancement

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

* Make advancement builder mixin package private

* Fix weird indenting

* Use snippet javadoc

---------

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2026-05-03 14:26:43 +01:00
modmuss
11e1c9a3e4
26.2 snapshot 5 (#5364)
* 26.2-snapshot-5 runs

* Test fixes

* Gen resources

* Bump version
2026-04-28 16:42:06 +01:00
Shnupbups
034256af4a
Utilise BlockItemTagAppender (#5325)
* Utilise BlockItemTagAppender

* Whoops, fixed my fix
2026-04-15 11:07:58 +01:00
modmuss
06488ac1f1
26.2-snapshot-3 (#5317)
* Start on 26.2-snapshot-3

* Port conventional tag datagen (#5318)

* Fix some nitpicks with datagen (#5319)

* Fix some nitpicks

* whoops

* Datagen content block ids

* LevelRenderer et al Mixin fixes

* More datagen fixes (#5320)

* Fix datagen classtweaker and test

* fix checkstyle

* spotless and javadoc fixes (#5321)

* Game launches (#5322)

* Remove FabricIntrinsicHolderTagsProvider

* Fixed item api testmod (#5323)

* Build fixes

* Create LevelExtractionEvents

* Fix gametests

* Dont fail fast

* Fix Vulkan client tests

* Bump version

---------

Co-authored-by: Cassian Godsted <cassian@godsted.com>
Co-authored-by: Shnupbups <shnupbups@gmail.com>
2026-04-14 20:19:29 +01:00
modmuss
086d547a9e
26.2-snapshot-1 (#5306)
* 26.2-snapshot-1 compiles

* Mixin fixes

* More misc fixes

* Client test mixin fixes

* Run client tests with ogl

* Client test fixes

* Fix mixin

* Run client tests with vulkan and opengl

* Better mixin

* Bump version
2026-04-07 18:34:09 +01:00
modmuss
35c80edc65
General build script improvements (#5252)
* General build script improvements

* Fix?

* really fix

* Fix?
2026-03-13 15:03:19 +00:00
modmuss
d871b99e82
Port to 26.1-pre-1 (#5250)
Breaking changes:
- Mostly rewritten fluid rendering api
  - `FluidRenderHandlerRegistry` -> `FluidRenderingRegistry`
  - All fluids must now have a FluidModel registered with FluidRenderingRegistry.register
  - `FluidRenderHandler` are optional for modded fluids.
  - `FluidRenderHandler` now only has  a `tessalte` method, everything else is handled by the vanilla FluidModel
- Remove previously deprecated HudRenderCallback
- AdvancementRenderer:
  - `renderAdvancementIcon` -> `extractAdvancementIcon`
  - `renderAdvancementFrame` -> `extractAdvancementFrame`
  - `renderAdvancementBackground` -> `extractAdvancementBackground`
- HudElement `render` -> `extractRenderState`
- `RenderItemDecorationsCallback` -> `ExtractItemDecorationsCallback`
  -  `onRenderItemDecorations` -> `onExtractItemDecorations`
- ScreenEvents
  - `beforeRender` -> `beforeExtract`
  - `afterRender` -> `afterExtract`
2026-03-11 08:50:10 +00:00
modmuss
b61fef4364
26.1-snapshot-11 (#5240)
* 26.1-snapshot-11

* Fix client tests.

* Bump version
2026-03-03 18:46:03 +00:00
modmuss
a344fffc39
Fix datagen not deleting removed files (#5210)
* Fix datagen not deleting removed files

* Checkstyle
2026-02-17 15:20:26 +00:00
modmuss
e2bdee78f0
26.1-snapshot-7
* Start porting to 26.1-snapshot-7

* More fixes

* Bump version
2026-02-11 18:03:27 +00:00
modmuss
c82f046115
Mixin cleanup part 2 (#5160)
* Use local variable names for all mixin locals

* Add checkstyle rule + more fixes

* More fixes

* Renames

* Cleanup

* Prevent using name for args only locals

---------

Co-authored-by: joe <burtonjae@hotmail.co.uk>
2026-01-29 13:58:45 +00:00
modmuss50
c779aa619d 26.1-snapshot-5 2026-01-27 16:53:44 +00:00
modmuss
11a26f3131
Migrate to classtweaker (#5153)
* move to classtweaker

* interface injection via classtweaker

* More renames
2026-01-23 22:00:31 +00:00
modmuss50
1074095f3c 26.1-snapshot-4 2026-01-20 16:18:58 +00:00
ThePotatoArchivist
6757b72765
Fix vanilla bug preventing adding optional elements to tag in datagen (#5148) 2026-01-20 16:08:54 +00:00
modmuss50
9f78a5a8a3 Update Fabric Loader 2026-01-17 16:36:52 +00:00
modmuss
a208210e45
26.1-snapshot-3 (#5134)
* 26.1-snapshot-3 part 1

* More work

* Fixes

* Bump version
2026-01-13 21:59:15 +00:00
modmuss
574290ba36
Rename APIs to match Mojang's naming (#5060)
* Change include in settings.gradle from 'fabric-screen-handler-api-v1' to 'fabric-menu-api-v1'

* Rename fabric-screen-handler-api-v1 directory to fabric-menu-api-v1

* Rename fabric-screen-handler-api-v1-version to fabric-menu-api-v1-version in gradle.properties
(not sure about this one)

* Rename java packages from screenhandler to menu

* Rename some resource files and references

* Rename id, name and description in fabric.mod.json

* Rename missing directories in the test mod

* Rename id, name in the test mod fabric.mod.json, and fix the entrypoints and "depends" section

* Rename and change the rest

* networking-api-v1 renames (#5058)

* api renames, by apple502j (#5057)

* reg sync

* resource loader

* api lookup api

* biome api

* Creative Mode Tab API renames (#5059)

* creative mode tab api

Checkstyle

rename buttons

* remove provides

* small change

* rename: fabric-sound-api-v1

* item api

* Update CustomDamageTest.java

* Update settings in testmod

* api renames in serialization api v1

* block api

* fix renames

* remove TODOs

* tag api

* rename package and add todo

* lifecycle-events-v1 renames

* rename syncId to containerId

* Key Mapping API renames

* Fix mixin config

* Fix build

* Fix build again...

* renames in command-api v2

* chore: fix some issues

* Update EquipmentSlotProvider.java

* chore: fixup javadoc

* chore: update some tests’ params

* more renames

* game test

* screen api

* fabric-crash-report-info-v1

- Does not seem to need anything else renamed.

* fabric-message-api-v1 - commit.1

- ClientReceiveMessageEvents -> ClientLogChatMessageEvents

* fabric-message-api-v1 - commit.2

- Patch files previously dependent on ClientReceiveMessageEvents.

* rename rendering-fluids and transfer-api

* run spotlessApply

* where this line comes from?

* fabric-message-api-v1 - commit.3

ClientSendMessageEvents -> ClientHandleChatInputEvents

* Fix build

* fabric-message-api-v1 - commit.4

- Patched ChatListenerMixin.
- Done with client renaming.

* fabric-message-api-v1 - commit.5 - done.

- ServerMessageEvents -> ServerChatEvents
- ServerMessageDecoratorEvents -> ServerChatDecoratorEvents
- Patched Mixins.
- Patched testmod.
- Finalized renaming of fabric-message-api-v1.

* Rename game rule api

* fix import order issue

* client-gametest-api-v1 renames

* Entity Events API renames

* Events Interaction API renames

* Rename module to Creative Tab API

* content-registries-v0 renames

* renames to loot

* Mapped a bit

(Should've committed more frequently, oops)

* A bit more

* refactor!(rendering-v1): update API names

* fix: checkstyle issues

* refactor(rendering-v1)!: `AtlasSourceRegistry` -> `SpriteSourceRegistry`

* refactor(object-builder-api-v1)!: api renames

* fix: checkstyle

* refactor(rendering-v1)!: `ColorProviderRegistry` -> `BlockColorRegistry`

* refactor(particles-v1)!: api renames

* refactor(particles-v1)!: `ExtendedBlockStateParticleEffectSyncClient` -> `ExtendedBlockParticleOptionSyncClient`

* fix: checkstyle lol

* Mapped some packet-related things

* Even more packets!

* client -> minecraft

* All worlds?

(I hope Intellij didn't mess up at hierarchy renaming)

* Map the last few things

Also ran the necessary gradle tasks

* refactor(data-attachment-api-v1): api renames

* refactor(data-attachment-api-v1): s2c -> clientbound, c2s -> serverbound (the superior names)

* refactor(data-attachment-api-v1): packetCodec -> streamCodec

* fix: damn checkstyle

* Update fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/ChunkSectionLayerMap.java

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>

* refactor(rendering-v1): `BlockColorProviderRegistry` -> `ColorProviderRegistry`

* refactor(rendering-v1): `AtlasSource` -> `SpriteSource`

* refactor(rendering-v1): update names in `LevelRenderEventsTests`

* Temporary change

* S2C -> ClientBound

* Done with ModelProviderMixin (except for writer, which is a bit more complicated)

* Done with FabricAdvancementProvider, (except for writer, which is a bit more complicated)

* Rename to cachedOutput

Saw cache getting used though, so I'll change this back to cache, oopsy

* Some more cache things

* TestModClient things

* Fixed checkstyle errors?

* Improve javadoc readability

* SoundTypeBuilder done?

* Javadoc misc and registry -> holder

* Misc

* FabricCodecDataProvider renames

* FabricDynamicRegistryProvider - 1 (not done)

Maybe did something wrong. This is a quite convoluted commit.

* FabricDynamicRegistryProvider - 2 (not done)

* entries -> ressources

Is this good?

* Rename ClientBound -> Clientbound

* RegistryLookup

* registryLookup

* More of the same

* refactor(renderer-api-v1)!: api renames

* refactor(renderer-api-v1): `TextureAtlasMixinAtlas` -> `TextureAtlasMixin`

* refactor(renderer-api-v1): `blockAndTintGetter` -> `level`

* Update fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/api/renderer/v1/model/ModelStateHelper.java

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>

* Update fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/api/renderer/v1/render/FabricBlockRenderDispatcher.java

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>

* Update fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/api/renderer/v1/render/RenderLayerHelper.java

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>

* Update fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/api/renderer/v1/render/RenderLayerHelper.java

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>

* Update fabric-renderer-api-v1/src/client/java/net/fabricmc/fabric/mixin/renderer/client/block/render/BlockFeatureRendererMixin.java

Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>

* refactor(renderer-api-v1)!: `FabricBlockStateModel#particleSprite` -> `#particleIcon`

* refactor(renderer-api-v1)!: `ExtendedBlockStateModelSubmit` -> `ExtendedBlockModelSubmit`

* fix(renderer-api-v1): `#particleSprite` -> `#particleIcon`

* refactor(renderer-api-v1)!: `FabricBlockModelShaper#getModelParticleSprite` -> `#getModelParticleIcon`

* refactor(renderer-api-v1)!: `FabricBlockModelShaper#getModelParticleIcon` -> `#getParticleIcon`

* refactor(renderer-api-v1)!: missed api renames

* refactor(renderer-indigo): api renames

* refactor(renderer-indigo): missed renames

* Mapped a bit

(Should've committed more frequently, oops)

* Done with ModelProviderMixin (except for writer, which is a bit more complicated)

* Done with FabricAdvancementProvider, (except for writer, which is a bit more complicated)

* Rename to cachedOutput

Saw cache getting used though, so I'll change this back to cache, oopsy

* Some more cache things

* TestModClient things

* Fixed checkstyle errors?

* Improve javadoc readability

* SoundTypeBuilder done?

* Javadoc misc and registry -> holder

* Misc

* FabricCodecDataProvider renames

* FabricDynamicRegistryProvider - 1 (not done)

Maybe did something wrong. This is a quite convoluted commit.

* FabricDynamicRegistryProvider - 2 (not done)

* entries -> ressources

Is this good?

* RegistryLookup

* registryLookup

* More of the same

* Missed one

* Params

* Another mixin rename

Missed a comment

Revert

This time?

Rename?

Why doesn't rename the interface that's getting injected work?

Revert "Rename?"

This reverts commit 1a1b9814a92e9d3780fe1f274ad78effa9bcfa12.

* Revert "Another mixin rename"

This reverts commit 8986754371.

* I keep forgetting this one

* Data -> Pack

* Data -> Pack 2?

* Generators with an s, also block, not blockState

* Missed one

* I think I was a bit too bold with that one

* registry entry -> holder in javadoc

This one is debatable?

* Data -> Pack 3

* Interface injection please work?

* BlockLootTableGenerator -> BlockLootSubProvider

* Revert "Interface injection please work?"

This reverts commit 34febbcd0c.

* Data -> Pack 4

* Undo an oopsy

* These parameter names should go unchanged

Went through the git diff and undid some silliness manually

* Undid even more unnecessary changes

* I think I went to overboard with my undos, same bug as before

* Some more undos

* More undos

* Undos, also, accidentally based this branch on the wrong branch

* Undos

* I could at least change the javadoc..

* yep, undid this one too

* refactor(model-loading-api-v1)!: api renames

* Now only one thing is left

* oops, forgot mcdev

* Fix

* World -> Level

* tickCounter -> deltaTracker

* drawContext -> graphics

* Go through vibecoded script output

* Interface injections and spotless

* Text -> component

* Fix mixin config

* Rename screenshot template

* Address review

* Revert rename of PlayerInventoryStorage

* Checkstyle fixes

* Name adjustments

* CHUNK_STATUS_CHANGE -> FULL_CHUNK_STATUS_CHANGE

* ClientCommandsRegistrationCallback -> ClientCommandRegistrationCallback
getCreativeModeTabsOnPage -> getTabsOnPage
getSelectedCreativeModeTab -> getSelectedTab
setSelectedCreativeModeTab -> setSelectedTab

* Remove some old package regex hacks

* Update fabric-command-api-v2/src/client/java/net/fabricmc/fabric/api/client/command/v2/ClientCommands.java

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

* rename access to buildContext in sound api-v1 testmod

* Renames for FULL_CHUNK_STATUS_CHANGE

* Update fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/package-info.java

Co-authored-by: D. Firmansyah <deirn@bai.lol>

* Update fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/item/ContainerStorageImpl.java

Co-authored-by: D. Firmansyah <deirn@bai.lol>

* Update fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/impl/transfer/item/ContainerStorageImpl.java

Co-authored-by: D. Firmansyah <deirn@bai.lol>

* Further rename Creative Tab API

* Name tweaks

* Use DataComponentHolder and TypedInstance for TransferVariant's

* HOLDER_LOOKUP_KEY -> REGISTRY_LOOKUP_KEY

* accept -> insert

---------

Co-authored-by: tenneb22 <126985099+Tenneb22@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
Co-authored-by: Cassian Godsted <cassian@godsted.com>
Co-authored-by: Toffikk <slodkitofik@gmail.com>
Co-authored-by: coredex-source <samdhi2323@gmail.com>
Co-authored-by: Dimas Firmansyah <deirn@bai.lol>
Co-authored-by: CrypticVerse <crypticversemc@gmail.com>
Co-authored-by: Kilip1000 <206253641+Kilip1000@users.noreply.github.com>
Co-authored-by: sylv256 <contact@sylv.gay>
Co-authored-by: Coredex <73810221+coredex-source@users.noreply.github.com>
Co-authored-by: Kilip1000 <kilian.lennard.pro@gmail.com>
Co-authored-by: Sylv <github.9ehj1@sylv.gay>
Co-authored-by: PepperCode1 <44146161+PepperCode1@users.noreply.github.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Dennis Ochulor <dennisnwanevu@gmail.com>
2025-12-31 12:00:16 +00:00
skycatminepokie
67ce3cfac8 Allow subclasses of lang provider to change output path (#5069)
* Allow subclasses of lang providers to change output path

* Add javadoc

* Add [@]param note

* Checkstyle fix

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit 69974c4edd)
2025-12-21 15:41:59 +00:00
PepperCode1
3e7aa8de44 Fix javadoc errors resulting from the migration to official names 2025-12-17 14:13:04 -08:00
modmuss
9c919daca4
Port to: 26.1-snapshot-1 (#5050)
* 26.1-snapshot-1 Gradle setup

* Fixes (part 1)

* Fixes (part 2)

* Fixes, compiles doesnt run

* Update loader

* Some lambda fixes

* Many mixin fixes

* Simple mixin fixes

* More fixes

* Gamerule mixin fixes

* Work around likely vanilla bug breaking loot table tag loading.

* Build fixes

* Remove old deprecated modules

* Port rendering to 26.1

* Remove backwards compat tags

* Bump version
2025-12-17 13:11:12 +00:00
modmuss50
e29e459ce4 Update Fabric Loader to 0.18.2 2025-12-16 12:54:49 +00:00
modmuss50
1e8c8b2e20 Merge remote-tracking branch 'origin/1.21.11' into 1.21.11_unobfuscated
# Conflicts:
#	fabric-item-api-v1/src/main/resources/fabric.mod.json
#	gradle.properties
2025-12-16 12:52:14 +00:00
pistonpoek
ae10562897
Update sounds.json data generation to match vanilla (#5030)
* Update sound type builder

Extend the sound type builder with the missing replace value that is accepted by the vanilla SoundEventRegistrationSerializer.

* Update SoundTypeBuilder.java

Add API note to clarify the existence of the category field.

* Update SoundTypeBuilderImpl.java

Add codec validation to the sound class record.
Add additional documentation comments making the goal of data generation explicit.

* Deprecate category field

Remove the category field of the sound event registration class to be added in data generation, as it is not interpreted by vanilla in the sounds file.

* Add sounds type tests

Update codec to match validation with entry builder.
Add test class for sound type builder to ensure sound types are build correctly.
Add test class for sound type codec to ensure sound types generate and are interpreted to sound event registration classes as expected.

* Update SoundTypeBuilder.java

Clarify deprecated behavior of category method.

* Update SoundsTypeBuilderTest.java

Update param doc to conform to yarn conventions

* Update SoundTypeBuilder.java

Remove see tag that might be more distracting than helpful

* Update SoundTypeBuilderImpl.java

Remove unused imports.
Remove space indentation.

* Add licences

Apply Spotless to add licenses.

* Fix check issues

Fix package name of sounds test.
Replace hard coded value checks with the already existing default variables.

* Update SoundTypeBuilder

Add default implementation to deprecated method, so implementation does not need to use it anymore.

* Update SoundTypeBuilder.java

Add for removal to category property method.
2025-12-11 18:11:20 +00:00
modmuss50
81748cc881 Merge remote-tracking branch 'origin/1.21.11' into 1.21.11_unobfuscated
# Conflicts:
#	build.gradle
#	fabric-client-gametest-api-v1/src/client/resources/fabric.mod.json
#	fabric-gametest-api-v1/src/main/resources/fabric.mod.json
#	fabric-resource-loader-v0/build.gradle
#	fabric-resource-loader-v0/src/main/resources/fabric-resource-loader-v0.accesswidener
#	gradle.properties
2025-12-06 21:49:35 +00:00
Liam Broome
1d9b5c35f7
Add RecipeOutputMixin to support FabricRecipeExporter (#5008) 2025-11-23 14:21:22 +00:00
modmuss50
1fb1cde937 1.21.11-pre1 2025-11-19 11:51:28 +00:00
Luracasmus
4ebb5c089d
Visually losslessly optimize compression of PNG resources (#4989)
using oxipng 9.1.5 with `-Z -o max --fast --nc -a`
2025-11-16 13:38:39 +00:00
modmuss50
be66d255e0 Gen resources 2025-11-12 13:10:16 +00:00
modmuss
36a5116592
Port to 25w45a_unobfuscated (#4990)
* Try to build with debof loom

* Remap AWs

* Game runs

* Update loom again

* Fix local build

* Update loom

* Remove prod run tasks

* AW generation fixes

* Devlibs no more

* Update loom fix res-loader testmod

* disable curseforge + modrinth publishing
2025-11-10 14:53:23 +00:00
modmuss
129f1f4c4e
Migrate to Mojang mappings (#4960)
* Auto migrate source

* Auto migrate access wideners

* Loom 1.13

* Build with mojmap

* Spotless

* Manual compile fixes

* Remapper TODO fixes

* first changes (#4961)

* Remap Entity Events (#4963)

* fabric-lifecycle-events-v1 (#4964)

* Remap Data Attachments (#4965)

* MixinAuditTest passes (#4966)

* fabric-client-gametest-api-v1 (#4967)

* Fix a bunch of invalid injector method signatures (#4968)

* rendering/api/ingido/model loader fixes (#4969)

* Fix unresolved mixin annotation target (#4970)

* small partibel api fix (#4971)

* Fix rendering testmod (#4972)

* Fix BakedModelManagerMixin

* runClientGameTest works (#4974)

* Restore AW comments and start on generated AW fixes

* Fix + run resource generation

* Disable mixin name validation + checkstyle fixes

* Remap Javadocs (#4975)

* Javadoc links

* Additional Javadocs

* A bunch of mixin fixes (#4976)

* Remap more Javadocs (#4978)

* Remap more Javadocs

* More Javadocs

* Yet more javadocs

* Remapping more Javadocs

* Further renames

* Neverending Javadocs

* Remapping continues until the end of time

* Remapping will continue until morale improves

* Mojang Mappings for Javadocs

* fix checkstyle

* Rename mixin classes to match new target names.

* Fix filename casing.

---------

Co-authored-by: Drex <nicknamedrex@gmail.com>
Co-authored-by: Cassian Godsted <cassian@godsted.com>
Co-authored-by: JumperOnJava <59884606+JumperOnJava@users.noreply.github.com>
2025-11-05 17:55:15 +00:00
modmuss
bf3e27ea4e
Apply @Nullmarked annotation to all packages (#4950) 2025-10-28 22:09:25 +00:00
modmuss
bedab31e5a
Migrate to jspecify nullable annotation (#4951) 2025-10-28 22:09:18 +00:00
modmuss50
35c69dd4cd 25w43a 2025-10-21 18:43:46 +01:00
modmuss
1af5c5a76a
Remove all @NotNull annotations (#4924)
* Remove all @NotNull annotations

* Missed one
2025-10-14 18:27:34 +01:00
modmuss
f6b7d89161
Add a checkstyle rule for nested code blocks (#4925) 2025-10-14 18:22:54 +01:00
haykam821
bf431ac939
Update to Minecraft snapshot 25w42a (#4930) 2025-10-14 18:22:02 +01:00
modmuss50
65ffd040c2 25w41a 2025-10-09 18:07:20 +01:00
PepperCode1
d8b85ef105 Fix Datagen API's FMJ and build.gradle not correctly declaring dependencies (#4861)
(cherry picked from commit 2e1c6d3247)
2025-09-22 19:00:01 +01:00
apple502j
14b92d89d1
1.21.9 porting fixes (#4872)
* Handle shelf in transfer API

* Fix javadoc

* [Breaking] pass damage source in AfterKilledOtherEntity

* [Breaking] Remove NbtType#NUMBER
2025-09-22 18:44:31 +01:00
apple502j
9bce411b63
1.21.9-pre2 port (#4869)
* port to 1.21.9-pre2

* Fix typos

* Porting fixes

* Finish port.

* Bump version

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2025-09-19 20:33:48 +01:00