mirror of
https://github.com/JonasunderscoreJones/NotEnoughCursedness.git
synced 2025-10-23 12:39:19 +02:00
added chainmail and letter
This commit is contained in:
parent
d3bb7689b5
commit
516bf1607c
11 changed files with 121 additions and 0 deletions
|
@ -12,6 +12,8 @@ public class ModItems {
|
||||||
private static Item STEEL_ITEM;
|
private static Item STEEL_ITEM;
|
||||||
private static ToolItem DIRT_SWORD_ITEM;
|
private static ToolItem DIRT_SWORD_ITEM;
|
||||||
private static Item NEGATIVE_FLINT_ITEM;
|
private static Item NEGATIVE_FLINT_ITEM;
|
||||||
|
private static Item LETTER_ITEM;
|
||||||
|
private static Item CHAINMAIL_ITEM;
|
||||||
|
|
||||||
public static void register() {
|
public static void register() {
|
||||||
ToolItem DIRT_SWORD = new SwordItem(DirtToolMaterial.INSTANCE, 1, -3.0F, new Item.Settings());
|
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());
|
Item NEGATIVE_FLINT = new Item(new FabricItemSettings());
|
||||||
NEGATIVE_FLINT_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "negative_flint"), NEGATIVE_FLINT);
|
NEGATIVE_FLINT_ITEM = Registry.register(Registries.ITEM, new Identifier("nec", "negative_flint"), NEGATIVE_FLINT);
|
||||||
ModRegistries.register_item(NEGATIVE_FLINT_ITEM);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
6
src/main/resources/assets/nec/models/item/chainmail.json
Normal file
6
src/main/resources/assets/nec/models/item/chainmail.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "nec:item/chainmail"
|
||||||
|
}
|
||||||
|
}
|
6
src/main/resources/assets/nec/models/item/letter.json
Normal file
6
src/main/resources/assets/nec/models/item/letter.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "minecraft:item/handheld",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "nec:item/letter"
|
||||||
|
}
|
||||||
|
}
|
BIN
src/main/resources/assets/nec/textures/item/chainmail.png
Normal file
BIN
src/main/resources/assets/nec/textures/item/chainmail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 251 B |
BIN
src/main/resources/assets/nec/textures/item/letter.png
Normal file
BIN
src/main/resources/assets/nec/textures/item/letter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 223 B |
15
src/main/resources/data/nec/recipes/chainmail.json
Normal file
15
src/main/resources/data/nec/recipes/chainmail.json
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shapeless",
|
||||||
|
"ingredients": [
|
||||||
|
{
|
||||||
|
"item": "nec:letter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"item": "minecraft:chain"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"item": "nec:chainmail",
|
||||||
|
"count": 1
|
||||||
|
}
|
||||||
|
}
|
16
src/main/resources/data/nec/recipes/chainmail_boots.json
Normal file
16
src/main/resources/data/nec/recipes/chainmail_boots.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"pattern": [
|
||||||
|
" ",
|
||||||
|
"A A",
|
||||||
|
"A A"
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"A": {
|
||||||
|
"item": "nec:chainmail"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "minecraft:chainmail_boots"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"pattern": [
|
||||||
|
"A A",
|
||||||
|
"AAA",
|
||||||
|
"AAA"
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"A": {
|
||||||
|
"item": "nec:chainmail"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "minecraft:chainmail_chestplate"
|
||||||
|
}
|
||||||
|
}
|
16
src/main/resources/data/nec/recipes/chainmail_helmet.json
Normal file
16
src/main/resources/data/nec/recipes/chainmail_helmet.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"pattern": [
|
||||||
|
"AAA",
|
||||||
|
"A A",
|
||||||
|
" "
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"A": {
|
||||||
|
"item": "nec:chainmail"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "minecraft:chainmail_helmet"
|
||||||
|
}
|
||||||
|
}
|
16
src/main/resources/data/nec/recipes/chainmail_leggings.json
Normal file
16
src/main/resources/data/nec/recipes/chainmail_leggings.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
20
src/main/resources/data/nec/recipes/mail.json
Normal file
20
src/main/resources/data/nec/recipes/mail.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue