added chainmail and letter

This commit is contained in:
Jonas_Jones 2023-04-05 03:55:48 +02:00
parent d3bb7689b5
commit 516bf1607c
11 changed files with 121 additions and 0 deletions

View file

@ -12,6 +12,8 @@ public class ModItems {
private static Item STEEL_ITEM;
private static ToolItem DIRT_SWORD_ITEM;
private static Item NEGATIVE_FLINT_ITEM;
private static Item LETTER_ITEM;
private static Item CHAINMAIL_ITEM;
public static void register() {
ToolItem DIRT_SWORD = new SwordItem(DirtToolMaterial.INSTANCE, 1, -3.0F, new Item.Settings());
@ -25,5 +27,13 @@ public class ModItems {
Item NEGATIVE_FLINT = new Item(new FabricItemSettings());
NEGATIVE_FLINT_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "negative_flint"), NEGATIVE_FLINT);
ModRegistries.register_item(NEGATIVE_FLINT_ITEM);
Item LETTER = new Item(new FabricItemSettings());
LETTER_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "letter"), LETTER);
ModRegistries.register_item(LETTER_ITEM);
Item CHAINMAIL = new Item(new FabricItemSettings());
CHAINMAIL_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "chainmail"), CHAINMAIL);
ModRegistries.register_item(CHAINMAIL_ITEM);
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "nec:item/chainmail"
}
}

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "nec:item/letter"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

View file

@ -0,0 +1,15 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "nec:letter"
},
{
"item": "minecraft:chain"
}
],
"result": {
"item": "nec:chainmail",
"count": 1
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
" ",
"A A",
"A A"
],
"key": {
"A": {
"item": "nec:chainmail"
}
},
"result": {
"item": "minecraft:chainmail_boots"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"A A",
"AAA",
"AAA"
],
"key": {
"A": {
"item": "nec:chainmail"
}
},
"result": {
"item": "minecraft:chainmail_chestplate"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"AAA",
"A A",
" "
],
"key": {
"A": {
"item": "nec:chainmail"
}
},
"result": {
"item": "minecraft:chainmail_helmet"
}
}

View file

@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"AAA",
"A A",
"A A"
],
"key": {
"A": {
"item": "nec:chainmail"
}
},
"result": {
"item": "minecraft:chainmail_leggings"
}
}

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"ABA",
"AAA",
"AAA"
],
"key": {
"A": {
"item": "minecraft:paper"
},
"B": {
"item": "minecraft:honeycomb"
}
},
"result": {
"item": "nec:letter",
"count": 8
}
}