Minecraft Data Packs / Quality of Life

Passive Offhand Eating - Simple Eating Automation

  • check_circle Functions
  • 325 views, 7 today
  • 66 downloads, 3 today
  • 3
  • 3
RabenMeister
Level 13 : Journeyman Modder Sheep
8
🍖 Passive Offhand Eating Datapack 🍖

Never interrupt your activities again! This datapack allows you to automatically eat food items held in your offhand when your hunger bar needs replenishing.

Features:
• Automatically consumes food from your offhand when hungry
• Works with all food items
• Compatible with combat, building, and other activities
• No manual eating required
• Returns empty bottles when using Honey Bottles
• Returns a bowl when eating Suspicious Stew
• Customizable hunger threshold for auto-eating
• Optional cake eating support (disabled by default)


🎮 How to Use:
1. Place any food item in your offhand slot
2. Use /trigger AutoEatAtHunger set <value> to set when eating should start
3. Continue playing normally
4. The food will be consumed automatically when needed

⚙️ Technical Details:
• Minecraft Version: 1.21+
• Type: Datapack
• No resource pack required
• Vanilla-friendly
• Configurable settings:
- Enable/disable cake eating via datapack settings

📥 Installation:
1. Download the datapack
2. Place it in your world's datapack folder
3. Type /reload in-game
4. Enjoy automatic eating!

🔧 Known Issues:
• None currently known

Feel free to use this in your modpacks or servers! Credit appreciated but not required.
CompatibilityMinecraft 1.21
Tags

Create an account or sign in to comment.

Welcome