promotional bannermobile promotional banner

Give Modifier

Give decimals and negative amounts with /givef

# 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

Give Modifier Team

profile avatar
  • 1
    Projects
  • 16
    Downloads