2019-04-24 00:46:23 +02:00
|
|
|
pluginManagement {
|
|
|
|
|
repositories {
|
|
|
|
|
maven {
|
|
|
|
|
name = 'Fabric'
|
|
|
|
|
url = 'https://maven.fabricmc.net/'
|
|
|
|
|
}
|
2024-08-11 14:51:54 +01:00
|
|
|
gradlePluginPortal()
|
2019-04-24 00:46:23 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-24 19:15:08 +02:00
|
|
|
rootProject.name = "fabric-api"
|
|
|
|
|
|
2024-01-11 08:45:18 -07:00
|
|
|
include 'fabric-api-bom'
|
|
|
|
|
include 'fabric-api-catalog'
|
|
|
|
|
|
2024-10-11 15:18:38 +01:00
|
|
|
def focus = new File('focus.txt')
|
|
|
|
|
|
|
|
|
|
if (focus.exists()) {
|
|
|
|
|
focus.eachLine {
|
|
|
|
|
include it
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return // Skip the rest of the includes
|
|
|
|
|
}
|
|
|
|
|
|
2019-05-11 23:48:33 +02:00
|
|
|
include 'fabric-api-base'
|
|
|
|
|
|
2021-03-08 21:32:36 +01:00
|
|
|
include 'fabric-api-lookup-api-v1'
|
2022-02-21 11:58:35 +00:00
|
|
|
include 'fabric-biome-api-v1'
|
2022-11-07 19:29:51 +01:00
|
|
|
include 'fabric-block-api-v1'
|
2026-01-17 02:19:56 -08:00
|
|
|
include 'fabric-block-getter-api-v2'
|
2024-12-16 11:32:46 +00:00
|
|
|
include 'fabric-client-gametest-api-v1'
|
2022-05-20 17:39:10 +00:00
|
|
|
include 'fabric-command-api-v2'
|
2019-05-11 23:48:33 +02:00
|
|
|
include 'fabric-content-registries-v0'
|
2024-04-16 13:01:57 -04:00
|
|
|
include 'fabric-convention-tags-v2'
|
2019-05-11 23:48:33 +02:00
|
|
|
include 'fabric-crash-report-info-v1'
|
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 89867543715ad91a9bf3d88d66d665523d8565ec.
* 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 34febbcd0c471fcf0931fa7726fd2a3d03053dd2.
* 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
|
|
|
include 'fabric-creative-tab-api-v1'
|
2024-01-19 11:14:33 +00:00
|
|
|
include 'fabric-data-attachment-api-v1'
|
2021-12-03 13:35:29 +00:00
|
|
|
include 'fabric-data-generation-api-v1'
|
2026-01-29 08:57:43 -05:00
|
|
|
include 'fabric-debug-api-v1'
|
2020-11-28 13:47:10 -06:00
|
|
|
include 'fabric-dimensions-v1'
|
2020-12-30 10:43:22 -06:00
|
|
|
include 'fabric-entity-events-v1'
|
2019-05-11 23:48:33 +02:00
|
|
|
include 'fabric-events-interaction-v0'
|
2025-11-04 03:12:32 -08:00
|
|
|
include 'fabric-game-rule-api-v1'
|
2025-01-21 18:50:26 +00:00
|
|
|
include 'fabric-gametest-api-v1'
|
2020-06-25 14:28:21 -07:00
|
|
|
include 'fabric-item-api-v1'
|
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 89867543715ad91a9bf3d88d66d665523d8565ec.
* 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 34febbcd0c471fcf0931fa7726fd2a3d03053dd2.
* 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
|
|
|
include 'fabric-key-mapping-api-v1'
|
2020-06-25 14:28:21 -07:00
|
|
|
include 'fabric-lifecycle-events-v1'
|
2024-07-07 13:52:31 +01:00
|
|
|
include 'fabric-loot-api-v3'
|
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 89867543715ad91a9bf3d88d66d665523d8565ec.
* 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 34febbcd0c471fcf0931fa7726fd2a3d03053dd2.
* 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
|
|
|
include 'fabric-menu-api-v1'
|
2022-06-03 00:00:15 +09:00
|
|
|
include 'fabric-message-api-v1'
|
2026-06-10 12:31:23 +02:00
|
|
|
include 'fabric-model-loading-api-v1'
|
Fabric Networking API V1 (#1081)
* Networking api v1
Some final docs?
Licenses and testmod
Fix a bunch o imports and make things work for v1 (v0 is bork)
Make the testmod pass checkstyle and work
Docs for v1
* Deprecate v0 and implement using v1
* Drop files down one package due to package check error
* Fix issue with channel registration, add another testmod
* jaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaavadoc
* Make javadoc use `code`, move impl interface to package access
* this things
* Rename a few internal methods
* Mark all client side stuff client only, move client mixins
* Add null checks around the place, clarify some javadoc and method names
* Make FutureListeners uninstantiable
* Some internal nullable annotations
* An impl class I forgot to rename
* Some comments and clarify some client login handler javadoc
* Add a missing FunctionalInterface annotation
* Split play and login, move client stuff to right package
* No interface left behind
* Inline channel registries in api
* Login and play subpackages not needed
* Add helper method to create play custom packets
* hasGlobalChannel -> hasGlobalReceiver
* Just rename the collection method for now
* Inline PlayPacketSender into static methods
* Start on testmod idea for verifying dynamic registration
* Add client login events
* You don't say hello when talking to yourself.
Also more testmod stuff
* Make event names present tense
* Some javadoc and impl interface rename
* Change the test keybinding
* Begin working on dynamic reg
* Dynamic reg works, just need a lot of cleanup and reimpling global
* A few renames, readd global methods
* Try to reduce the amount of duplicate registration logic
* Reimplement dynamic accessors
* More impl
* Start reimplementing global receivers. Still very hacky solution.
* Reimplement some server global reciever stuff
* Add login init event for server login.
* Implement client login query start event
* Move event invocations into addon, don't dual register global recievers
* Finally reimplement global recievers for all networking phases
* A revelation: Send packets properly
This also finds the issue with screen getting the proper S2C channels, current on TODO list.
* Disconnect event does not need a packet sender
* Clarify, add methods to get channels net handler can recieve on client
* Unregister actually works now
* Bunch of null checks, add simpler login delay test for vanilla clients
* Add some debug logging entries, fix unregister on client's session reg
* Play channel event javadoc and rename login query handlers
* More channel -> channelName
* thisening
* Introduce the basics infrastructure for tracking global receivers
* Add more substantial javadoc to login connection events
* Javadoc, reimplement unreg methods on v0, 1 impl fix
* Implement tracking for global recievers
* Dont forget to start tracked sessions in 3/4 cases
* Global receiver docs and move methods in classes
* Complete null checks
* big boi javadoc part 1
* Finish the main javadoc, usage javadoc is left
* Set so has method is not needed
* Rename receiveable and sendable methods
* Add the two missing private ctors
* buildscript update to upstream
* Split out player finding stuff to networking player tracking API v1
Signed-off-by: liach <liach@users.noreply.github.com>
Forward v0 PlayerStream to new module, add entity track events
Rename module to player tracking
Well javadoc can make sense
Decide on tracking for the name
Update fabric-player-tracking-api-v1/src/main/java/net/fabricmc/fabric/api/networking/player/tracking/v1/package-info.java
Co-authored-by: Erlend Åmdal <erlend@aamdal.com>
Remove exceptions from javadoc that are not thrown
javadoc fix again
Handle a case where the player manager happens to be null
rename player tracking to player lookup
Yeet
* Cherrypick #1092
* Remove some redundant client networking methods, rename `(un)register` to `(un)registerReceiver`
* Simplify access to dynamic reg on client
* Param shifting, let users get sender.
* Warning about time and distance units
* Make sure these are client only
* Fix control flow in ClientPlayNetworking#send
* Correct example code javadoc
* javadoc correction in server login
* Put login delay tests behind system property
Also remove unnecessary junk added by old module that was merged together.
* Fix ordering so channel registrations during `PHASE`_INIT work
* Fix prod bug and an oversight
* Fix login when connecting to dedicated server
* Update registry sync to v0 to prevent issue with reg sync hanging client
* this is done
2020-12-05 13:06:42 -06:00
|
|
|
include 'fabric-networking-api-v1'
|
2020-04-29 21:48:08 +00:00
|
|
|
include 'fabric-object-builder-api-v1'
|
2025-09-11 10:40:25 +01:00
|
|
|
include 'fabric-particles-v1'
|
Implement Fabric Permission API (#5226)
* Create Fabric Permission API
* Improve javadocs, move from interface to a final class, safer CommandSourceStack type / uuid detection
* Async permission check utility methods, mention possible slowness of offline player checks, make keys support serialization.
* Provide better support for async permission checks on provider side
* Fix async check (oops)
* Wrap permission key and codec into a single object, swap from tristate to boolean codec
* Write package-info, test key serialization
* Intern keys, don't use supply async
* Fix interner being initialized too late
* a
* Mark as experimental
* Drop serializable context keys for now
* Rework how permissions are resolved, remove async methods, add server key
* Checkstyle fix
* Fix not being marked as experimental in fabric.mod.json
* Add a callback for context modification
* Revert accidental DefaultItemComponentEvents changes
* Drop interner, javadoc fixes
* Add cast method to PermissionNode, require defining validators for ofCustom permission type
* Checkstyle fixes
---------
Co-authored-by: modmuss <modmuss50@gmail.com>
2026-05-14 12:51:05 +01:00
|
|
|
include 'fabric-permission-api-v1'
|
2023-01-05 13:49:19 +01:00
|
|
|
include 'fabric-recipe-api-v1'
|
2019-05-11 23:48:33 +02:00
|
|
|
include 'fabric-registry-sync-v0'
|
2026-06-10 12:31:23 +02:00
|
|
|
include 'fabric-renderer-api-v1'
|
|
|
|
|
include 'fabric-renderer-indigo'
|
2019-05-17 23:24:37 +02:00
|
|
|
include 'fabric-rendering-fluids-v1'
|
2023-09-03 13:06:21 +01:00
|
|
|
include 'fabric-rendering-v1'
|
2022-01-14 16:08:18 +01:00
|
|
|
include 'fabric-resource-conditions-api-v1'
|
2025-09-20 13:54:47 +02:00
|
|
|
include 'fabric-resource-loader-v1'
|
2021-01-25 12:17:17 -06:00
|
|
|
include 'fabric-screen-api-v1'
|
2025-08-17 12:58:07 +01:00
|
|
|
include 'fabric-serialization-api-v1'
|
2022-10-16 15:09:44 +01:00
|
|
|
include 'fabric-sound-api-v1'
|
2024-12-12 16:16:55 +00:00
|
|
|
include 'fabric-tag-api-v1'
|
2024-03-01 17:46:49 +00:00
|
|
|
include 'fabric-transfer-api-v1'
|
2022-03-13 15:52:38 +02:00
|
|
|
include 'fabric-transitive-access-wideners-v1'
|
2022-05-01 15:44:16 +01:00
|
|
|
include 'deprecated'
|
2025-11-28 13:41:24 +01:00
|
|
|
include 'deprecated:fabric-resource-loader-v0'
|