✨ Eat Everything ✨ [1.20.5 - 1.21.5] icon

✨ Eat Everything ✨ [1.20.5 - 1.21.5] -----

Allow players to eat non-edible items and blocks!



Minimum Java Version: Java 21

Support:
https://discord.gg/uXVU8jmtpU


Eat Everything

This plugin allows players to eat non-edible items and blocks. You can modify the saturation level, nutrition level, "can always eat" state, and consumption time of non-edible items. Additionally, you can add custom potion effects that will be applied when these items are eaten.

Features
  • Allows modification of food components for both edible and non-edible items:
    • Nutrition : The number of food points restored by this item when eaten. Must be a non-negative integer.
    • Saturation : The amount of saturation restored by this item when eaten
    • Can Always Eat : If true, this item can be eaten even if the player is not hungry. Defaults to false.
    • Eat Seconds : The number of seconds taken by this item to be eaten. Defaults to 1.6.
    • Custom Food Effects : Applies custom potion effects with a customizable probability when the item eaten.
    • Using Converts To: The item to replace this item with when it is eaten.
  • Consume Sound: Plays a sound after a player consumes an item.
  • Cooldown: The cooldown is shown in the hotbar by a white overlay on the item stack that shrinks and must disappear before the player can use it again.
  • Execute Commands: The commands that are triggered when a player consumes an item.
  • Allows modification of food components for all items with configurable settings and conditions.
  • Minecraft Version Support: Compatible with Minecraft 1.20.5 - 1.21.5.
  • PlaceholderAPI Support: Integration with PlaceholderAPI.

Images | Videos


Plugin Showcase


[​IMG]


Commands and Permissions
All commands can be used with the labels /eateverything and /ee.
  • /eateverything - eateverything.main
    • Main command of the plugin.
  • /eateverything saturation [value] - eateverything.saturation
    • If [value] is not set, it will show the current saturation level of the item being held. Otherwise, it sets the saturation level of the item to the given value.
  • /eateverything nutrition [value] - eateverything.nutrition
    • If [value] is not set, it will show the current nutrition level of the item being held. Otherwise, it sets the nutrition level of the item to the given value.
  • /eateverything eatseconds [value] - eateverything.eatseconds
    • If [value] is not set, it will show the current consumption time of the item being held. Otherwise, it sets the consumption time of the item to the given value.
    • [value] can be a floating point number and must be greater than 0 (zero).
    • The default consumption time for all items is 1.6 seconds.
  • /eateverything edible [true/false] - eateverything.edible
    • If [value] is not set, it will show whether the item is always edible. Otherwise, it sets the item's "can always eat" state to the given value.
    • If [value] is true, the item can be consumed at any time, even if the player's food bar is full.
  • /eateverything info - eateverything.info
    • This command displays the currently held item's saturation level, nutrition level, consumption time, "can always eat" state, and added food effects. It also provides a message that you can click to copy the item's components as a Minecraft give command.
  • /eateverything effect <clear | add> <effect name> <duration> <amplifier> [probability] - eateverything.effect
    • If the first argument is [clear], the plugin will remove all added food effects from the currently held item.
    • If the first argument is [add], you must provide the effect name. The next argument should be the duration of the potion effect in ticks (20 ticks = 1 second), followed by the amplifier (with level I having a value of 0).
    • The last parameter is optional and defines the probability of the effect being applied to the consumer when the item is eaten.
  • /eateverything help [--general] - eateverything.help
    • If [--general] is provided as the first argument, it will display all information about food components in Minecraft. Otherwise, it will show the plugin commands and their descriptions.
  • /eateverything item <id> - eateverything.item
    • Gives the item of custom food components with the specified ID, if it exists.
  • /eateverything check - eateverything.check - Checks for any available updates.
  • /eateverything reload - eateverything.reload
    • Reloads the custom food components and system messages.
  • /eateverything version - eateverything.version
    • Displays detailed information about the plugin and server environment.
  • Permission for tab completion: eateverything.tabcompleter.
    • Use eateverything.* to grant all permissions.
[​IMG]


