## Additions:
- Adds cosmetic behaviour for items:
- Cosmetics and armor can be swapped/equipped like any other item
- Cosmetics on the chest equipment slot get added as virtual item display riding the player
- Chest cosmetics support animated blockbench models
- Example cosmetic behaviour for animated chest slot swag:
```
"cosmetic": {
"slot": "chest",
"model": "mynamespace:wings",
"autoplay": "animation"
}
```
- Added `sound` property to `shoot` item behaviour when the item is used
- The `trap` behaviour now has properties:
- `chance`, a percentage as interger between 0 and 100 with a default of 50%
- `requiredEffects`, a list of status effects, example:
```
"trap": {
"types": ["minecraft:allay"],
"useDuration": 120,
"requiredEffects": ["minecraft:weakness"],
"chance": 75
}
```
- Adds /hat command
- Adds permission checks for commands, for luckperms and friends:
```
filament.command.dye
filament.command.hat
filament.command.pick
```
## Fixes:
- Fixes Trap items not working properly
- Fixes Shooting items incorrectly shooting the whole itemstack
- `projectile` property of `shoot` item behaviour is now used as projectile
- Other minor data component related fixes
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" }