Integer Limit 8e06d6fb87
Hide Modded Buckets from JEI (#858)
[FEATURE]

[FIXUP]
sha = "bf4055fbe4092d72f68bb40bb5d88c624ce5b074"
changeFixes = false
newBody = '''
[EXPAND]
  [[messages]]
  messageTitle = "Upgrade AE2 Stuff to AE2 Stuff Unofficial"
  messageBody = """
    [BREAKING]

    [DETAILS]
      details = [
        \"Pattern Encoders have been Removed!\",
        \"Any existing Pattern Encoders, whether items, in patterns or placed, have been remapped to AE2 Interfaces.\",
        \"All Usages in Recipes have also been changed to AE2 Interfaces!\",
      ]
    [DETAILS]

    [PRIORITY]
      priority=25
    [PRIORITY]
  """
 
  [[messages]]
  messageTitle = "Update GT to 2.8.10"
  messageBody = """
    [BREAKING]

    [DETAILS]
      details = [
        \"Allows GregTech Data Sticks to Copy ME Hatch Settings\",
        \"Adds an 'Stocking' Version of ME Hatches and Buses\",
        \"Support for Displaying Power Substation on Central Monitor\",
      ]
    [DETAILS]

    [PRIORITY]
      priority=20
    [PRIORITY]

    [IGNORE]
      checks = { compareBefore = \"1.7-alpha-4\" } # Only apply this if the commit being compared against is 1.7-alpha-4 or newer
    [IGNORE]
  """
  
  [[messages]]
  messageTitle = "Update Nomi Labs to 0.7.0"
  messageBody = """
    [BREAKING]

    [DETAILS]
      details = [
        \"Improvement of the DME Simulation Chamber\",
        [\"Now increases Tiers and Data Counts of Models\", \"Now is Parallelizable\"],
        \"Improvement of the Universal Crystalizer\",
        [\"Now Accepts Laser Hatches\", \"Now is Parallelizable\"],
        \"Custom Implementation of Difficulty Lock, now works on Dedicated Servers\",
        \"Replacement of the Void Dimension, fixing issues with Difficulty Changing\",
        \"Replacement of Custom Window Titles and Logos, Allowing the Removal of Random Patches\",
        \"Improvements to FTB Utils and Effortless Building\",
        \"Allows Setting of Default Keybinds for New Players\",
      ]
    [DETAILS]

    [PRIORITY]
      priority=15
    [PRIORITY]
  """
[EXPAND]
'''
[FIXUP]
2024-08-04 20:49:42 +10:00

67 lines
2.4 KiB
Groovy

import com.nomiceu.nomilabs.util.LabsModeHelper
import static com.nomiceu.nomilabs.groovy.GroovyHelpers.JEIHelpers.*
/* Item Removals */
// AR
mods.jei.ingredient.removeAndHide(item('advancedrocketry:crystal:*')) // Random Crystal Blocks
// Armor Plus
mods.jei.ingredient.removeAndHide(item('armorplus:block_melting_obsidian')) // Null Texture Item
// Thermal
removeAndHideItemIgnoreNBT(item('thermalexpansion:machine', 13)) // Arcane Ensorcellator
removeAndHideItemIgnoreNBT(item('thermalexpansion:device', 9)) // Decoctive Diffuser
removeAndHideItemIgnoreNBT(item('thermalexpansion:device', 8)) // Insightful Condenser
// Nomi Labs
if (LabsModeHelper.expert) {
mods.jei.ingredient.removeAndHide(item('nomilabs:impossiblerealmdata'))
}
// Modded Buckets
hideItemIgnoreNBT(item('forge:bucketfilled'))
/* Remove Categories (Appear Randomly after /gs reload) */
// Avatitia
mods.jei.category.hideCategory('Avatitia.Extreme')
// DME
if (LabsModeHelper.expert) {
mods.jei.category.hideCategory('deepmoblearning.simulation_chamber')
mods.jei.category.hideCategory('deepmoblearning.extraction_chamber')
mods.jei.category.hideCategory('deepmoblearning.trial_keystone')
}
// EIO
mods.jei.category.hideCategory('CombustionGenerator')
mods.jei.category.hideCategory('Enchanter')
mods.jei.category.hideCategory('GrindingBall')
mods.jei.category.hideCategory('SagMill')
mods.jei.category.hideCategory('SolarPanel')
mods.jei.category.hideCategory('StirlingGenerator')
// AR
mods.jei.category.hideCategory('zmaster587.AR.rollingMachine')
mods.jei.category.hideCategory('zmaster587.AR.lathe')
mods.jei.category.hideCategory('zmaster587.AR.precisionAssembler')
mods.jei.category.hideCategory('zmaster587.AR.sawMill')
mods.jei.category.hideCategory('zmaster587.AR.chemicalReactor')
mods.jei.category.hideCategory('zmaster587.AR.crystallizer')
mods.jei.category.hideCategory('zmaster587.AR.electrolyzer')
mods.jei.category.hideCategory('zmaster587.AR.arcFurnace')
mods.jei.category.hideCategory('zmaster587.AR.platePresser')
mods.jei.category.hideCategory('zmaster587.AR.centrifuge')
// Armor Plus
mods.jei.category.hideCategory('armorplus:lava_infuser_infusing')
mods.jei.category.hideCategory('armorplus:high_tech_bench')
mods.jei.category.hideCategory('armorplus:ulti_tech_bench')
mods.jei.category.hideCategory('armorplus:workbench')
// Vanilla
if (LabsModeHelper.expert) {
mods.jei.category.hideCategory('jeresources.mob')
}