Configuration Files
food-components.yml
Code (YAML):
[/COLOR ] [COLOR=rgb (0, 0, 0 ) ]food: [/COLOR ] [/COLOR ] [/COLOR ]
[COLOR= #000000][COLOR=#000000][COLOR=#000000]  # The component called 'default' won't be registered, this is just for an example.
  # Effects and conditions sections are optional.
  'default'
:
    item
: STICK
    # If set, this item is considered as a food, and can be eaten.
    components
:
      # If nutrition or saturation is -1, we'll skip them, and they won't have any effect when eaten.
      # The number of food points restored by this item when eaten. Must be a non-negative integer.
      nutrition
: 3

      # The amount of saturation restored by this item when eaten.
      saturation
: 1

      # If true, this item can be eaten even if the player is not hungry. Defaults to false.
      can-always-eat
: true

      # The amount of seconds it takes for a player to consume the item. Defaults to 1.6.
      eat-seconds
: 1.2

      # Should the specified sound be played after a player consumes this item?
      sound
: ""

      # The animation used during consumption of the item. Defaults to eat.
      # Must be one of none, eat, drink, block, bow, spear, crossbow, spyglass, toot_horn or brush.
      animation
: eat

      # Whether consumption particles are emitted while consuming this item. Defaults to true.
      consume-particles
: true

      # Should this item have a cooldown of X seconds before they can be used again?
      # The cooldown is shown in the hotbar by a white overlay on the item stack
      # that shrinks and must disappear before the player can use it again.
      cooldown
: 0

      # Should the player teleport to a random location inside the diameter?
      random-teleport-diameter
: 0

      # Clears all effects of the consumer.
      clear-all-effects
: false

      # The permission needed to consume this item.
      permission
: ""

      # A list of effects applied by this item when eaten.
      effects
:
        '1'
:
          # The namespaced key of the potion effect type.
          name
: REGENERATION
          # The amplifier of the effect, with level I having value 0. Optional, defaults to 0.
          amplifier
: 0
          # The duration of the effect in ticks. Values 0 or lower are treated as 1. Optional, and defaults to 1 tick.
          duration
: 100
          # Whether this is an effect provided by a beacon and therefore should be less intrusive on the screen. Optional, defaults to false.
          ambient
: false
          # Whether this effect produces particles. Optional, defaults to true.
          show-particles
: true
          # Whether an icon should be shown for this effect. Defaults to true.
          show-icon
: true
          # The chance for the effect to be applied. Must be a positive float between 0 and 1. Defaults to 1.
          probability
: 1

      conditions
:
        # Should we check if the item's name is the same as the value below?
        # Leave it skip-check, if you do not want to check for item's name.
        name
: ""
        # Should we check if the item's lore is the same as the value below?
        lore
: [ ]
        # Should we check if the item's amount is the same as the value below?
        # Leave it -1 for any amount.
        amount
: -1
        # Provide enchantments' names in the list that you want the same in item.
        # ENCHANTMENT_NAME:ENCHANTMENT_LEVEL
        enchantments
: [ ]

      # When player eats this food, should we convert it to another item? (optional)
      converts-to
:
        # The material of the item that will be converted.
        material
: ""
        # The display name of the item that will be converted.
        name
: ""
        # The lore of the item that will be converted.
        lore
: [ ]
        # The amount of the item that will be converted.
        amount
: 1
        # The item flags of the convert item. By default, item flags are empty.
        # Values: HIDE_ENCHANTS, HIDE_ATTRIBUTES, HIDE_UNBREAKABLE, HIDE_DESTROYS, HIDE_PLACED_ON and HIDE_POTION_EFFECTS
        item-flags
: [ ]
        # The enchantments of the converted item.
        # ENCHANTMENT_NAME:ENCHANTMENT_LEVEL
        enchantments
: [ ]
        # Should the converted item be unbreakable?
        unbreakable
: false

      # The list of commands executed when a player consumes this item.
      #
      # Placeholders:
      #   1) %player% - The name of the player who consumes the item.
      #   2) %sender% - The name of the sender who executes the command.
      #   3) %consumption_time% - The number of seconds taken by this item to be eaten.
      #   4) %saturation% - The amount of saturation restored by this item when eaten.
      #   5) %nutrition% - The number of food points restored by this item when eaten.
      #   6) %material% - The name of the item that is considered as a food, and can be eaten.
      commands
: [ ]
messages.yml
Code (YAML):
# General command messages.
commands
:
  correct-usage
: "&cCorrect usage: {0}"
  did-you-mean
: "&cDid you mean {0}?"
  no-permission
: "&cYou must be admin or higher to use this command!"
  not-holding-item
: "&cYou are not holding any item in your hand."
  system-reloaded
: "&aSystem files reloaded successfully."
  no-item-with-that-id
: "&cNo custom food component found with the specified ID!"

  # Messages of the 'saturation' command.
  saturation
:
    info
: "&aCurrent saturation level of the item in your hand: &7{0}&a."
    invalid-value
: "&cPlease enter a valid saturation value!"
    same-value
: "&cThe saturation level of the item in your hand is the same with the current saturation level!"
    updated-value
: "&aThe saturation level of the item in your hand is now &7{0}&a, previously it was &7{1}&a."

  # Messages of the 'nutrition' command.
  nutrition
:
    info
: "&aCurrent nutrition level of the item in your hand: &7{0}&a."
    invalid-value
: "&cThe number of food points restored by this item when eaten. Must be a non-negative integer."
    same-value
: "&cThe nutrition level of the item in your hand is the same with the current nutrition level!"
    updated-value
: "&aNutrition of the item is now &7{0}&a, previously it was &7{1}&a."

  # Messages of the 'eat seconds' command.
  eat-seconds
:
    info
: "&aThe item in your hand takes &7{0}&a seconds to consume."
    invalid-value
: "&cThe consumption time of the currently held item. Must be a non-negative integer."
    same-value
: "&cThe consumption time of the currently held item is the same with the current consumption time!"
    updated-value
: "&aThe consumption time of the currently held item is set to &7{0}&a, previous was &7{1} &aseconds."

  # Messages of the 'edible' command.
  edible
:
    info
: "&aThe item in your hand is &7{0}always edible&a."
    invalid-value
: "&cPlease enter a valid boolean!"
    same-value
: "&cThe item in your hand is already &7{0}always &7edible&a."
    updated-value
: "&aThe item in your hand is now &7{0}always edible&a."

  # Messages of the 'effect' command.
  effect
:
    usage
: "&cCorrect usage: /{0} effect <clear | add> <effect name> <duration> <amplifier> [probability]"
    no-effect
: "&cThe item in your hand does not food effects to remove!"
    removed-effects
: "&aYou have successfully removed all the food effects of the item in your hand."
    provide-effect-name
: "&cPlease enter a potion effect name!"
    no-effect-with-that-name
: "&cThere is no potion effect with that name!"
    provide-duration
: "&cPlease enter the duration of potion effect!"
    invalid-duration
: "&cPlease enter a numeric duration value!"
    provide-amplifier
: "&cPlease enter the amplifier value of potion effect!"
    invalid-amplifier
: "&cPlease enter a numeric amplifier value!"
    effect-added
: "&aThe potion effect has been added to the currently held item successfully."

update-command
:
  checking-for-update
: "&3[Eat Everything] &bChecking for updates, please wait..."
  new-update-available
: "&3[Eat Everything] &bFound a new update: {0} (current version: {1})."
  up-to-date
: "&3[Eat Everything] &bNo new updates found, everything is up to date!"


My Other Plugins:
[​IMG] [​IMG] [​IMG] [​IMG] [​IMG]

Terms of Service
By using this plugin, you agree to the following terms, which may be updated by the author at any time.​
  • All payments are final and non-refundable.
  • Redistribution or resale of this plugin is prohibited.
  • You are not permitted to modify, decompile, or extract any part of the plugin's source code.
  • Support is provided exclusively to legitimate customers. We cannot offer support for plugins obtained through unauthorized or illegal means.
  • This plugin is compatible only with Minecraft versions 1.20.5 - 1.21.5 and will not work on earlier versions. The functionality of this plugin relies on features introduced in these versions, so support for lower versions is not available.
  • After the v1.4.2 update, this plugin is only going to work for Minecraft 1.21.1+ and only going to work on Paper or its forks.
Copyright 2025 © Berke Akçen
Resource Information
Author:
----------
Total Downloads: 28
First Release: Jun 12, 2024
Last Update: Apr 14, 2025
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings