# Give Modifier
Extend Minecraft's give command to accept **decimal** quantities via `/givef`.
## β¨ Features
- Decimal quantities: `5.5`, `20.20`, `0.5`
- Negative quantities: remove items from inventory (no drop)
- Converts decimals to simplified fractions, uses numerator as quantity
- Works with Command Blocks and chat
- Fabric 1.21.11
## π’ Conversion Formula
| Input | Fraction | Result |
|-------|----------|--------|
| 5.5 | 11/2 | give 11 |
| 20.20 | 101/5 | give 101 |
| 0.5 | 1/2 | give 1 |
| 1.5 | 3/2 | give 3 |
| 99.99 | 9999/100 | give 9999 |
| -3.5 | -7/2 | remove 7 |
## π¦ Requirements
- Minecraft 1.21.11
- Fabric Loader 0.16+
- Fabric API 0.141.6+1.21.11
- Java 21
## π οΈ Usage
/givef @p minecraft:diamond 5.5
/givef @p minecraft:emerald 20.20
/givef @p minecraft:iron_ingot -3.5
## π Verification
- SHA-256: `8379de7e648b996d67f394cb266c043b53674c2ae899ad4ee0b10bf8b32c93a2`
- VirusTotal: 0/60+ vendors flagged
## π License
MIT

