diff --git a/.gitignore b/.gitignore index 636169f..00b7834 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,8 @@ run/crash-reports run/xaero run/screenshots run/Xaero* +run/serves* +run/command_history.txt # java diff --git a/src/main/java/de/jottyfan/minecraft/item/ModItems.java b/src/main/java/de/jottyfan/minecraft/item/ModItems.java index 9f6d32b..5710549 100644 --- a/src/main/java/de/jottyfan/minecraft/item/ModItems.java +++ b/src/main/java/de/jottyfan/minecraft/item/ModItems.java @@ -13,11 +13,13 @@ import net.minecraft.world.item.Item; public class ModItems extends ModItemsRegistrator { public static final Item STUB = registerItem("stub"); public static final Item RUBY = registerItem("ruby"); + public static final Item FUTURISTIC_CROSSBOW = registerItem("futuristic_crossbow"); public static final List registerItems() { List registeredItems = new ArrayList<>(); registeredItems.add(STUB); registeredItems.add(RUBY); + registeredItems.add(FUTURISTIC_CROSSBOW); return registeredItems; } } diff --git a/src/main/resources/assets/mfmd2627/items/futuristic_crossbow.json b/src/main/resources/assets/mfmd2627/items/futuristic_crossbow.json new file mode 100644 index 0000000..f802acd --- /dev/null +++ b/src/main/resources/assets/mfmd2627/items/futuristic_crossbow.json @@ -0,0 +1,6 @@ +{ + "model":{ + "type": "minecraft:model", + "model": "minecraft:item/futuristic_crossbow" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/lang/de_de.json b/src/main/resources/assets/mfmd2627/lang/de_de.json index 90330e6..d616c9b 100644 --- a/src/main/resources/assets/mfmd2627/lang/de_de.json +++ b/src/main/resources/assets/mfmd2627/lang/de_de.json @@ -1,5 +1,6 @@ { "item.mfmd2627.stub": "Stummel", "item.mfmd2627.ruby": "Rubin", + "item.mfmd2627.futuristic_crossbow": "futuristische Armbrust", "tab.mfmd2627": "Mfmd2627" } \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/lang/en_us.json b/src/main/resources/assets/mfmd2627/lang/en_us.json index 3fbf68f..8b0f168 100644 --- a/src/main/resources/assets/mfmd2627/lang/en_us.json +++ b/src/main/resources/assets/mfmd2627/lang/en_us.json @@ -1,5 +1,6 @@ { "item.mfmd2627.stub": "Stub", "item.mfmd2627.ruby": "Ruby", + "item.mfmd2627.futuristic_crossbow": "Futuristic Crossbow", "tab.mfmd2627": "Mfmd2627" } \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/models/item/futuristic_crossbow.json b/src/main/resources/assets/mfmd2627/models/item/futuristic_crossbow.json new file mode 100644 index 0000000..78ba67b --- /dev/null +++ b/src/main/resources/assets/mfmd2627/models/item/futuristic_crossbow.json @@ -0,0 +1,7 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "mfmd2627:item/futuristic_crossbow" + } + +} \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/textures/item/futuristic_crossbow.png b/src/main/resources/assets/mfmd2627/textures/item/futuristic_crossbow.png new file mode 100644 index 0000000..8f0b755 Binary files /dev/null and b/src/main/resources/assets/mfmd2627/textures/item/futuristic_crossbow.png differ