added disenchanted nether star

This commit is contained in:
J-onasJones 2024-10-07 02:26:11 +02:00
parent 8dbde6f431
commit ba0dd33a12
5 changed files with 17 additions and 1 deletions

View file

@ -21,6 +21,7 @@ public class ModItems {
public static Item AK47_ITEM; public static Item AK47_ITEM;
public static Item HELMET_ON_A_STICK_ITEM; public static Item HELMET_ON_A_STICK_ITEM;
public static Item LAPIS_GOLDEN_APPLE_ITEM; public static Item LAPIS_GOLDEN_APPLE_ITEM;
public static Item DISENCHANTED_NETHER_STAR_ITEM;
public static void register() { public static void register() {
DIRT_SWORD_ITEM = (SwordItem) registerItem( DIRT_SWORD_ITEM = (SwordItem) registerItem(
@ -72,6 +73,11 @@ public class ModItems {
.build()) .build())
) )
); );
DISENCHANTED_NETHER_STAR_ITEM = registerItem(
"disenchanted_nether_star",
new Item(new Item.Settings())
);
} }
private static Item registerItem(String name, Item item) { private static Item registerItem(String name, Item item) {

View file

@ -71,6 +71,7 @@ public class ModRegistries {
entries.add(new ItemStack(ModItems.AK47_ITEM)); entries.add(new ItemStack(ModItems.AK47_ITEM));
entries.add(new ItemStack(ModItems.HELMET_ON_A_STICK_ITEM)); entries.add(new ItemStack(ModItems.HELMET_ON_A_STICK_ITEM));
entries.add(new ItemStack(ModItems.LAPIS_GOLDEN_APPLE_ITEM)); entries.add(new ItemStack(ModItems.LAPIS_GOLDEN_APPLE_ITEM));
entries.add(new ItemStack(ModItems.DISENCHANTED_NETHER_STAR_ITEM));
})) }))
.build(); .build();

View file

@ -46,10 +46,12 @@
"item.nec.ak_47": "AK-47", "item.nec.ak_47": "AK-47",
"item.nec.chainmail": "Kettenbrief", "item.nec.chainmail": "Kettenbrief",
"item.nec.dirt_sword": "Erdschwert", "item.nec.dirt_sword": "Erdschwert",
"item.nec.disenchanted_nether_star": "Entzauberter Netherstern",
"item.nec.helmet_on_a_stick": "Helm auf einem Stock", "item.nec.helmet_on_a_stick": "Helm auf einem Stock",
"item.nec.lapis_golden_apple": "Wenn du nicht genug Gold hast, also benutzt du Lapis stattdessen Goldener Apfel", "item.nec.lapis_golden_apple": "Wenn du nicht genug Gold hast, also benutzt du Lapis stattdessen Goldener Apfel",
"item.nec.letter": "Brief", "item.nec.letter": "Brief",
"item.nec.negative_flint": "Negativer Feuerstein", "item.nec.negative_flint": "Negativer Feuerstein",
"item.nec.steel": "Zeug", "item.nec.steel": "Zeug",
"text.nec.splashscreen": "Not Enough Cursedness" "text.nec.splashscreen": "Not Enough Cursedness",
"item.nec.disenchanted_nether_star": "Disenchanted Nether Star"
} }

View file

@ -46,6 +46,7 @@
"item.nec.ak_47": "AK-47", "item.nec.ak_47": "AK-47",
"item.nec.chainmail": "Chainmail", "item.nec.chainmail": "Chainmail",
"item.nec.dirt_sword": "Dirt Sword", "item.nec.dirt_sword": "Dirt Sword",
"item.nec.disenchanted_nether_star": "Disenchanted Nether Star",
"item.nec.helmet_on_a_stick": "Helmet on a Stick", "item.nec.helmet_on_a_stick": "Helmet on a Stick",
"item.nec.lapis_golden_apple": "When You Don't Have Enough Gold So You Use Lapis Instead Golden Apple", "item.nec.lapis_golden_apple": "When You Don't Have Enough Gold So You Use Lapis Instead Golden Apple",
"item.nec.letter": "Letter", "item.nec.letter": "Letter",

View file

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