# Compressed Agriculture
Compress farmland into a single block that harvests automatically. Nine blocks make one compressed block; level `L` (1–9) multiplies every harvest by `9^L` — **one block yields a lot, it does not plant a lot.**
## Features
- **18 blocks**: compressed dirt / compressed farmland × levels 1–9, each with its own 27-slot inventory
- **Multiplier `9^L`**: level 9 yields 387,420,489 items per harvest
- **Automatic harvesting**: crops, trees, melons, pumpkins, mushrooms, nether wart, sugar cane, cactus, bamboo and chorus fruit are collected into the block's own storage
- **Storage upgrade**: 1 compressed block + 8 iron ingots raises capacity by one tier
- **Fully tag-driven**: what can be planted or harvested is decided by data pack tags, never by hard-coded block IDs
- **Optional JEI integration**
## Requirements
- Minecraft **1.21.1**
- NeoForge **21.1.235** or newer
## Links
- Source code: https://github.com/Kalloer1/compressed-agriculture
- License: LGPL-3.0-or-later
---
# 压缩农业
把耕地压缩:9 个方块合成 1 个压缩方块,等级 `L`(1–9)决定收获倍率 `9^L`。作物、树、瓜、蘑菇长熟后自动收进压缩方块自己的货仓,产物直接乘倍率——**一格产出很多,不是一格种很多。**
- 18 个方块:压缩泥土 / 压缩耕地 × 9 等级,各带 27 格货仓
- 自动收获:作物、树、瓜、蘑菇、下界疣、甘蔗、仙人掌、竹子、紫颂
- 可扩容:1 个压缩方块 + 8 铁锭提升一档容量
- 能种什么、能收什么全由数据包标签决定,代码里没有硬编码的作物 ID
- 可选 JEI 联动
需要 Minecraft 1.21.1 + NeoForge 21.1.235 以上。

