Leaf Decay Instant

受够了砍树后悬浮在空中的树叶?Leaf Decay Instant 会立即移除它们——再也不会有难看的树叶团块飘浮在空中。
功能
- 即时腐烂 — 树叶在与原木失去连接的瞬间消失
- 连锁腐烂模式 — 观看树叶从树干向外以令人满足的波浪状层层掉落
- 额外掉落 — 可配置的树苗、木棍和苹果额外掉落几率
- 声音多样性 — 多种破坏音效,支持配置几率和音调
- 粒子选项 — 可选择树叶纹理、堆肥桶或快乐村民粒子效果
- 游戏内指令 — 通过
/leafdecay set <option> <value> 随时更改任何设置
- 性能友好 — 使用 Minecraft 原生的刻系统,开销极小
- 高度可配置 — 20+ 个选项可根据你的喜好调整模组
- 模组兼容 — 适用于任何扩展基础
LeavesBlock 的模组
- 服务端运行 — 客户端无需安装该模组
指令
注意: 指令需要 OP 等级 2。在多人服务器中,请使用 LuckPerms 将 /leafdecay 限制为工作人员使用。
/leafdecay reload
/leafdecay set <option> <value>
示例:
/leafdecay set chainDecay true
/leafdecay set chainDelay 3
/leafdecay set soundChance 0.5
/leafdecay set particleType composter
/leafdecay set extraSaplingChance 2.0
/leafdecay reload
配置
配置文件会在首次启动时生成于 config/instant_leaf_decay.json。
核心
| 选项 |
类型 |
默认值 |
描述 |
enabled |
bool |
true |
总开关 |
decayTicks |
int |
2 |
树叶腐烂前等待的刻数 |
粒子
| 选项 |
类型 |
默认值 |
描述 |
particles |
bool |
true |
启用粒子效果 |
particleCount |
int |
8 |
每次腐烂产生的粒子数量 |
particleType |
string |
"block" |
"block"(方块)、"composter"(堆肥桶)或 "happy"(快乐村民) |
声音
| 选项 |
类型 |
默认值 |
描述 |
sound |
bool |
true |
启用音效 |
soundVolume |
float |
0.8 |
音量 (0.0 – 1.0) |
soundPitchMin |
float |
1.0 |
最小音调 |
soundPitchMax |
float |
1.2 |
最大音调 |
soundChance |
float |
0.3 |
每片树叶播放声音的几率 |
支持的音效 ID:
minecraft:block.grass.break, minecraft:block.azalea_leaves.break, minecraft:block.moss.break, minecraft:block.azalea.break, minecraft:block.flowering_azalea.break, minecraft:block.cherry_leaves.break, minecraft:block.sweet_berry_bush.break
连锁腐烂
| 选项 |
类型 |
默认值 |
描述 |
chainDecay |
bool |
false |
启用级联波浪式腐烂 |
chainDelay |
int |
2 |
扩散因子(数值越高 = 波浪越慢) |
额外掉落
| 选项 |
类型 |
默认值 |
描述 |
extraSaplingChance |
float |
0.0 |
树苗额外掉落倍率 |
extraStickChance |
float |
0.0 |
木棍额外掉落倍率 |
extraAppleChance |
float |
0.0 |
苹果额外掉落(仅限橡树/深色橡木) |
过滤器
| 选项 |
类型 |
默认值 |
描述 |
blacklistedLeaves |
list |
[] |
排除的方块 ID 列表 |
disabledDimensions |
list |
[] |
禁用的维度 ID 列表 |
性能
| 选项 |
类型 |
默认值 |
描述 |
requirePlayerNearby |
bool |
false |
仅在有玩家附近时进行腐烂 |
playerRadius |
float |
64.0 |
玩家检测半径 |
许可证
MIT — 可免费使用、修改并包含在整合包中。无需申请许可。
Leaf Decay Instant

Tired of floating leaves after cutting down a tree? Leaf Decay Instant removes them immediately — no more ugly leaf blobs hovering in the sky.
Features
- Instant decay — leaves disappear the moment they lose connection to a log
- Chain decay mode — watch leaves cascade in a satisfying wave from the trunk outwards
- Extra drops — configurable bonus chance for saplings, sticks, and apples
- Sound variety — multiple break sounds with configurable chance and pitch
- Particle options — choose between leaf texture, composter, or happy villager particles
- In-game commands — change any setting at runtime with
/leafdecay set <option> <value>
- Performance friendly — uses Minecraft's native tick system, minimal overhead
- Highly configurable — 20+ options to tune the mod to your taste
- Mod compatible — works with any mod that extends the base
LeavesBlock
- Server-side — clients don't need the mod installed
Commands
Note: Commands require OP level 2. On multiplayer servers, use LuckPerms to restrict /leafdecay to staff.
/leafdecay reload
/leafdecay set <option> <value>
Examples:
/leafdecay set chainDecay true
/leafdecay set chainDelay 3
/leafdecay set soundChance 0.5
/leafdecay set particleType composter
/leafdecay set extraSaplingChance 2.0
/leafdecay reload
Configuration
Config file is created on first launch at config/instant_leaf_decay.json.
Core
| Option |
Type |
Default |
Description |
enabled |
bool |
true |
Master toggle |
decayTicks |
int |
2 |
Ticks to wait before leaves decay |
Particles
| Option |
Type |
Default |
Description |
particles |
bool |
true |
Enable particle effects |
particleCount |
int |
8 |
Number of particles per decay |
particleType |
string |
"block" |
"block", "composter", or "happy" |
Sound
| Option |
Type |
Default |
Description |
sound |
bool |
true |
Enable sound effects |
soundVolume |
float |
0.8 |
Volume (0.0 – 1.0) |
soundPitchMin |
float |
1.0 |
Minimum pitch |
soundPitchMax |
float |
1.2 |
Maximum pitch |
soundChance |
float |
0.3 |
Chance per leaf to play sound |
Supported sound IDs:
minecraft:block.grass.break, minecraft:block.azalea_leaves.break, minecraft:block.moss.break, minecraft:block.azalea.break, minecraft:block.flowering_azalea.break, minecraft:block.cherry_leaves.break, minecraft:block.sweet_berry_bush.break
Chain Decay
| Option |
Type |
Default |
Description |
chainDecay |
bool |
false |
Enable cascading wave decay |
chainDelay |
int |
2 |
Spread factor (higher = slower wave) |
Extra Drops
| Option |
Type |
Default |
Description |
extraSaplingChance |
float |
0.0 |
Bonus sapling roll multiplier |
extraStickChance |
float |
0.0 |
Bonus stick roll multiplier |
extraAppleChance |
float |
0.0 |
Bonus apple roll (oak/dark oak only) |
Filters
| Option |
Type |
Default |
Description |
blacklistedLeaves |
list |
[] |
Block IDs to exclude |
disabledDimensions |
list |
[] |
Dimension IDs to disable in |
Performance
| Option |
Type |
Default |
Description |
requirePlayerNearby |
bool |
false |
Only decay near players |
playerRadius |
float |
64.0 |
Player detection radius |
License
MIT — free to use, modify, and include in modpacks. No permission needed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