* 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>
* 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>
* 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
* 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>
* 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>
* 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.