虚拟合成卡添加配方,占位贴图,加到创造物品栏。
This commit is contained in:
parent
0b5fb458c0
commit
109a51f977
|
|
@ -88,7 +88,7 @@ dependencies {
|
||||||
modImplementation "appeng:appliedenergistics2-forge:${ae2_version}"
|
modImplementation "appeng:appliedenergistics2-forge:${ae2_version}"
|
||||||
modImplementation "org.appliedenergistics:guideme:${guideme_version}"
|
modImplementation "org.appliedenergistics:guideme:${guideme_version}"
|
||||||
modImplementation "curse.maven:applied-energistics-2-wireless-terminals-459929:${wireless_terminals_version}"
|
modImplementation "curse.maven:applied-energistics-2-wireless-terminals-459929:${wireless_terminals_version}"
|
||||||
modImplementation "curse.maven:applied-flux-965012:6755986"
|
modCompileOnly "curse.maven:applied-flux-965012:6755986"
|
||||||
modImplementation "curse.maven:mega-cells-622112:${mega_cells_version}"
|
modImplementation "curse.maven:mega-cells-622112:${mega_cells_version}"
|
||||||
|
|
||||||
//mae2
|
//mae2
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:recipes/root",
|
||||||
|
"criteria": {
|
||||||
|
"has_the_recipe": {
|
||||||
|
"conditions": {
|
||||||
|
"recipe": "extendedae_plus:virtual_crafting_card"
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:recipe_unlocked"
|
||||||
|
},
|
||||||
|
"has_virtual_crafting_card_ingredients": {
|
||||||
|
"conditions": {
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"items": [
|
||||||
|
"ae2:advanced_card"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"trigger": "minecraft:inventory_changed"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"requirements": [
|
||||||
|
[
|
||||||
|
"has_virtual_crafting_card_ingredients",
|
||||||
|
"has_the_recipe"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"rewards": {
|
||||||
|
"recipes": [
|
||||||
|
"extendedae_plus:virtual_crafting_card"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sends_telemetry_event": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shapeless",
|
||||||
|
"category": "misc",
|
||||||
|
"ingredients": [
|
||||||
|
{
|
||||||
|
"item": "ae2:advanced_card"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "minecraft:lever"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"item": "extendedae_plus:virtual_crafting_card"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -136,6 +136,13 @@ public class CraftingRecipes extends RecipeProvider {
|
||||||
.unlockedBy("has_advanced_card", has(AEItems.ADVANCED_CARD))
|
.unlockedBy("has_advanced_card", has(AEItems.ADVANCED_CARD))
|
||||||
.save(consumer);
|
.save(consumer);
|
||||||
|
|
||||||
|
ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, ModItems.VIRTUAL_CRAFTING_CARD.get())
|
||||||
|
.requires(AEItems.ADVANCED_CARD)
|
||||||
|
.requires(Items.CRAFTING_TABLE)
|
||||||
|
.requires(Items.LEVER)
|
||||||
|
.unlockedBy("has_virtual_crafting_card_ingredients", has(AEItems.ADVANCED_CARD))
|
||||||
|
.save(consumer);
|
||||||
|
|
||||||
// 2x Entity Speed Card
|
// 2x Entity Speed Card
|
||||||
NBTShapedRecipeBuilder.shaped(RecipeCategory.MISC, EntitySpeedCardItem.withMultiplier(2))
|
NBTShapedRecipeBuilder.shaped(RecipeCategory.MISC, EntitySpeedCardItem.withMultiplier(2))
|
||||||
.pattern("SBS")
|
.pattern("SBS")
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ public final class ModCreativeTabs {
|
||||||
output.accept(ModItems.createEntitySpeedCardStack(16));
|
output.accept(ModItems.createEntitySpeedCardStack(16));
|
||||||
// 频道卡
|
// 频道卡
|
||||||
output.accept(ModItems.CHANNEL_CARD.get());
|
output.accept(ModItems.CHANNEL_CARD.get());
|
||||||
|
output.accept(ModItems.VIRTUAL_CRAFTING_CARD.get());
|
||||||
|
|
||||||
output.accept(ModItems.OBLIVION_SINGULARITY.get());
|
output.accept(ModItems.OBLIVION_SINGULARITY.get());
|
||||||
output.accept(ModItems.BASIC_CORE.get());
|
output.accept(ModItems.BASIC_CORE.get());
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ public abstract class PatternProviderLogicCompatMixin implements IUpgradeableObj
|
||||||
// 只有在升级槽功能启用时才创建升级槽
|
// 只有在升级槽功能启用时才创建升级槽
|
||||||
this.eap$compatUpgrades = UpgradeInventories.forMachine(
|
this.eap$compatUpgrades = UpgradeInventories.forMachine(
|
||||||
host.getTerminalIcon().getItem(),
|
host.getTerminalIcon().getItem(),
|
||||||
1,
|
2,
|
||||||
this::eap$compatOnUpgradesChanged
|
this::eap$compatOnUpgradesChanged
|
||||||
);
|
);
|
||||||
} else if (channelCard) {
|
} else if (channelCard) {
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "extendedae_plus:item/virtual_crafting_card"
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 283 B |
Loading…
Reference in New Issue
Block a user