Cleanup functions

This commit is contained in:
oitsjustjose 2022-02-28 08:28:15 -06:00
commit f0e31ea0ba

View file

@ -258,55 +258,34 @@ onEvent('server.datapack.first', _ => {
evt.custom({ evt.custom({
type: 'immersiveengineering:crusher', type: 'immersiveengineering:crusher',
input: main, input: main,
result: { result: {count: output.getCount(), base_ingredient: {item: output.getId()}},
count: output.getCount(),
base_ingredient: {item: output.getId()},
},
energy: 1500 * t, energy: 1500 * t,
}); });
evt.custom({ evt.custom({
type: 'create:milling', type: 'create:milling',
ingredients: [main], ingredients: [main],
results: [ results: [{item: output.getId(), count: output.getCount()}],
{
item: output.getId(),
count: output.getCount(),
},
],
processingTime: 500 * t, processingTime: 500 * t,
}); });
evt.custom({ evt.custom({
type: 'create:crushing', type: 'create:crushing',
ingredients: [main], ingredients: [main],
results: [ results: [{item: output.getId(), count: output.getCount()}],
{
item: output.getId(),
count: output.getCount(),
},
],
processingTime: 400 * t, processingTime: 400 * t,
}); });
evt.custom({ evt.custom({
type: 'mekanism:crushing', type: 'mekanism:crushing',
input: {ingredient: main}, input: {ingredient: main},
output: { output: {item: output.getId(), count: output.getCount()},
item: output.getId(),
count: output.getCount(),
},
}); });
evt.custom({ evt.custom({
type: 'thermal:pulverizer', type: 'thermal:pulverizer',
ingredient: main, ingredient: main,
result: [ result: [{item: output.getId(), count: output.getCount()}],
{
item: output.getId(),
count: output.getCount(),
},
],
experience: 0, experience: 0,
}); });
}; };