增加弹弓对燧石的支持#2
Merged
Wang-Xiao-Jing merged 1 commit intoCTNStudio:其他from Dec 16, 2025
Hidden character warning
The head ref may contain hidden characters: "\u5176\u4ed6"
Merged
Conversation
SpikeXiong
commented
Dec 15, 2025
- 燧石增加StoneNugget Tag以支持弹弓发射
- 修改AbsStoneNuggetProjectile类以支持原版物品
- AbsStoneNuggetProjectile水漂逻辑作为一个可选开关
- 增加FlintProjectile为燧石发射逻辑, 发射后会尝试点燃方块,包括 TNT 营火 蜡烛 蛋糕蜡烛,点燃成功后会发射粒子效果和打火石音效
- 提取StoneNuggetItem中的基本属性 damage weight gravity 为数据类,以便原版物品复用
- 弹弓弹射物增加工厂模式生成弹射物 ProjectileFactoryRegistry.java
- 优化mod初始化代码 StoneCraft.java
2. 修改AbsStoneNuggetProjectile类以支持原版物品 3. AbsStoneNuggetProjectile水漂逻辑作为一个可选开关 4. 增加FlintProjectile为燧石发射逻辑, 发射后会尝试点燃方块,包括 TNT 营火 蜡烛 蛋糕蜡烛,点燃成功后会发射粒子效果和打火石音效 5. 提取StoneNuggetItem中的基本属性 damage weight gravity 为数据类,以便原版物品复用 6. 弹弓弹射物增加工厂模式生成弹射物 ProjectileFactoryRegistry.java 7. 优化mod初始化代码 StoneCraft.java (cherry picked from commit 93eb989)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.