Skip to content

Commit

Permalink
Update news with ItemAbilities rename (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
TelepathicGrunt committed Jun 26, 2024
1 parent d75b776 commit 7a05306
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/news/21.0release.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ The patched-in `canSustainPlant` method allows blocks to forcibly sustain many p

And the `SpecialPlantable` block tag now lets Farmer Villagers detect and plant on modded blocks more easier. This can also be used by mods to know if a modded block is farmland-like.

## ToolActions renamed to ItemAbilities (renamed in NeoForge 21.0.40-beta)
To help promote the usage of our `ToolActions` system, it has been renamed to `ItemAbilities` to help show that it can be used for more than just tools and more than just representing actions. This system is a special alternative to tags for when mods need to do itemstack sensitive checks where an item can be in many different states and have different abilities. It is a good for cross-mod compatibility that is itemstack sensitive without needing to add compile-time dependencies. The NeoForge provided ItemAbilities for vanilla tools are still in place such as `shears_dig` to verify the itemstack used is supposed to allow shearing for modded stuff.

## Experimental Gradle Plugin
We're currently developing a new experimental Gradle Plugin, focused on simpler buildscripts and improved caching. You can find information on its usage [here](https://github.com/NeoForged/ModDevGradle), and support is provided in the [thread](https://discord.com/channels/313125603924639766/1239579489617580072) on our [Discord server](https://discord.neoforged.net).

Expand Down

0 comments on commit 7a05306

Please sign in to comment.