Move to JEI, blacklist Aether gravitite abilities

This commit is contained in:
oitsjustjose 2024-04-24 21:47:55 -05:00
commit 9b15cf397b
3 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,3 @@
ServerEvents.recipes(event => {
event.replaceOutput({ id: 'techreborn:crafting_table/manual' }, 'techreborn:manual', Item.of('patchouli:guide_book', '{"patchouli:book":"patchouli:tr_guide"}'));
});

View file

@ -1,3 +1,18 @@
ServerEvents.tags('block', event => {
event.add('irons_spellbooks:spectral_hammer_mineable', ['twigs:rhyolite', 'twigs:schist']);
});
ServerEvents.tags('entity_type', event => {
// Make all entities unlaunchable -- this is a workaround because the ability to yeet mobs in the air is more annoying than helpful...
event.add(
'aether:unlaunchable',
Utils.getRegistryIds(new ResourceLocation('minecraft', 'entity_type')).map(x => `${x.getNamespace()}:${x.getPath()}`)
);
});
ServerEvents.tags('block', event => {
event.add(
'aether:gravitite_ability_blacklist',
Utils.getRegistryIds(new ResourceLocation('minecraft', 'block')).map(x => `${x.getNamespace()}:${x.getPath()}`)
);
});