rottenfleshcompost-1.21.1-1.0.0.jar
Curse Maven Snippet
What's new
上传文件:
dist/rottenfleshcompost-1.21.1-1.0.0.jar参数:游戏版本
1.21.1· 加载器NeoForge· 发布类型Release· 许可证MIT1. 项目名 / Project title
Rotten Flesh Compost
2. 一句话简介 / Summary(≤256 字符)
English
Makes Rotten Flesh compostable in a Composter: 65% chance per item, same tier as carrots and potatoes. Pure data map — vanilla compostables are untouched, no config needed, works on servers.
中文
让腐肉可以丢进堆肥桶:每块 65% 概率让堆肥层数 +1,和胡萝卜、马铃薯同级。纯 data map 实现,不改动任何原版可堆肥物品,无需配置,服务端可用。
3. 正文 / Description
English
# Rotten Flesh Compost
Rotten Flesh is the one mob drop you always have too much of and can do almost nothing with. This mod makes it useful: **drop it into a Composter and it works like any other food item — a 65% chance to add one compost layer** (same tier as carrots, potatoes and melons).
## Features
- Rotten Flesh is compostable at a **0.65** success chance.
- **Nothing else changes.** All vanilla compostable items keep their exact values — this mod only adds one entry.
- **No configuration, no commands, no new blocks or items.** One tiny data file does the whole job.
- Works in singleplayer and on servers; packs only ~4 KB.
## Installation
1. Install **NeoForge for Minecraft 1.21.1**.
2. Drop the jar into your `mods` folder.
3. That's it — right-click a Composter with Rotten Flesh.
**Multiplayer:** install it on the **server**. Clients do not need it — the values are synced automatically, so players without the mod still see the correct behaviour.
## Customising the chance
The mod is driven entirely by NeoForge's `compostables` data map, so you can override it without touching the jar: put a file at
data/neoforge/data_maps/item/compostables.json
inside a **world datapack** (data pack format `48`) and set whatever chance you like:
json { "values": { "minecraft:rotten_flesh": { "chance": 0.65 } } }
Setting `"can_villager_compost": true` additionally lets farmer villagers compost it themselves.
## Why is the jar so small?
Since 1.21.1, NeoForge no longer reads `ComposterBlock.COMPOSTABLES` — composting is data-driven. So the correct implementation is a single data map file, not code. (Which also means the old `ComposterBlock.COMPOSTABLES.put(...)` trick you'll find in older tutorials silently does nothing on this version.)
## Compatibility
- Minecraft **1.21.1**, NeoForge **21.1.0+**
- No mixins, no coremods, no other mod dependencies — should be compatible with everything
- Modpacks are welcome to include it
## License
MIT — do whatever you like with it.
中文
# 腐肉可堆肥 / Rotten Flesh Compost
腐肉大概是"永远用不完、又几乎没啥用"的典型僵尸掉落物。这个 mod 让它有用起来:**把腐肉丢进堆肥桶,它就和普通食物一样能用 —— 65% 概率让堆肥层数 +1**(和胡萝卜、马铃薯、西瓜同级)。
## 特性
- 腐肉可堆肥,成功率 **0.65**。
- **其他东西一律不变** —— 原版所有可堆肥物品的数值保持原样,本 mod 只是新增了一条。
- **无需配置、无需指令、不新增方块和物品**,整个功能就一份极小的数据文件。
- 单人和服务端都能用,体积只有约 4 KB。
## 安装
1. 装好 **Minecraft 1.21.1 的 NeoForge**。
2. 把 jar 丢进 `mods` 文件夹。
3. 完事,拿着腐肉右键堆肥桶就行了。
**联机:** 装在**服务端**即可,客户端不装也能用(数值会自动同步)。
## 修改概率
本 mod 完全由 NeoForge 的 `compostables` data map 驱动,所以你可以不动 jar 就覆盖它:在**世界数据包**(data pack format `48`)里放一个文件
data/neoforge/data_maps/item/compostables.json
内容想怎么写就怎么写:
json { "values": { "minecraft:rotten_flesh": { "chance": 0.65 } } }
额外加上 `"can_villager_compost": true`,还能让农民村民主动拿腐肉去堆肥。
## 为什么 jar 这么小?
从 1.21.1 开始,NeoForge 不再读取 `ComposterBlock.COMPOSTABLES` 了,堆肥改成了数据驱动。所以正确的实现方式就是一份 data map 文件,而不是代码。(也就是说,老教程里那句 `ComposterBlock.COMPOSTABLES.put(...)` 在这版上其实是**静默失效**的。)
## 兼容性
- Minecraft **1.21.1**,NeoForge **21.1.0+**
- 没有 mixin、没有 coremod、不依赖其他 mod —— 基本和所有东西都兼容
- 欢迎整合包收录
## 许可证
MIT —— 随便用。
4. 版本更新日志 / Changelog(1.0.0)
English
First release.
- Rotten Flesh is now compostable with a 0.65 success chance.
- Implemented as a NeoForge `compostables` data map, so vanilla values are preserved.
中文
首次发布。
- 腐肉现在可以堆肥,成功率 0.65。
- 用 NeoForge 的 `compostables` data map 实现,原版数值完整保留。
5. 上传参数速查
| 项目 | 填什么 |
|---|---|
| 文件 | dist/rottenfleshcompost-1.21.1-1.0.0.jar |
| 游戏版本 | 1.21.1 |
| 加载器 | NeoForge |
| 环境 | 服务端必需,客户端可选(Modrinth 上选 Server 即可) |
| 版本号 | 1.0.0 |
| 发布类型 | Release |
| 许可证 | MIT |
| 图标 | 用 src/main/resources/logo.png(128×128,jar 内也已包含) |
| 分类 / Categories | Game Mechanics、Utility、Storage |
This mod has no additional files

