First strongbow test
This commit is contained in:
4
CHANGELOG
Normal file
4
CHANGELOG
Normal file
@@ -0,0 +1,4 @@
|
||||
# Changes:
|
||||
## 1.18.1-1.0.1-unstable
|
||||
- first test and register to Strong bow (name not decided yet)
|
||||
- praying to god i did nothing wrong
|
||||
@@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx6G
|
||||
loader_version=0.12.12
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.18.1-1.0.0-stable
|
||||
mod_version = 1.18.1-1.0.1-unstable
|
||||
maven_group = ryantlg.GamerMod.mod
|
||||
archives_base_name = GamerMod
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ import net.arcmods.ryantlg.items.armour.jeremiumArmour;
|
||||
import net.arcmods.ryantlg.items.armour.notArmour;
|
||||
import net.arcmods.ryantlg.items.armour.omniumArmour;
|
||||
import net.arcmods.ryantlg.items.armour.oriumArmour;
|
||||
import net.arcmods.ryantlg.items.bows.strongBow;
|
||||
import net.arcmods.ryantlg.items.itemsByCrop.weemItems;
|
||||
import net.arcmods.ryantlg.items.metalItems.jeremiumMetals;
|
||||
import net.arcmods.ryantlg.items.metalItems.omniumMetals;
|
||||
@@ -97,6 +98,7 @@ public class gamermod implements ModInitializer {
|
||||
JeremiumOreGen.register();
|
||||
|
||||
notArmour.register();
|
||||
strongBow.register();
|
||||
|
||||
}
|
||||
//fight me
|
||||
|
||||
19
src/main/java/net/arcmods/ryantlg/items/bows/strongBow.java
Normal file
19
src/main/java/net/arcmods/ryantlg/items/bows/strongBow.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package net.arcmods.ryantlg.items.bows;
|
||||
|
||||
import net.arcmods.ryantlg.gamermod;
|
||||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
|
||||
import net.minecraft.item.BowItem;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
|
||||
public class strongBow {
|
||||
|
||||
public static final Item STRONG_BOW = new BowItem(new FabricItemSettings().group(gamermod.CHING).maxCount(1).fireproof().maxDamage(19));
|
||||
|
||||
public static void register(){
|
||||
Registry.register(Registry.ITEM, new Identifier("gamermod", "strong_bow"), STRONG_BOW);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user