添加炮的配方
This commit is contained in:
parent
faf061610d
commit
11a86f4201
9 changed files with 93 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "superbwarfare:item/cannon_blueprint"
|
||||||
|
}
|
||||||
|
}
|
|
@ -129,6 +129,7 @@ public class ModItemModelProvider extends ItemModelProvider {
|
||||||
blueprintItem(ModItems.JAVELIN_BLUEPRINT);
|
blueprintItem(ModItems.JAVELIN_BLUEPRINT);
|
||||||
blueprintItem(ModItems.MK_42_BLUEPRINT);
|
blueprintItem(ModItems.MK_42_BLUEPRINT);
|
||||||
blueprintItem(ModItems.MLE_1934_BLUEPRINT);
|
blueprintItem(ModItems.MLE_1934_BLUEPRINT);
|
||||||
|
blueprintItem(ModItems.ANNIHILATOR_BLUEPRINT);
|
||||||
|
|
||||||
// blocks
|
// blocks
|
||||||
evenSimplerBlockItem(ModBlocks.BARBED_WIRE);
|
evenSimplerBlockItem(ModBlocks.BARBED_WIRE);
|
||||||
|
|
|
@ -218,6 +218,7 @@ public class ModItems {
|
||||||
public static final RegistryObject<Item> JAVELIN_BLUEPRINT = ITEMS.register("javelin_blueprint", () -> new BlueprintItem(RarityTool.LEGENDARY));
|
public static final RegistryObject<Item> JAVELIN_BLUEPRINT = ITEMS.register("javelin_blueprint", () -> new BlueprintItem(RarityTool.LEGENDARY));
|
||||||
public static final RegistryObject<Item> MK_42_BLUEPRINT = ITEMS.register("mk_42_blueprint", () -> new BlueprintItem(RarityTool.LEGENDARY));
|
public static final RegistryObject<Item> MK_42_BLUEPRINT = ITEMS.register("mk_42_blueprint", () -> new BlueprintItem(RarityTool.LEGENDARY));
|
||||||
public static final RegistryObject<Item> MLE_1934_BLUEPRINT = ITEMS.register("mle_1934_blueprint", () -> new BlueprintItem(RarityTool.LEGENDARY));
|
public static final RegistryObject<Item> MLE_1934_BLUEPRINT = ITEMS.register("mle_1934_blueprint", () -> new BlueprintItem(RarityTool.LEGENDARY));
|
||||||
|
public static final RegistryObject<Item> ANNIHILATOR_BLUEPRINT = ITEMS.register("annihilator_blueprint", () -> new BlueprintItem(RarityTool.LEGENDARY));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Block
|
* Block
|
||||||
|
|
|
@ -104,6 +104,7 @@
|
||||||
"item.superbwarfare.javelin_blueprint": "Javelin Blueprint",
|
"item.superbwarfare.javelin_blueprint": "Javelin Blueprint",
|
||||||
"item.superbwarfare.mk_42_blueprint": "5''/54 Mk42 Blueprint",
|
"item.superbwarfare.mk_42_blueprint": "5''/54 Mk42 Blueprint",
|
||||||
"item.superbwarfare.mle_1934_blueprint": "138.6mm50 Mle1934 R1938 Blueprint",
|
"item.superbwarfare.mle_1934_blueprint": "138.6mm50 Mle1934 R1938 Blueprint",
|
||||||
|
"item.superbwarfare.annihilator_blueprint": "Annihilator Energy Gun Blueprint",
|
||||||
|
|
||||||
"item.superbwarfare.common_material_pack": "Common Material Pack",
|
"item.superbwarfare.common_material_pack": "Common Material Pack",
|
||||||
"item.superbwarfare.rare_material_pack": "Rare Material Pack",
|
"item.superbwarfare.rare_material_pack": "Rare Material Pack",
|
||||||
|
|
|
@ -104,6 +104,7 @@
|
||||||
"item.superbwarfare.javelin_blueprint": "标枪导弹蓝图",
|
"item.superbwarfare.javelin_blueprint": "标枪导弹蓝图",
|
||||||
"item.superbwarfare.mk_42_blueprint": "5''/54 Mk42蓝图",
|
"item.superbwarfare.mk_42_blueprint": "5''/54 Mk42蓝图",
|
||||||
"item.superbwarfare.mle_1934_blueprint": "138.6mm50 Mle1934 R1938蓝图",
|
"item.superbwarfare.mle_1934_blueprint": "138.6mm50 Mle1934 R1938蓝图",
|
||||||
|
"item.superbwarfare.annihilator_blueprint": "歼灭者能量炮蓝图",
|
||||||
|
|
||||||
"item.superbwarfare.common_material_pack": "普通材料包",
|
"item.superbwarfare.common_material_pack": "普通材料包",
|
||||||
"item.superbwarfare.rare_material_pack": "稀有材料包",
|
"item.superbwarfare.rare_material_pack": "稀有材料包",
|
||||||
|
|
|
@ -297,6 +297,20 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "superbwarfare:annihilator_blueprint",
|
||||||
|
"weight": 5,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -423,6 +423,20 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:item",
|
||||||
|
"name": "superbwarfare:annihilator_blueprint",
|
||||||
|
"weight": 2,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"function": "set_count",
|
||||||
|
"count": {
|
||||||
|
"min": 1,
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"category": "misc",
|
||||||
|
"pattern": [
|
||||||
|
"aba",
|
||||||
|
"aca",
|
||||||
|
"aaa"
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"a": {
|
||||||
|
"item": "minecraft:diamond"
|
||||||
|
},
|
||||||
|
"b": {
|
||||||
|
"item": "superbwarfare:annihilator_blueprint"
|
||||||
|
},
|
||||||
|
"c": {
|
||||||
|
"item": "minecraft:lapis_lazuli"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "superbwarfare:annihilator_blueprint",
|
||||||
|
"count": 2
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"category": "misc",
|
||||||
|
"pattern": [
|
||||||
|
"aaa",
|
||||||
|
"bbb",
|
||||||
|
"dcd"
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"a": {
|
||||||
|
"item": "minecraft:beacon"
|
||||||
|
},
|
||||||
|
"b": {
|
||||||
|
"item": "superbwarfare:cannon_core"
|
||||||
|
},
|
||||||
|
"c": {
|
||||||
|
"item": "superbwarfare:annihilator_blueprint"
|
||||||
|
},
|
||||||
|
"d": {
|
||||||
|
"item": "minecraft:netherite_block"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "superbwarfare:container",
|
||||||
|
"nbt": {
|
||||||
|
"BlockEntityTag": {
|
||||||
|
"EntityType": "superbwarfare:annihilator"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue