Use HEAddons
This commit is contained in:
parent
7baf305577
commit
9a652b31e5
2 changed files with 7 additions and 19 deletions
|
|
@ -126,13 +126,4 @@ onEvent('item.tooltip', event => {
|
||||||
],
|
],
|
||||||
'§1For Decoration Only§r'
|
'§1For Decoration Only§r'
|
||||||
);
|
);
|
||||||
|
|
||||||
event.add(
|
|
||||||
[
|
|
||||||
'kubejs:desh_integral_components',
|
|
||||||
'kubejs:ostrum_integral_components',
|
|
||||||
'kubejs:calorite_integral_components',
|
|
||||||
],
|
|
||||||
'§8Too Powerful for Standard Flux Devices§r'
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -18,16 +18,6 @@ onEvent('item.registry', event => {
|
||||||
event.create('calorite_dust').texture('kubejs:item/calorite_dust');
|
event.create('calorite_dust').texture('kubejs:item/calorite_dust');
|
||||||
event.create('desh_dust').texture('kubejs:item/desh_dust');
|
event.create('desh_dust').texture('kubejs:item/desh_dust');
|
||||||
event.create('ostrum_dust').texture('kubejs:item/ostrum_dust');
|
event.create('ostrum_dust').texture('kubejs:item/ostrum_dust');
|
||||||
|
|
||||||
event
|
|
||||||
.create('calorite_integral_components')
|
|
||||||
.translationKey('item.kubejs.calorite_integral_components.name');
|
|
||||||
event
|
|
||||||
.create('desh_integral_components')
|
|
||||||
.translationKey('item.kubejs.desh_integral_components.name');
|
|
||||||
event
|
|
||||||
.create('ostrum_integral_components')
|
|
||||||
.translationKey('item.kubejs.ostrum_integral_components.name');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
onEvent('item.modification', event => {
|
onEvent('item.modification', event => {
|
||||||
|
|
@ -54,3 +44,10 @@ onEvent('item.modification', event => {
|
||||||
event.modify(cart, item => item.setMaxStackSize(16));
|
event.modify(cart, item => item.setMaxStackSize(16));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/* Version 3.2.2 removes KubeJS Integral Components in favor of HEAddons' exact same versions */
|
||||||
|
onEvent('item.missing_mappings', event => {
|
||||||
|
event.remap('kubejs:calorite_integral_components', 'headdons:calorite_integral_components');
|
||||||
|
event.remap('kubejs:desh_integral_components', 'headdons:desh_integral_components');
|
||||||
|
event.remap('kubejs:ostrum_integral_components', 'headdons:ostrum_integral_components');
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue