Organic Composter (The Erebus)
Description
Converts valid items into compost. The Blacklist blocks all ItemStacks on it from being used, the Material list allows any Blocks using the valid Materials to be converted, and the Registry contains any valid ItemStacks. The conversion takes 10 seconds, and is fueled by erebus wall plants.
Bug
The Blacklist is supposed to have 2 entries by default - erebus:wall_plants@1
and erebus:wall_plants_cultivated@1
- however it is initialized prior to blocks or items being registered, and so contains two empty itemstacks instead. Furthermore, it is likely that using the metadata 1 is also a bug, as only metadata 7 is used as fuel.
Note
Items extending ItemFood
and ItemSeed
will always be valid items unless added to the blacklist.
Identifier
Refer to this via any of the following:
mods.erebus.composter/* Used as page default */
mods.erebus.Composter
Adding Entries
Add the given ItemStack to the Composter Blacklist:
groovymods.erebus.composter.addBlacklist(ItemStack)
Add the given Material to the Composter Material list:
groovymods.erebus.composter.addMaterial(Material)
Add the given ItemStack to the Composter Registry:
groovymods.erebus.composter.addRegistry(ItemStack)
Example
mods.erebus.composter.addBlacklist(item('erebus:wall_plants', 7))
mods.erebus.composter.addBlacklist(item('erebus:wall_plants_cultivated', 7))
mods.erebus.composter.addMaterial(blockmaterial('tnt'))
mods.erebus.composter.addRegistry(item('minecraft:gold_ingot'))
Removing Entries
Removes all matching ItemStacks from the Blacklist:
groovymods.erebus.composter.removeFromBlacklist(IIngredient)
Removes the provided Material from the Material list:
groovymods.erebus.composter.removeFromMaterial(Material)
Removes all matching ItemStacks from the Registry:
groovymods.erebus.composter.removeFromRegistry(IIngredient)
Removes all entries from the Blacklist:
groovymods.erebus.composter.removeAllFromBlacklist()
Removes all entries from the Material list:
groovymods.erebus.composter.removeAllFromMaterial()
Removes all entries from the Registry:
groovymods.erebus.composter.removeAllFromRegistry()
Example
mods.erebus.composter.removeFromBlacklist(item('erebus:wall_plants', 1))
mods.erebus.composter.removeFromMaterial(blockmaterial('sponge'))
mods.erebus.composter.removeFromRegistry(item('minecraft:stick'))
mods.erebus.composter.removeAllFromBlacklist()
mods.erebus.composter.removeAllFromMaterial()
mods.erebus.composter.removeAllFromRegistry()