Edibles

Mods
4,985 Downloads Last Updated: Sep 27, 2020 Game Version: 1.16.3

a1

Requires the library mod Collective.

Edibles is a minimalistic configurable mod which makes lots of ingredients edible, after which the player receives a short status effect. It supersedes some previous edible ingredient mods I've made, and bundles them together with more effects planned in the future.


Currently works with blaze powder, glowstone dust, magma cream and sugar.

Blaze powder -> strength effect
Glowstone dust -> gives entities around the glow effect
Magma cream -> fire resistance
Sugar -> speed effect

 

By default the glow effect is 20 seconds and the others are 15 seconds. You can change this in the configuration file.


Configurable
# Weakness effect
maxItemUsesPerDaySingleItem
 (default = 16, min -1, max 1280): The maximum amount of an item a player can eat before receiving the weakness effect. A value of -1 disables this feature.
maxItemUsesPerDayTotal
(default = -1, min -1, max 1280): The maximum of the total amount of items a player can eat before receiving the weakness effect. A value of -1 disables this feature.
weaknessDurationSeconds
(default = 45, min 1, max 3600): The duration of the weakness effect in seconds when eating too much of an item.

# Glow effect
glowEntityDurationSeconds
 (default = 20, min 0, max 3600): When eating glowstone, the duration in seconds of how long entities around should be glowing with an outline. A value of 0 disables the item use.
glowEntitiesAroundAffectedRadiusBlocks
(default = 32, min 1, max 128): For the glow effect, the radius in blocks around the player of entities affected.

# Other effects
blazePowderStrengthDurationSeconds
 (default = 15, min 0, max 3600): After eating blaze powder, the duration in seconds of the strength effect the player receives. A value of 0 disables the item use.
magmaCreamFireResistanceDurationSeconds
(default = 15, min 0, max 3600): After eating magma cream, the duration in seconds of the fire resistance effect the player receives. A value of 0 disables the item use.
sugarSpeedDurationSeconds
(default = 15, min 0, max 3600): After eating some sugar, the duration in seconds of the speed effect the player receives. A value of 0 disables the item use.


Some GIFs!
Some of the effects of eating ingredients in action:

gif0

 

Eating too many ingredients in the same day will result in the player receiving the weakness effect.

gif1

 

The effect of eating glowstone, entities around the player will receive the glow effect and be visible through walls:

gif2

 




b1
c1c2c3