Add more jeremium items

This commit is contained in:
RyanTLG
2022-04-05 19:04:49 +02:00
parent 0775acf2d0
commit 04c7e396e4
35 changed files with 425 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
package net.arcmods.ryantlg.items.metalItems;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.itemClasses.jeremiumItem;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity;
@@ -8,8 +9,8 @@ import net.minecraft.util.registry.Registry;
public class jeremiumMetals {
public static final Item JEREMIUM = new Item(new Item.Settings().fireproof().group(gamermod.CHING).maxCount(64).rarity(Rarity.UNCOMMON));
public static final Item RAW_JEREMIUM = new Item(new Item.Settings().fireproof().group(gamermod.CHING).maxCount(64).rarity(Rarity.UNCOMMON));
public static final Item JEREMIUM = new jeremiumItem(new Item.Settings().fireproof().group(gamermod.CHING).maxCount(56).rarity(Rarity.UNCOMMON));
public static final Item RAW_JEREMIUM = new jeremiumItem(new Item.Settings().fireproof().group(gamermod.CHING).maxCount(56).rarity(Rarity.UNCOMMON));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_ingot"), JEREMIUM);

View File

@@ -0,0 +1,35 @@
package net.arcmods.ryantlg.items.tools;
import net.arcmods.ryantlg.gamermod;
import net.arcmods.ryantlg.customToolItemClasses.jeremium.JeremiumAxeItem;
import net.arcmods.ryantlg.customToolItemClasses.jeremium.JeremiumHoeItem;
import net.arcmods.ryantlg.customToolItemClasses.jeremium.JeremiumPickaxeItem;
import net.arcmods.ryantlg.customToolItemClasses.jeremium.JeremiumShovelItem;
import net.arcmods.ryantlg.customToolItemClasses.jeremium.JeremiumSwordItem;
import net.arcmods.ryantlg.toolMaterials.jeremiumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ToolItem;
import net.minecraft.util.Identifier;
import net.minecraft.util.Rarity;
import net.minecraft.util.registry.Registry;
public class jeremiumTools {
public static ToolItem JEREMIUM_SWORD = new JeremiumSwordItem(jeremiumToolMaterial.INSTANCE, 3, -2.9F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_PICKAXE = new JeremiumPickaxeItem(jeremiumToolMaterial.INSTANCE, -10, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_SHOVEL = new JeremiumShovelItem(jeremiumToolMaterial.INSTANCE, -11, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_AXE = new JeremiumAxeItem(jeremiumToolMaterial.INSTANCE, 5, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static ToolItem JEREMIUM_HOE = new JeremiumHoeItem(jeremiumToolMaterial.INSTANCE, -12, -3.0F, new Item.Settings().fireproof().group(gamermod.THING).rarity(Rarity.EPIC));
public static void register() {
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_sword"), JEREMIUM_SWORD);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_pickaxe"), JEREMIUM_PICKAXE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_shovel"), JEREMIUM_SHOVEL);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_axe"), JEREMIUM_AXE);
Registry.register(Registry.ITEM, new Identifier("gamermod", "jeremium_hoe"), JEREMIUM_HOE);
gamermod.LOGGER.info("jeremiumTools loaded");
}
}