mirror of
https://github.com/JonasunderscoreJones/NotEnoughCursedness.git
synced 2025-10-23 12:39:19 +02:00
added AK-47
This commit is contained in:
parent
516bf1607c
commit
75767bf470
4 changed files with 23 additions and 0 deletions
|
@ -14,6 +14,7 @@ public class ModItems {
|
|||
private static Item NEGATIVE_FLINT_ITEM;
|
||||
private static Item LETTER_ITEM;
|
||||
private static Item CHAINMAIL_ITEM;
|
||||
private static Item AK47_ITEM;
|
||||
|
||||
public static void register() {
|
||||
ToolItem DIRT_SWORD = new SwordItem(DirtToolMaterial.INSTANCE, 1, -3.0F, new Item.Settings());
|
||||
|
@ -35,5 +36,9 @@ public class ModItems {
|
|||
Item CHAINMAIL = new Item(new FabricItemSettings());
|
||||
CHAINMAIL_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "chainmail"), CHAINMAIL);
|
||||
ModRegistries.register_item(CHAINMAIL_ITEM);
|
||||
|
||||
Item AK47 = new Item(new FabricItemSettings());
|
||||
AK47_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "ak_47"), AK47);
|
||||
ModRegistries.register_item(AK47_ITEM);
|
||||
}
|
||||
}
|
||||
|
|
6
src/main/resources/assets/nec/models/item/ak_47.json
Normal file
6
src/main/resources/assets/nec/models/item/ak_47.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:item/handheld",
|
||||
"textures": {
|
||||
"layer0": "nec:item/ak_47"
|
||||
}
|
||||
}
|
BIN
src/main/resources/assets/nec/textures/item/ak_47.png
Normal file
BIN
src/main/resources/assets/nec/textures/item/ak_47.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 291 B |
12
src/main/resources/data/nec/recipes/ak_47.json
Normal file
12
src/main/resources/data/nec/recipes/ak_47.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"type": "minecraft:smithing",
|
||||
"base": {
|
||||
"item": "minecraft:bow"
|
||||
},
|
||||
"addition": {
|
||||
"item": "minecraft:iron_ingot"
|
||||
},
|
||||
"result": {
|
||||
"item": "nec:ak_47"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue