XP From Harvest

Mods
6,279,931 Downloads Last Updated: Jan 4, 2022 Game Version: 1.18.1   +3

Killing? XP! Breeding? XP! Fishing? XP! Smelting? XP! Cooking? XP! Trading? XP! Mining? TONS OF XP!!!

Crop harvesting? No XP :(

 

There's a solution!

MAGIC OF PROGRAMMING

 

There you go! Now you can literally harvest XP.

You're welcome :D

 

Usage:

This mod is only required on server, however you can still use it in single.

 

Bonus feature (off by default):

Right clicking mature crop will harvest and replant it immediately (just like with SimpleHarvest mod), and of course will give you XP.

 

Configuration:

In single this mod is configurable via mods config menu. On server it's configured with config file <MC_ROOT_FOLDER>/config/xpfromharvest.cfg.

 

Configuration options include:

 

  • Chance: % chance of XP orb spawning.
  • Amount: amount of XP given.
  • Simple Harvest: - enable SimpleHarvest like functionality (can be toggled dynamically in single).
  • Crops List: list of crops that can be processed by the mod with their ages
  • Curiosity: curiosity mode, for debugging purposes, sneak right click on a crop to get a chat message with info about it. This info can be put directly into config. Here is an example of info I got from XL Food Mod plants.

 

    S:"Crops List" <
        minecraft:potatoes[age=7]
        minecraft:carrots[age=7]
        minecraft:wheat[age=7]
        minecraft:beetroots[age=3]
        minecraft:nether_wart[age=3]
        xlfoodmod:pepper_plant[age=7]
        xlfoodmod:cucumber_plant[age=7]
        xlfoodmod:rice_plant[age=7]
        xlfoodmod:corn_plant[age=7]
        xlfoodmod:lettuce_plant[age=7]
        xlfoodmod:tomato_plant[age=7]
        xlfoodmod:strawberry_plant[age=7]
        xlfoodmod:corn_plant[age=7]
     >

Beware that for version 1.14.4 and up config format is changed:

"Crops List" = ["Block{minecraft:potatoes}[age=7]", "Block{minecraft:carrots}[age=7]", "Block{minecraft:wheat}[age=7]", "Block{minecraft:beetroots}[age=3]", "Block{minecraft:nether_wart}[age=3]", "Block{xlfoodmod:strawberry_plant}[age=7]", "Block{xlfoodmod:tomato_plant}[age=7]", "Block{xlfoodmod:lettuce_plant}[age=7]", "Block{xlfoodmod:cucumber_plant}[age=7]", "Block{xlfoodmod:corn_plant}[age=7]", "Block{xlfoodmod:pepper_plant}[age=7]"]

 

 

Installation:

Install Forge, put mod inside mods directory... you know...

 

MODPACKS:

You're free to include this mod in any modpack if it's free to use :P

 

BONUS:

By Forge_User_61020098

Config for Pam's Harvest Craft 2, just add it to "Crops List" option in XPFromHarvest.toml

 

"Block{pamhc2crops:pamagavecrop}[age=7]", "Block{pamhc2crops:pamamaranthcrop}[age=7]", "Block{pamhc2crops:pamarrowrootcrop}[age=7]", "Block{pamhc2crops:pamartichokecrop}[age=7]", "Block{pamhc2crops:pamasparaguscrop}[age=7]", "Block{pamhc2crops:pambarleycrop}[age=7]", "Block{pamhc2crops:pambeancrop}[age=7]", "Block{pamhc2crops:pambellpeppercrop}[age=7]", "Block{pamhc2crops:pamblackberrycrop}[age=7]", "Block{pamhc2crops:pamblueberrycrop}[age=7]", "Block{pamhc2crops:pambroccolicrop}[age=7]", "Block{pamhc2crops:pambrusselsproutcrop}[age=7]", "Block{pamhc2crops:pamcabbagecactusfruitcrop}[age=7]", "Block{pamhc2crops:pamcandleberrycrop}[age=7]", "Block{pamhc2crops:pamcantaloupecrop}[age=7]", "Block{pamhc2crops:pamcassavacrop}[age=7]", "Block{pamhc2crops:pamcauliflowercrop}[age=7]", "Block{pamhc2crops:pamcelerycrop}[age=7]", "Block{pamhc2crops:pamchickpeacrop}[age=7]", "Block{pamhc2crops:pamchilipeppercrop}[age=7]", "Block{pamhc2crops:pamcoffeebeancrop}[age=7]", "Block{pamhc2crops:pamcorncrop}[age=7]", "Block{pamhc2crops:pamcottoncrop}[age=7]", "Block{pamhc2crops:pamcranberrycrop}[age=7]", "Block{pamhc2crops:pamcucumbercrop}[age=7]", "Block{pamhc2crops:pameggplantcrop}[age=7]", "Block{pamhc2crops:pamelderberrycrop}[age=7]", "Block{pamhc2crops:pamflaxcrop}[age=7]", "Block{pamhc2crops:pamgarliccrop}[age=7]", "Block{pamhc2crops:pamgrapecrop}[age=7]", "Block{pamhc2crops:pamgreengrapecrop}[age=7]", "Block{pamhc2crops:pamgingercrop}[age=7]", "Block{pamhc2crops:pamhuckleberrycrop}[age=7]", "Block{pamhc2crops:pamjicamacrop}[age=7]", "Block{pamhc2crops:pamjuniperberrycrop}[age=7]", "Block{pamhc2crops:pamjutecrop}[age=7]", "Block{pamhc2crops:pamkalecrop}[age=7]", "Block{pamhc2crops:pamkenafcrop}[age=7]", "Block{pamhc2crops:pamkiwicrop}[age=7]", "Block{pamhc2crops:pamkohlrabicrop}[age=7]", "Block{pamhc2crops:pamleekcrop}[age=7]", "Block{pamhc2crops:pamlentilcrop}[age=7]", "Block{pamhc2crops:pamlettucecrop}[age=7]", "Block{pamhc2crops:pammillecrop}[age=7]", "Block{pamhc2crops:pammulberrycrop}[age=7]", "Block{pamhc2crops:pammustardseedscrop}[age=7]", "Block{pamhc2crops:pamoatscrop}[age=7]", "Block{pamhc2crops:pamokracrop}[age=7]", "Block{pamhc2crops:pamonioncrop}[age=7]", "Block{pamhc2crops:pamparsnipcrop}[age=7]", "Block{pamhc2crops:pampeanutcrop}[age=7]", "Block{pamhc2crops:pampeascrop}[age=7]", "Block{pamhc2crops:pampineapplecrop}[age=7]", "Block{pamhc2crops:pamquinoacrop}[age=7]", "Block{pamhc2crops:pamradishcrop}[age=7]", "Block{pamhc2crops:pamraspberrycrop}[age=7]", "Block{pamhc2crops:pamrhubarbcrop}[age=7]", "Block{pamhc2crops:pamricecrop}[age=7]", "Block{pamhc2crops:pamrutabagacrop}[age=7]", "Block{pamhc2crops:pamryecrop}[age=7]", "Block{pamhc2crops:pamscallioncrop}[age=7]", "Block{pamhc2crops:pamsesameseedcrop}[age=7]", "Block{pamhc2crops:pamsisalcrop}[age=7]", "Block{pamhc2crops:pamsoybeancrop}[age=7]", "Block{pamhc2crops:pamspiceleafcrop}[age=7]", "Block{pamhc2crops:pamspinachcrop}[age=7]", "Block{pamhc2crops:pamstrawberrycrop}[age=7]", "Block{pamhc2crops:pamsweetpotatocrop}[age=7]", "Block{pamhc2crops:pamtarocrop}[age=7]", "Block{pamhc2crops:pamtealeafcrop}[age=7]", "Block{pamhc2crops:pamtomatillocrop}[age=7]", "Block{pamhc2crops:pamtomatocrop}[age=7]", "Block{pamhc2crops:pamturnipcrop}[age=7]", "Block{pamhc2crops:pamwaterchestnutcrop}[age=7]", "Block{pamhc2crops:pamwhitemushroomcrop}[age=7]", "Block{pamhc2crops:pamwintersquashcrop}[age=7]", "Block{pamhc2crops:pamzucchinicrop}[age=7]", "Block{pamhc2crops:pamcrop}[age=7]"

 

Comments

Posts Quoted: