KubeJS

KubeJS

61M Downloads

Extreme Reactors' recpies don't get removed for some reason

MCEventHorizon opened this issue ยท 2 comments

commented

`events.listen('recipes', event => {

event.remove({id: 'angelring:itemring'})
event.remove({id: 'bigreactors:basic_reactorcasing'})
event.remove({id: 'bigreactors:reinforced_reactorcasing'})
event.shaped(Item.of('bigreactors:basic_reactorcasing', 2), [
	'IGI',
	'GCG',
	'IGI'
  ], {
	I: '#forge:ingots/iron',
	G: '#forge:ingots/graphite',
	C: 'thermal:machine_frame'
  })
event.shaped(Item.of('angelring:itemring', 1), [
	'GHG',
	'UDM',
	'GNG'],
	{
		G: '#forge:ingots/gold',
		H: 'simplyjetpacks:jetpack_ie3',
		U: 'simplyjetpacks:jetpack_mek4',
		D: 'angelring:itemdiamondring',
		M: 'mekanism:jetpack_armored',
		N: 'minecraft:nether_star'
	}
)
event.shaped(Item.of('bigreactors:reinforced_reactorcasing', 2), [
	'SGS',
	'GCG',
	'SGS'
  ], {
	S: '#forge:plates/steel',
	C: 'mekanism:steel_casing',
	G: '#forge:ingots/graphite'
  })

})`

Rest of the recipes from here work normally, but Extreme Reactor recipes are still there:
Screenshot_2
Screenshot_3

commented

In event.remove, the id value refers to the recipe id, not the id of the output item (use output for that)

event.remove({id: 'angelring:itemring'})
event.remove({id: 'bigreactors:basic_reactorcasing'})
event.remove({id: 'bigreactors:reinforced_reactorcasing'})

Either change all of these to "output" instead of "id" or get the individual recipe ids and remove them like that

commented

Alright, thank you, haven't been able to figure that out on my own.