An AE2 addon that provides a wearable personal terminal to replace inventory and configurable virtual autocrafting recipes through a new communication_relay block.
Replacing the vanilla player inventory with an ME system in modpacks traditionally requires extensive configuration and workarounds. This mod streamlines the entire process: equip players with a Personal Terminal in their Curios slot (pre-linked or user-bindable), and they gain direct access to the ME system.
Created for the modpack Prepare to Dye 2.
Place the block and connect to an ME network. Recipes stored in the block's NBT will appear as craftable patterns.
ServerEvents.commandRegistry(event => {
event.register(
event.commands.literal('giverelay')
.requires(src => src.hasPermission(2))
.executes(ctx => {
ctx.source.player.give(Item.of('personalmesystem:communication_relay', {
BlockEntityTag: {
CustomName: '{"text":"Trading Post"}',
Description: ['{"text":"Exchange materials"}'],
virtual_recipes: [
{
inputs: [{ item: 'minecraft:cobblestone', count: 64 }],
outputs: [{ item: 'minecraft:diamond', count: 1 }]
},
{
inputs: [{ tag: 'forge:ingots/iron', count: 9 }],
outputs: [{ item: 'minecraft:iron_block', count: 1 }]
}
]
}
}))
return 1
})
)
})
{
"inputs": [
{ "item": "minecraft:diamond", "count": 1 },
{ "tag": "forge:ingots/gold", "count": 4 }
],
"outputs": [
{ "item": "minecraft:netherite_ingot", "count": 1 }
]
}
personalmesystem-server.toml)powerUsage - AE power consumed per virtual craft (default: 0)personalmesystem-client.toml)showRecipeTooltips - Show recipes in item tooltips (default: true)maxTooltipRecipes - Max recipes shown in tooltips (default: 3)MIT