Community listing page, reviews here may not be monitored by the author.
Qubit Food
No reviews yet
A tiny, configurable mod intended for use in modpacks. Allows for configuration of hunger mechanics (and cake).
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the server. Also works in singleplayer.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
A tiny, configurable mod intended for use in modpacks. Allows for configuration of hunger mechanics (and cake).
Usage
By default, this mod should change nothing.
It can be configured with a file at <mc folder>/config/qubit/food.json
Its configuration has this format (these are the vanilla settings):
{
// Configuration of exhaustion.
"exhaustion": {
// A multiplier on ALL exhaustion added.
"multiplier": 1.0,
// The amount of exhaustion required to drain food and saturation once.
"per_drain": 4.0,
// The amount of food drained each time exhaustion exceeds per_drain.
"food_drain": 1,
// The amount of saturation drained each time exhaustion exceeds per_drain.
"saturation_drain": 1.0,
// The cap on the exhaustion value.
// Note food and saturation are drained (and per_drain subtracted) at most once per tick.
"cap": 40.0,
// Configuration of exhaustion amounts from various sources.
"from": {
// The amount of exhaustion for each block broken.
"break_block": 0.005,
// The amount of exhaustion for each successful normal attack.
"attack": 0.1,
// The amount of exhaustion for each attack with a stabbing weapon (i.e. a spear).
"stab_attack": 0.1,
// The amount of exhaustion for each jump.
"jump": 0.05,
// The amount of exhaustion for each jump while sprinting.
"sprint_jump": 0.2,
// The amount of exhaustion for each meter swum (corresponds to "Distance Swum" statistic)
"swim": 0.01,
// The amount of exhaustion for each meter walked underwater (corresponds to "Distance Walked under Water" statistic)
"walk_under_water": 0.01,
// The amount of exhaustion for each meter walked on water (corresponds to "Distance Walked on Water" statistic)
"walk_on_water": 0.01,
// The amount of exhaustion for each meter climbed (corresponds to "Distance Climbed" statistic)
"climb": 0.0,
// The amount of exhaustion for each meter traveled sprinting (corresponds to "Distance Sprinted" statistic)
"sprint": 0.1,
// The amount of exhaustion for each meter traveled crouching (corresponds to "Distance Crouched" statistic)
"crouch": 0.0,
// The amount of exhaustion for each meter walked (corresponds to "Distance Walked" statistic)
"walk": 0.0,
// The amount of exhaustion for each meter flown with elytra (corresponds to "Distance by Elytra" statistic)
"aviate": 0.0,
// The amount of exhaustion for each meter flown (corresponds to "Distance Flown" statistic)
"fly": 0.0,
// The amount of exhaustion each tick per level of the Hunger effect.
"hunger_level": 0.005
}
},
// How many food points the player starts with.
"initial_food": 20,
// How much saturation the player starts with.
"initial_saturation": 5.0,
// A cap on saturation. If less than 0, uses the vanilla behavior of being capped to the current food level.
"saturation_cap": -1.0,
// The minimum (exclusive) food points required to sprint.
"sufficient_food": 6,
// Configuration of regeneration if enabled.
"regen": {
// The minimum (inclusive) food points the player must have to heal.
"min_food": 18,
// The minimum (exclusive) saturation the player must have to heal.
"min_saturation": -1,
// The timer in ticks for each regen tick.
"period": 80,
// Whether only saturation will be drained when healing.
"only_use_saturation": false,
// How much exhaustion will be applied for each regen tick.
"drain": 6.0,
// How much health each tick heals.
"heal": 1.0,
// This number is added to period for each food point the player has.
"period_food_scale": 0,
// This number is added to period for each whole saturation point the player has.
"period_saturation_scale": 0
},
// Configuration of boosted regeneration if enabled. Has the same properties as regen.
"regen_boosted": {
"min_food": 20,
"min_saturation": 0.0,
"period": 10,
"only_use_saturation": true,
"drain": 6.0,
"heal": 1.0,
"period_food_scale": 0,
"period_saturation_scale": 0
},
// Configuration of starvation.
"starvation": {
// The maximum (inclusive) food points the player must have to be starving.
"max_food": 0,
// The timer in ticks for each starvation tick.
"period": 80,
// The default health below which the player will stop taking damage.
// The lowest minimum health value applies, so if this is less than min_health_hard,
// for example, the player will still be damaged until this threshold.
"min_health": 10.0,
// The health below which the player will stop taking damage on Normal difficulty.
"min_health_normal": 1.0,
// The health below which the player will stop taking damage on Hard difficulty.
"min_health_hard": 0.0,
// How much damage each starvation tick deals.
"damage": 1.0,
// This number is added to period for each food point the player has.
"period_food_scale": 0,
// This number is added to period for each whole saturation point the player has.
"period_saturation_scale": 0
},
// Configuration of cake nutrition per slice.
"cake": {
// How many food points each slice gives.
"food": 2,
// How much saturation each slice gives.
"saturation": 0.1,
// Whether cake can always be eaten regardless of current food points.
"can_always_eat": false
}
}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers