Skip to content

Insightful Condenser (Thermal Expansion)

Description

Collects experience orbs nearby, with the ability to increase the XP gained via catalyst itemstacks.

Identifier

Refer to this via any of the following:

groovy
mods.thermal.xp_collector
mods.thermal.xpcollector
mods.thermal.xpCollector
mods.thermal.XpCollector
mods.thermalexpansion.xp_collector/* Used as page default */
mods.thermalexpansion.xpcollector
mods.thermalexpansion.xpCollector
mods.thermalexpansion.XpCollector

Adding Entries

  • Adds recipes in the format catalyst, xp, factor:

    groovy
    mods.thermalexpansion.xp_collector.add(ItemStack, int, int)
Example
groovy
mods.thermalexpansion.xp_collector.add(item('minecraft:clay'), 100, 30)

Removing Entries

  • Removes the given ItemStack as a valid catalyst item:

    groovy
    mods.thermalexpansion.xp_collector.remove(ItemStack)
  • Removes all registered recipes:

    groovy
    mods.thermalexpansion.xp_collector.removeAll()
Example
groovy
mods.thermalexpansion.xp_collector.remove(item('minecraft:soul_sand'))
mods.thermalexpansion.xp_collector.removeAll()

Getting the value of entries

  • Iterates through every entry in the registry, with the ability to call remove on any element to remove it:

    groovy
    mods.thermalexpansion.xp_collector.streamRecipes()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.