HomeJavaModsItem Despawn To What
Item Despawn To What

ItemDespawnToWhat

Let items about to despawn quietly transform into something else before they disappear.

Chicken rotting into rotten flesh? Eggs hatching into chickens? Saplings planting themselves? — All fully customizable.

logo


What This Mod Does

In vanilla Minecraft, dropped items on the ground disappear naturally after a while.
This mod lets you define custom conversion rules that trigger just before items despawn.

You can configure conversions through a GUI or config files, and attach optional conditions to each rule.


Three Conversion Types

Type Description
Item → Item Spawns a new item drop when the source item despawns
Item → Entity Spawns an entity when the source item despawns
Item → Block Places a block nearby when the source item despawns

egg hatch in 1 second


Combinable Trigger Conditions

All conditions are optional. Leaving a condition blank means no restriction. When multiple conditions are set, all of them must be satisfied for the conversion to trigger.

Condition Description
Dimension Only triggers in specified dimensions (e.g. Overworld, Nether, End)
Outdoor No opaque blocks between the item and the sky above it
Surrounding Blocks Checks all six adjacent directions; supports block IDs or block tags (prefix with #)
Catalyst Items Requires a specific item drop to be in the same block space; optionally consumed
Inner Fluid Requires the item's block to contain a specific fluid (supports waterlogged blocks); optionally consumed
Result Limit Caps the number of existing conversion results within a radius to prevent infinite accumulation

Getting Started

Visual Configuration GUI

This mod includes an easy-to-use rule editor GUI.

gui_edit

gui_reedit

How to open it:

If you prefer editing JSON directly, config files are located in .minecraft/config/itemdespawntowhat/.


Defining Conversion Rules

Common Fields

Field Description Default Constraints
item Registry ID of the source item Required
result Registry ID of the conversion result Required
conversion_time Seconds the item must remain on the ground before converting 300 1 – 300
result_multiple Output quantity multiplier per conversion 1 At least 1
dimension Restricts the conversion to a specific dimension (no restriction)
need_outdoor Whether the item must be in an outdoor (sky-exposed) location false
surrounding_blocks Block conditions for all six adjacent directions (no restriction) Supports tags
catalyst_items Required co-located item drop condition (no restriction)
inner_fluid Required fluid condition in the item's block (no restriction)

Item → Entity Only

Field Description Default
result_limit Max number of the same entity type allowed nearby; skips conversion if exceeded 30
entity_age Age of the spawned entity (negative values produce babies) -24000

Item → Block Only

Field Description Default
radius_limit Maximum radius for outward block placement 6
block_of_item When enabled, automatically uses the block form of the source item (source must be a block item) false

Saving & Reloading

In the GUI:

Then run in-game:

/conversion_config reload

This hot-reloads the config without restarting the server.


Configuration Examples

Chicken → Rotten Flesh (200 seconds, no conditions)

{
  "item": "minecraft:chicken",
  "result": "minecraft:rotten_flesh",
  "conversion_time": 200
}

Egg → Chicken (Overworld only, on a hay bale)

{
  "item": "minecraft:egg",
  "result": "minecraft:chicken",
  "conversion_time": 5,
  "dimension": "minecraft:overworld",
  "surrounding_blocks": {
    "down": "minecraft:hay_block"
  },
  "result_limit": 30
}

Sapling → Auto-planted (on dirt, must be outdoors)

{
  "item": "minecraft:oak_sapling",
  "result": "minecraft:oak_sapling",
  "block_of_item": true,
  "conversion_time": 30,
  "need_outdoor": true,
  "surrounding_blocks": {
    "down": "#minecraft:dirt"
  }
}

Notes


Multiplayer

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more