# 14.1.0
- Fix an error when writing data to the config file
- Remove unnecessary `OR` statements from the default config
- Allow eliding `type=<enchantment|item>` in `tools` list, offhand selectors, and `enchantments` definitions
- Fix usage of neoforge-replaced way of getting item enchantments
- Add a default target for ores
- By default, prefers pickaxes with fortune over those with silk touch, unless the player is crouching,
in which case the opposite occurs with silk touch being preferred.
- Ported Fabric API's "Client Tags" module to Neoforge
- Now conventional tags (eg `c:ores`) will work when connecting to a vanilla server from a Neoforge client
- Fix Neoforge update url
- Add `Player` data type, mostly to support things like the mace
- Usable in any `IdSelector` (anywhere you can have a `data` entry)
- Supports the same sort of value comparison as Enchantment Levels
- Example
```hocon
target {
type=BLOCK
id="obsidian"
data {
player {
isCrouching = true
distance {
GREATER = 2
}
}
}
}
```
- Currently Available Entries
| Type | Description | Type |
|---------------|--------------------------------------------------|----------------|
| isFlying | If the player is flying | Boolean |
| isCrouching | If the player is crouching | Boolean |
| isPassenger | If the player is riding something | Boolean |
| isOnGround | If the player is on the ground | Boolean |
| isSprinting | If the player is sprinting | Boolean |
| distance | The distance between the player and target | Number |
| fallDistance | The distance the player has fallen | Number |
| hasItem | If the player has the given item | ExpressionTree |
| hasHotbarItem | If the player has the given item on their hotbar | ExpressionTree |
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }