Skip to content

Configuration

Jason Spangler edited this page Jul 7, 2018 · 26 revisions

The mod come pre-configured with default settings - so configuration is only needed if you want to customize a setting or to add support for another mod's items - see Compatibility.

Config menu

Config menu

  • "Enable item rot" - true enabled item rot, false disables rot
  • "preserving" - configure preserving container properties
  • "rotting" - configure item rot properties
  • "debug" - configure debug settings

Preserving config

Preserving config Preserving ratio config

  • Left column - the TileEntity registration name for the container Block's TileEntity (which is sometimes different from the item id) for the setting.
    • If you don't know the TileEntity registration name, you can use the Daring Debug mod to view it on the F3 debug screen.
    • Forge ore dictionary names are supported. For example, chestWood matches all wooden chests.
  • Right column - the preserving ratio of the container. Contents will rot normally at 0, half speed at 50, and never at 100.

Rotting config

Rotting config

  • "days to rot" - set the number of days it takes for items to rot, or disable rot for items
  • "rotten id" - configure into what an item rots.

Days to Rot config

Days to rot config

  • Left column - the item id for the rot setting.
    • The special minecraft:food entry will apply to all food (ItemFood instances) that aren't matched by another entry.
    • Metadata specifiers are supported. For example, minecraft:dye@4 matches Lapis Lazuli
    • Forge ore dictionary names are supported. For example, record matches all music record items.
  • Right column - The number of days the item takes to rot. A value of -1 disables rot for that item.

Rotten id config

Rotten id config

  • Left column - the item id for the rot setting.
    • The special minecraft:food entry will apply to all food (ItemFood instances) that aren't matched by another entry.
    • Metadata specifiers are supported. For example, minecraft:dye@4 matches Lapis Lazuli.
    • Forge ore dictionary names are supported. For example, record matches all music record items.
  • Right column - the item id into which to rot.
    • A blank string means the item will rot into nothing (assuming it is configured to rot in the Days to Rot config).
    • Metadata specifiers are supported. For example, minecraft:dye@4 matches Lapis Lazuli.
    • Forge ore dictionary names are supported. A random item will be chosen for ore dictionary entries with multiple registrations. For example, record will result in a random music record item.

Debug config

Debug config

  • Debug mode - Enable debug features on this menu and display extra debug info (including advanced tooltips).
  • Rot time multiplier - Speed or slow all rot. < 1 is faster, > 1 is slower.

Configuration file

The above configuration menus modify the foodfunk.cfg file, which you can also modify outside of Minecraft.

Due to a limitation in Forge's configuration GUI system, adding new entries can't be done via the GUI and requires editing the configuration file.

Clone this wiki locally