Features:
- Added data component 'silk-api:adjust_fov_while_hold'
- Added data component 'silk-api:adjust_fov_while_use'
- Added data component 'silk-api:modify_move_while_hold'
- Added data component 'silk-api:modify_move_while_use'
- Added data component 'silk-api:projectile_container'
- Added data component 'silk-api:shoot_projectiles'
- Added data component 'silk-api:ranged_weapon'
- Added data component 'silk-api:inherent_status_effects'
- Added data component 'silk-api:custom_entity_hurt'
- Added data component 'silk-api:enchantment_traits'
Change:
- Updated Armor interface to ArmorHelper and optimized its methods.
- Updated Tool interface to ToolHelper and optimized its methods.
- Optimized the implementation of ranged weapon items to make them easier to write.
- Renamed Bow class to BowLikeItem.
- Renamed CrossBow class to CrossbowLikeItem.
- Removed the three ranged weapon expansion interfaces: RangedExpansion, BowExpansion, and CrossbowExpansion.
- Removed the item property system and replaced it with the new item array component.
Fixes:
- Fixed the crash issue when enabling experimental content or data packs during world creation.
1.0.3---2024/10/19
Change:
- Changed the message for when the changelog cannot be read to "Changelog does not exist!".
Fixes:
- Fixed an issue where the mod's built-in resource pack could not correctly read or override resources.
- Removed the mistakenly included built-in resource pack for silk-generate.
1.0.1---2024/10/06
Fixes:
- Fixed the issue where the world upgrader thread was continuously blocked when creating the first world.
- Fixed the issue where the API could not access the source code in night-config:core.
- Fixed the issue where the API built-in resource pack was missing and not compiled into the Jar release file.
- Fixed the issue where the API could not correctly read Minecraft code files in the user's environment.
If you would like to support the Silk API, please consider contributing to our Patreon or 爱发电!
Fixes:
- Logic
- Fixed an issue in ChunkStorageData where getBiome() returning null would cause the game to crash.
- Client
- Fixed an issue in versions 1.20 to 1.20.1 where screens related to world upgrades were lacking backgrounds.
- Fixed an issue where world loading requiring an upgrade would crash in versions 1.20 to 1.20.1.
- Fixed an issue where all world generators in a mod shared the same name.
- Fixed an issue where world upgrades would occasionally use other world generator upgrade methods.