Fixes and stuff

This commit is contained in:
oitsjustjose 2022-03-06 17:46:25 -06:00
commit e55cd72868
7 changed files with 210 additions and 25 deletions

View file

@ -30,23 +30,15 @@ onEvent('recipes', event => {
event.remove({output: 'appliedenergistics2:wireless_receiver'});
event.remove({output: 'appliedenergistics2:wireless_booster'});
event.remove({output: 'ae2wtlib:infinity_booster_card'});
event.remove({output: 'aeinfinitybooster:infinity_card'});
event.remove({output: 'aeinfinitybooster:dimension_card'});
event.remove({output: 'appliedenergistics2:energy_acceptor'});
event.shaped('1x aeinfinitybooster:infinity_card', ['SWS', 'WNW', 'III'], {
event.shaped('1x ae2wtlib:infinity_booster_card', ['SWS', 'WNW', 'III'], {
W: 'appliedenergistics2:wireless_booster',
I: '#forge:ingots/netherite',
N: 'minecraft:nether_star',
S: 'kubejs:fluxed_singularity',
});
event.shaped('1x aeinfinitybooster:dimension_card', ['WNW', 'NSN', 'WNW'], {
W: 'aeinfinitybooster:infinity_card',
N: 'minecraft:nether_star',
S: 'kubejs:fluxed_singularity',
});
global.genCombinedRecipe(
event,
Ingredient.of('storagenetwork:master'),

View file

@ -19,12 +19,14 @@ onEvent('recipes', event => {
});
// Quark Elytra duplication via Dragon Scale
const inputWithTooltip = Item.of('customizableelytra:customizable_elytra', {
display: {
Lore: ['[{"text":"(Is not consumed in this process)","italic":false, "color":"dark_aqua"}]'],
},
});
event
.shapeless('customizableelytra:customizable_elytra', [
'customizableelytra:customizable_elytra',
'quark:dragon_scale',
])
.keepIngredient('customizableelytra:customizable_elytra');
.shapeless('customizableelytra:customizable_elytra', [inputWithTooltip, 'quark:dragon_scale'])
.keepIngredient(inputWithTooltip);
// Tarantula Hawk Elytra
event.shaped('alexsmobs:tarantula_hawk_elytra', ['WEW'], {
@ -55,8 +57,13 @@ onEvent('entity.spawned', event => {
if (!itemEntity || !itemEntity.getItem()) {
return;
}
if (itemEntity.getItem().getId() === 'minecraft:elytra') {
itemEntity.setItem(Item.of('customizableelytra:customizable_elytra'));
const newItem = Item.of('customizableelytra:customizable_elytra');
if (itemEntity.getItem().getNbt()) {
newItem.setNbt(itemEntity.getItem().getNbt());
}
itemEntity.setItem(newItem);
}
}
});

View file

@ -87,21 +87,21 @@ onEvent('recipes', event => {
);
// Crushing compatibility for Create Wheat Flour
evt.custom({
event.custom({
type: 'immersiveengineering:crusher',
result: {count: 1, base_ingredient: {item: 'create:wheat_flour'}},
secondaries: [],
input: {item: 'minecraft:wheat'},
result: {item: 'create:wheat_flour', count: 1},
secondaries: [{chance: 0.15, item: 'create:wheat_flour'}],
energy: 200,
energy: 6020000,
});
evt.custom({
event.custom({
type: 'mekanism:enriching',
input: {ingredient: {item: 'minecraft:wheat'}},
output: {item: 'create:wheat_flour'},
});
evt.custom({
event.custom({
type: 'thermal:pulverizer',
ingredient: {item: 'minecraft:wheat'},
result: [{item: 'create:wheat_flour'}],