-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename ToolActions to ItemAbilities #1148
Rename ToolActions to ItemAbilities #1148
Conversation
Last commit published: cac68a1318c150ce26ecd8ec425943d0b0896bc2. PR PublishingThe artifacts published by this PR:
Repository DeclarationIn order to use the artifacts published by the PR, add the following repository to your buildscript: repositories {
maven {
name 'Maven for PR #1148' // https://github.com/neoforged/NeoForge/pull/1148
url 'https://prmaven.neoforged.net/NeoForge/pr1148'
content {
includeModule('net.neoforged', 'neoforge')
includeModule('net.neoforged', 'testframework')
}
}
} MDK installationIn order to setup a MDK using the latest PR version, run the following commands in a terminal. mkdir NeoForge-pr1148
cd NeoForge-pr1148
curl -L https://prmaven.neoforged.net/NeoForge/pr1148/net/neoforged/neoforge/21.0.47-beta-pr-1148-ToolActionRename/mdk-pr1148.zip -o mdk.zip
jar xf mdk.zip
rm mdk.zip || del mdk.zip To test a production environment, you can download the installer from here. |
@TelepathicGrunt, this PR introduces breaking changes. Compatibility checks
|
patches/net/minecraft/world/level/block/TripWireBlock.java.patch
Outdated
Show resolved
Hide resolved
Yo neo modders, do we want to add namespaces to these ItemAbilities (ToolActions) strings? So |
Then it also applies to the |
Me and the other maintainers talked some more and decided it may be best to not namespace. The existing ItemAbilities in Neo would’ve gotten the neo namespace which would make modders not realize they should use c or some other namespace for common ItemAbilities. So it’ll lead to most modders using neo namespace and at that point, there’s just no need for namespaces. We aren’t seeing much benefit to namespacing that outweighs the confusion over what namespace to use when Convo: https://discord.com/channels/313125603924639766/1154167065519861831/1254934108610756740 (Note, maintainer's decisions could change in more discussions back to namespaces. May still be on-going) |
Co-authored-by: Matyrobbrt <[email protected]>
The goal is that ToolActions looks like it is only for tools that do some sort of actions. But that is not what this API actually is. The API is basically a marker to signal your item for any sort of itemstack sensitive check easily. Even between mods without any compile dependency.
After asking people for some names, ItemAbilities came up multiple times independently. This means this name is the most intuitive one that people keep thinking of when describing ToolActions to them.
Closes #1032