diff --git a/build.gradle b/build.gradle index e841ac1..dca5c8b 100644 --- a/build.gradle +++ b/build.gradle @@ -16,6 +16,7 @@ repositories { // Loom adds the essential maven repositories to download Minecraft and libraries from automatically. // See https://docs.gradle.org/current/userguide/declaring_repositories.html // for more information about repositories. + maven { url "https://maven.shedaniel.me" } } dependencies { @@ -29,6 +30,9 @@ dependencies { // PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs. // You may need to force-disable transitiveness on them. + modImplementation("me.shedaniel.cloth:cloth-config-fabric:${cloth_config_version}") { + exclude(group: "net.fabricmc.fabric-api") + } } processResources { diff --git a/gradle.properties b/gradle.properties index 10d32f5..c593110 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,3 +14,4 @@ org.gradle.jvmargs=-Xmx1G # Dependencies fabric_version=0.39.2+1.17 + cloth_config_version=5.0.38 \ No newline at end of file diff --git a/src/main/java/dk/palmoe/immersivetools/ImmersiveTools.java b/src/main/java/dk/palmoe/immersivetools/ImmersiveTools.java new file mode 100644 index 0000000..28f9e50 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/ImmersiveTools.java @@ -0,0 +1,25 @@ +package dk.palmoe.immersivetools; + +import net.fabricmc.api.ModInitializer; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import dk.palmoe.immersivetools.init.ItemInit; + +public class ImmersiveTools implements ModInitializer { + // This logger is used to write text to the console and the log file. + // It is considered best practice to use your mod id as the logger's name. + // That way, it's clear which mod wrote info, warnings, and errors. + public static final Logger LOGGER = LogManager.getLogger("immersivetools"); + + @Override + public void onInitialize() { + // This code runs as soon as Minecraft is in a mod-load-ready state. + // However, some things (like resources) may still be uninitialized. + // Proceed with mild caution. + + ItemInit.init(); + + // TODO: remove when mod is done + LOGGER.info("Initialized Immersive Tools"); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/Util.java b/src/main/java/dk/palmoe/immersivetools/Util.java new file mode 100644 index 0000000..2b597c3 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/Util.java @@ -0,0 +1,11 @@ +package dk.palmoe.immersivetools; + +import net.minecraft.util.Identifier; + +public class Util { + private static final String MOD_ID = "immersivetools"; + + public static Identifier ID(String path) { + return new Identifier(MOD_ID, path); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/init/ItemInit.java b/src/main/java/dk/palmoe/immersivetools/init/ItemInit.java new file mode 100644 index 0000000..26e1b83 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/init/ItemInit.java @@ -0,0 +1,65 @@ +package dk.palmoe.immersivetools.init; + +import dk.palmoe.immersivetools.Util; +import dk.palmoe.immersivetools.item.*; +import net.minecraft.util.registry.Registry; +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.item.ArmorMaterial; +import net.minecraft.item.Item; +import net.minecraft.item.ItemGroup; + +public class ItemInit { + + // Copper + public static final CopperPickaxeItem COPPER_PICKAXE_ITEM = new CopperPickaxeItem( + new Item.Settings().group(ItemGroup.TOOLS)); + public static final CopperAxeItem COPPER_AXE_ITEM = new CopperAxeItem( + new Item.Settings().group(ItemGroup.TOOLS)); + public static final CopperShovelItem COPPER_SHOVEL_ITEM = new CopperShovelItem( + new Item.Settings().group(ItemGroup.TOOLS)); + public static final CopperHoeItem COPPER_HOE_ITEM = new CopperHoeItem( + new Item.Settings().group(ItemGroup.TOOLS)); + public static final CopperSwordItem COPPER_SWORD_ITEM = new CopperSwordItem( + new Item.Settings().group(ItemGroup.COMBAT)); + + public static final ArmorMaterial COPPER_ARMOR_MATERIAL = CopperArmorMaterial.getInstance(); + public static final Item COPPER_HELMET = new CopperArmor(COPPER_ARMOR_MATERIAL, EquipmentSlot.HEAD, + new Item.Settings().group(ItemGroup.COMBAT)); + public static final Item COPPER_CHESTPLATE = new CopperArmor(COPPER_ARMOR_MATERIAL, EquipmentSlot.CHEST, + new Item.Settings().group(ItemGroup.COMBAT)); + public static final Item COPPER_LEGGINGS = new CopperArmor(COPPER_ARMOR_MATERIAL, EquipmentSlot.LEGS, + new Item.Settings().group(ItemGroup.COMBAT)); + public static final Item COPPER_BOOTS = new CopperArmor(COPPER_ARMOR_MATERIAL, EquipmentSlot.FEET, + new Item.Settings().group(ItemGroup.COMBAT)); + + // Flint + public static final FlintPickaxeItem FLINT_PICKAXE_ITEM = new FlintPickaxeItem( + new Item.Settings().group(ItemGroup.TOOLS)); + public static final FlintAxeItem FLINT_AXE_ITEM = new FlintAxeItem(new Item.Settings().group(ItemGroup.TOOLS)); + public static final FlintShovelItem FLINT_SHOVEL_ITEM = new FlintShovelItem( + new Item.Settings().group(ItemGroup.TOOLS)); + public static final FlintHoeItem FLINT_HOE_ITEM = new FlintHoeItem(new Item.Settings().group(ItemGroup.TOOLS)); + public static final FlintSwordItem FLINT_SWORD_ITEM = new FlintSwordItem( + new Item.Settings().group(ItemGroup.COMBAT)); + + public static void init() { + // Copper + Registry.register(Registry.ITEM, Util.ID("copper_pickaxe"), COPPER_PICKAXE_ITEM); + Registry.register(Registry.ITEM, Util.ID("copper_axe"), COPPER_AXE_ITEM); + Registry.register(Registry.ITEM, Util.ID("copper_shovel"), COPPER_SHOVEL_ITEM); + Registry.register(Registry.ITEM, Util.ID("copper_hoe"), COPPER_HOE_ITEM); + Registry.register(Registry.ITEM, Util.ID("copper_sword"), COPPER_SWORD_ITEM); + + Registry.register(Registry.ITEM, Util.ID("copper_helmet"), COPPER_HELMET); + Registry.register(Registry.ITEM, Util.ID("copper_chestplate"), COPPER_CHESTPLATE); + Registry.register(Registry.ITEM, Util.ID("copper_leggings"), COPPER_LEGGINGS); + Registry.register(Registry.ITEM, Util.ID("copper_boots"), COPPER_BOOTS); + + // Flint + Registry.register(Registry.ITEM, Util.ID("flint_pickaxe"), FLINT_PICKAXE_ITEM); + Registry.register(Registry.ITEM, Util.ID("flint_axe"), FLINT_AXE_ITEM); + Registry.register(Registry.ITEM, Util.ID("flint_shovel"), FLINT_SHOVEL_ITEM); + Registry.register(Registry.ITEM, Util.ID("flint_hoe"), FLINT_HOE_ITEM); + Registry.register(Registry.ITEM, Util.ID("flint_sword"), FLINT_SWORD_ITEM); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/CopperArmor.java b/src/main/java/dk/palmoe/immersivetools/item/CopperArmor.java new file mode 100644 index 0000000..d43a09f --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/CopperArmor.java @@ -0,0 +1,13 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.item.ArmorItem; +import net.minecraft.item.ArmorMaterial; + +public class CopperArmor extends ArmorItem { + + public CopperArmor(ArmorMaterial material, EquipmentSlot slot, Settings settings) { + super(material, slot, settings); + } + +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/CopperArmorMaterial.java b/src/main/java/dk/palmoe/immersivetools/item/CopperArmorMaterial.java new file mode 100644 index 0000000..bb5fd9d --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/CopperArmorMaterial.java @@ -0,0 +1,67 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.entity.EquipmentSlot; +import net.minecraft.item.ArmorMaterial; +import net.minecraft.recipe.Ingredient; +import net.minecraft.sound.SoundEvent; +import net.minecraft.sound.SoundEvents; + +public class CopperArmorMaterial implements ArmorMaterial { + private static final int[] BASE_DURABILITY = new int[] { 13, 15, 16, 11 }; + private static final int[] PROTECTION_VALUES = new int[] { 2, 5, 4, 1 }; + + private static CopperArmorMaterial INSTANCE = null; + + private CopperArmorMaterial() { + } + + public static CopperArmorMaterial getInstance() { + if (INSTANCE == null) { + INSTANCE = new CopperArmorMaterial(); + } + return INSTANCE; + } + + // TODO: Make copper armor properties configurable + @Override + public int getDurability(EquipmentSlot slot) { + return BASE_DURABILITY[slot.getEntitySlotId()] * 10; + } + + @Override + public int getProtectionAmount(EquipmentSlot slot) { + return PROTECTION_VALUES[slot.getEntitySlotId()]; + } + + @Override + public int getEnchantability() { + return 18; + } + + @Override + public SoundEvent getEquipSound() { + return SoundEvents.ITEM_ARMOR_EQUIP_IRON; + } + + @Override + public Ingredient getRepairIngredient() { + // TODO: Make copper armor repairable + return null; + } + + @Override + public String getName() { + return "copper"; + } + + @Override + public float getToughness() { + return 0; + } + + @Override + public float getKnockbackResistance() { + return 0; + } + +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/CopperAxeItem.java b/src/main/java/dk/palmoe/immersivetools/item/CopperAxeItem.java new file mode 100644 index 0000000..1a34865 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/CopperAxeItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.AxeItem; + +public class CopperAxeItem extends AxeItem { + public CopperAxeItem(Settings settings) { + super(CopperToolMaterial.getInstance(), 7, -3.2f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/CopperHoeItem.java b/src/main/java/dk/palmoe/immersivetools/item/CopperHoeItem.java new file mode 100644 index 0000000..f9aad01 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/CopperHoeItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.HoeItem; + +public class CopperHoeItem extends HoeItem { + public CopperHoeItem(Settings settings) { + super(CopperToolMaterial.getInstance(), -2, -1f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/CopperPickaxeItem.java b/src/main/java/dk/palmoe/immersivetools/item/CopperPickaxeItem.java new file mode 100644 index 0000000..d0107b5 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/CopperPickaxeItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.PickaxeItem; + +public class CopperPickaxeItem extends PickaxeItem { + public CopperPickaxeItem(Settings settings) { + super(CopperToolMaterial.getInstance(), 1, -2.8f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/CopperShovelItem.java b/src/main/java/dk/palmoe/immersivetools/item/CopperShovelItem.java new file mode 100644 index 0000000..8e44c18 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/CopperShovelItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.ShovelItem; + +public class CopperShovelItem extends ShovelItem { + public CopperShovelItem(Settings settings) { + super(CopperToolMaterial.getInstance(), 1.5F, -3.0f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/CopperSwordItem.java b/src/main/java/dk/palmoe/immersivetools/item/CopperSwordItem.java new file mode 100644 index 0000000..f39f812 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/CopperSwordItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.SwordItem; + +public class CopperSwordItem extends SwordItem { + public CopperSwordItem(Settings settings) { + super(CopperToolMaterial.getInstance(), 3, -2.4f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/CopperToolMaterial.java b/src/main/java/dk/palmoe/immersivetools/item/CopperToolMaterial.java new file mode 100644 index 0000000..5738d30 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/CopperToolMaterial.java @@ -0,0 +1,59 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.ToolMaterial; +import net.minecraft.recipe.Ingredient; + +public class CopperToolMaterial implements ToolMaterial { + private static CopperToolMaterial INSTANCE = null; + + private CopperToolMaterial() { + } + + public static CopperToolMaterial getInstance() { + if (INSTANCE == null) { + INSTANCE = new CopperToolMaterial(); + } + return INSTANCE; + } + + // TODO: Make tool properties configurable + @Override + public float getAttackDamage() { + // Dmg for sword is +3 of value below + return 2; + } + + @Override + public int getDurability() { + // iron = 250, diamond = 1561, stone = 131 + return 185; + } + + @Override + public int getEnchantability() { + return 19; + } + + @Override + public int getMiningLevel() { + return 2; + } + + @Override + public float getMiningSpeedMultiplier() { + // 6 = iron, 8 = diamond + return 7; + } + + @Override + public Ingredient getRepairIngredient() { + // TODO: set repair item + return null; + } + + // LevelZ Compatibility + @Override + public String toString() { + return "COPPER"; + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/FlintAxeItem.java b/src/main/java/dk/palmoe/immersivetools/item/FlintAxeItem.java new file mode 100644 index 0000000..ff3bb9a --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/FlintAxeItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.AxeItem; + +public class FlintAxeItem extends AxeItem { + public FlintAxeItem(Settings settings) { + super(FlintToolMaterial.getInstance(), 6, -3.2f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/FlintHoeItem.java b/src/main/java/dk/palmoe/immersivetools/item/FlintHoeItem.java new file mode 100644 index 0000000..4a7dd11 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/FlintHoeItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.HoeItem; + +public class FlintHoeItem extends HoeItem { + public FlintHoeItem(Settings settings) { + super(FlintToolMaterial.getInstance(), -2, -1f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/FlintPickaxeItem.java b/src/main/java/dk/palmoe/immersivetools/item/FlintPickaxeItem.java new file mode 100644 index 0000000..b7d68dc --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/FlintPickaxeItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.PickaxeItem; + +public class FlintPickaxeItem extends PickaxeItem { + public FlintPickaxeItem(Settings settings) { + super(FlintToolMaterial.getInstance(), 1, -2.8f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/FlintShovelItem.java b/src/main/java/dk/palmoe/immersivetools/item/FlintShovelItem.java new file mode 100644 index 0000000..b42b583 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/FlintShovelItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.ShovelItem; + +public class FlintShovelItem extends ShovelItem { + public FlintShovelItem(Settings settings) { + super(FlintToolMaterial.getInstance(), 1.5F, -3.0f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/FlintSwordItem.java b/src/main/java/dk/palmoe/immersivetools/item/FlintSwordItem.java new file mode 100644 index 0000000..c8c7033 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/FlintSwordItem.java @@ -0,0 +1,9 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.SwordItem; + +public class FlintSwordItem extends SwordItem { + public FlintSwordItem(Settings settings) { + super(FlintToolMaterial.getInstance(), 3, -2.4f, settings); + } +} diff --git a/src/main/java/dk/palmoe/immersivetools/item/FlintToolMaterial.java b/src/main/java/dk/palmoe/immersivetools/item/FlintToolMaterial.java new file mode 100644 index 0000000..a68c763 --- /dev/null +++ b/src/main/java/dk/palmoe/immersivetools/item/FlintToolMaterial.java @@ -0,0 +1,59 @@ +package dk.palmoe.immersivetools.item; + +import net.minecraft.item.ToolMaterial; +import net.minecraft.recipe.Ingredient; + +public class FlintToolMaterial implements ToolMaterial { + private static FlintToolMaterial INSTANCE = null; + + private FlintToolMaterial() { + } + + public static FlintToolMaterial getInstance() { + if (INSTANCE == null) { + INSTANCE = new FlintToolMaterial(); + } + return INSTANCE; + } + + // TODO: Make tool properties configurable + @Override + public float getAttackDamage() { + // Dmg for sword is +3 of value below + return 1; + } + + @Override + public int getDurability() { + // iron = 250, diamond = 1561, stone = 131 + return 131; + } + + @Override + public int getEnchantability() { + return 5; + } + + @Override + public int getMiningLevel() { + return 1; + } + + @Override + public float getMiningSpeedMultiplier() { + // 6 = iron, 8 = diamond + return 4; + } + + @Override + public Ingredient getRepairIngredient() { + // TODO: set repair item + return null; + } + + // LevelZ Compatibility + @Override + public String toString() { + return "FLINT"; + } +} diff --git a/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java b/src/main/java/dk/palmoe/immersivetools/mixin/ImmersiveToolsMixin.java similarity index 51% rename from src/main/java/net/fabricmc/example/mixin/ExampleMixin.java rename to src/main/java/dk/palmoe/immersivetools/mixin/ImmersiveToolsMixin.java index 356cb38..b676d56 100644 --- a/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java +++ b/src/main/java/dk/palmoe/immersivetools/mixin/ImmersiveToolsMixin.java @@ -1,6 +1,5 @@ -package net.fabricmc.example.mixin; +package dk.palmoe.immersivetools.mixin; -import net.fabricmc.example.ExampleMod; import net.minecraft.client.gui.screen.TitleScreen; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; @@ -8,9 +7,9 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(TitleScreen.class) -public class ExampleMixin { - @Inject(at = @At("HEAD"), method = "init()V") - private void init(CallbackInfo info) { - ExampleMod.LOGGER.info("This line is printed by an example mod mixin!"); - } -} +public class ImmersiveToolsMixin { + @Inject(at = @At("HEAD"), method = "init()V") + private void init(CallbackInfo info) { + // TODO: Remove mixing if unused + } +} \ No newline at end of file diff --git a/src/main/java/net/fabricmc/example/ExampleMod.java b/src/main/java/net/fabricmc/example/ExampleMod.java deleted file mode 100644 index ad43b69..0000000 --- a/src/main/java/net/fabricmc/example/ExampleMod.java +++ /dev/null @@ -1,21 +0,0 @@ -package net.fabricmc.example; - -import net.fabricmc.api.ModInitializer; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; - -public class ExampleMod implements ModInitializer { - // This logger is used to write text to the console and the log file. - // It is considered best practice to use your mod id as the logger's name. - // That way, it's clear which mod wrote info, warnings, and errors. - public static final Logger LOGGER = LogManager.getLogger("modid"); - - @Override - public void onInitialize() { - // This code runs as soon as Minecraft is in a mod-load-ready state. - // However, some things (like resources) may still be uninitialized. - // Proceed with mild caution. - - LOGGER.info("Hello Fabric world!"); - } -} diff --git a/src/main/resources/assets/modid/icon.png b/src/main/resources/assets/immersivetools/icon.png similarity index 100% rename from src/main/resources/assets/modid/icon.png rename to src/main/resources/assets/immersivetools/icon.png diff --git a/src/main/resources/assets/immersivetools/lang/en_us.json b/src/main/resources/assets/immersivetools/lang/en_us.json new file mode 100644 index 0000000..931d000 --- /dev/null +++ b/src/main/resources/assets/immersivetools/lang/en_us.json @@ -0,0 +1,13 @@ +{ + "item.immersivetools.copper_pickaxe": "Copper Pickaxe", + "item.immersivetools.copper_axe": "Copper Axe", + "item.immersivetools.copper_shovel": "Copper Shovel", + "item.immersivetools.copper_hoe": "Copper Hoe", + "item.immersivetools.copper_sword": "Copper Sword", + + "item.immersivetools.flint_pickaxe": "Flint Pickaxe", + "item.immersivetools.flint_axe": "Flint Axe", + "item.immersivetools.flint_shovel": "Flint Shovel", + "item.immersivetools.flint_hoe": "Flint Hoe", + "item.immersivetools.flint_sword": "Flint Sword" +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_axe.json b/src/main/resources/assets/immersivetools/models/item/copper_axe.json new file mode 100644 index 0000000..e57a90c --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/copper_axe" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_boots.json b/src/main/resources/assets/immersivetools/models/item/copper_boots.json new file mode 100644 index 0000000..25b094f --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_boots.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "immersivetools:item/copper_boots" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_chestplate.json b/src/main/resources/assets/immersivetools/models/item/copper_chestplate.json new file mode 100644 index 0000000..f22ee72 --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_chestplate.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "immersivetools:item/copper_chestplate" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_helmet.json b/src/main/resources/assets/immersivetools/models/item/copper_helmet.json new file mode 100644 index 0000000..2437d18 --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_helmet.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "immersivetools:item/copper_helmet" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_hoe.json b/src/main/resources/assets/immersivetools/models/item/copper_hoe.json new file mode 100644 index 0000000..ea5139f --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/copper_hoe" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_leggings.json b/src/main/resources/assets/immersivetools/models/item/copper_leggings.json new file mode 100644 index 0000000..90f4db0 --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_leggings.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "immersivetools:item/copper_leggings" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_pickaxe.json b/src/main/resources/assets/immersivetools/models/item/copper_pickaxe.json new file mode 100644 index 0000000..5b3076b --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/copper_pickaxe" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_shovel.json b/src/main/resources/assets/immersivetools/models/item/copper_shovel.json new file mode 100644 index 0000000..a7b5b27 --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/copper_shovel" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/copper_sword.json b/src/main/resources/assets/immersivetools/models/item/copper_sword.json new file mode 100644 index 0000000..99a0409 --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/copper_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/copper_sword" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/flint_axe.json b/src/main/resources/assets/immersivetools/models/item/flint_axe.json new file mode 100644 index 0000000..b101df5 --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/flint_axe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/flint_axe" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/flint_hoe.json b/src/main/resources/assets/immersivetools/models/item/flint_hoe.json new file mode 100644 index 0000000..b5bfeef --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/flint_hoe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/flint_hoe" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/flint_pickaxe.json b/src/main/resources/assets/immersivetools/models/item/flint_pickaxe.json new file mode 100644 index 0000000..bbd1d1d --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/flint_pickaxe.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/flint_pickaxe" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/flint_shovel.json b/src/main/resources/assets/immersivetools/models/item/flint_shovel.json new file mode 100644 index 0000000..0b816a8 --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/flint_shovel.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/flint_shovel" + } +} diff --git a/src/main/resources/assets/immersivetools/models/item/flint_sword.json b/src/main/resources/assets/immersivetools/models/item/flint_sword.json new file mode 100644 index 0000000..f390665 --- /dev/null +++ b/src/main/resources/assets/immersivetools/models/item/flint_sword.json @@ -0,0 +1,6 @@ +{ + "parent": "item/handheld", + "textures": { + "layer0": "immersivetools:item/flint_sword" + } +} diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_axe.png b/src/main/resources/assets/immersivetools/textures/item/copper_axe.png new file mode 100644 index 0000000..a20dd49 Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_axe.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_boots.png b/src/main/resources/assets/immersivetools/textures/item/copper_boots.png new file mode 100644 index 0000000..dde45f0 Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_boots.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_chestplate.png b/src/main/resources/assets/immersivetools/textures/item/copper_chestplate.png new file mode 100644 index 0000000..1c35fc5 Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_chestplate.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_helmet.png b/src/main/resources/assets/immersivetools/textures/item/copper_helmet.png new file mode 100644 index 0000000..cc36829 Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_helmet.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_hoe.png b/src/main/resources/assets/immersivetools/textures/item/copper_hoe.png new file mode 100644 index 0000000..37046d3 Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_hoe.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_leggings.png b/src/main/resources/assets/immersivetools/textures/item/copper_leggings.png new file mode 100644 index 0000000..59e544f Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_leggings.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_pickaxe.png b/src/main/resources/assets/immersivetools/textures/item/copper_pickaxe.png new file mode 100644 index 0000000..17c97df Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_pickaxe.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_shovel.png b/src/main/resources/assets/immersivetools/textures/item/copper_shovel.png new file mode 100644 index 0000000..3f9764e Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_shovel.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/copper_sword.png b/src/main/resources/assets/immersivetools/textures/item/copper_sword.png new file mode 100644 index 0000000..f365644 Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/copper_sword.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/flint_axe.png b/src/main/resources/assets/immersivetools/textures/item/flint_axe.png new file mode 100644 index 0000000..150b5ac Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/flint_axe.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/flint_hoe.png b/src/main/resources/assets/immersivetools/textures/item/flint_hoe.png new file mode 100644 index 0000000..ec845b9 Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/flint_hoe.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/flint_pickaxe.png b/src/main/resources/assets/immersivetools/textures/item/flint_pickaxe.png new file mode 100644 index 0000000..5af7c53 Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/flint_pickaxe.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/flint_shovel.png b/src/main/resources/assets/immersivetools/textures/item/flint_shovel.png new file mode 100644 index 0000000..d65cbea Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/flint_shovel.png differ diff --git a/src/main/resources/assets/immersivetools/textures/item/flint_sword.png b/src/main/resources/assets/immersivetools/textures/item/flint_sword.png new file mode 100644 index 0000000..91e2adc Binary files /dev/null and b/src/main/resources/assets/immersivetools/textures/item/flint_sword.png differ diff --git a/src/main/resources/assets/minecraft/textures/models/armor/copper_layer_1.png b/src/main/resources/assets/minecraft/textures/models/armor/copper_layer_1.png new file mode 100644 index 0000000..18bb9fc Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/models/armor/copper_layer_1.png differ diff --git a/src/main/resources/assets/minecraft/textures/models/armor/copper_layer_2.png b/src/main/resources/assets/minecraft/textures/models/armor/copper_layer_2.png new file mode 100644 index 0000000..a28c6e3 Binary files /dev/null and b/src/main/resources/assets/minecraft/textures/models/armor/copper_layer_2.png differ diff --git a/src/main/resources/data/fabric/tags/items/axes.json b/src/main/resources/data/fabric/tags/items/axes.json new file mode 100644 index 0000000..06bb5bc --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/axes.json @@ -0,0 +1,4 @@ +{ + "replace": false, + "values": ["immersivetools:copper_axe", "immersivetools:flint_axe"] +} diff --git a/src/main/resources/data/fabric/tags/items/hoes.json b/src/main/resources/data/fabric/tags/items/hoes.json new file mode 100644 index 0000000..0e37d3e --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/hoes.json @@ -0,0 +1,4 @@ +{ + "replace": false, + "values": ["immersivetools:copper_hoe", "immersivetools:flint_hoe"] +} diff --git a/src/main/resources/data/fabric/tags/items/pickaxes.json b/src/main/resources/data/fabric/tags/items/pickaxes.json new file mode 100644 index 0000000..3995df9 --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/pickaxes.json @@ -0,0 +1,4 @@ +{ + "replace": false, + "values": ["immersivetools:copper_pickaxe", "immersivetools:flint_pickaxe"] +} diff --git a/src/main/resources/data/fabric/tags/items/shovels.json b/src/main/resources/data/fabric/tags/items/shovels.json new file mode 100644 index 0000000..150324c --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/shovels.json @@ -0,0 +1,4 @@ +{ + "replace": false, + "values": ["immersivetools:copper_shovel", "immersivetools:flint_shovel"] +} diff --git a/src/main/resources/data/fabric/tags/items/swords.json b/src/main/resources/data/fabric/tags/items/swords.json new file mode 100644 index 0000000..5852c10 --- /dev/null +++ b/src/main/resources/data/fabric/tags/items/swords.json @@ -0,0 +1,4 @@ +{ + "replace": false, + "values": ["immersivetools:copper_sword", "immersivetools:flint_sword"] +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_axe.json b/src/main/resources/data/immersivetools/recipes/copper_axe.json new file mode 100644 index 0000000..de7ecaf --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_axe.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["CC", "CS", " S"], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_axe", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_boots.json b/src/main/resources/data/immersivetools/recipes/copper_boots.json new file mode 100644 index 0000000..f72d40f --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_boots.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["C C", "C C", " "], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_boots", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_chestplate.json b/src/main/resources/data/immersivetools/recipes/copper_chestplate.json new file mode 100644 index 0000000..4120367 --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_chestplate.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["C C", "CCC", "CCC"], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_chestplate", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_helmet.json b/src/main/resources/data/immersivetools/recipes/copper_helmet.json new file mode 100644 index 0000000..77519c7 --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_helmet.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["CCC", "C C", " "], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_helmet", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_hoe.json b/src/main/resources/data/immersivetools/recipes/copper_hoe.json new file mode 100644 index 0000000..dd7096c --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_hoe.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["CC", " S", " S"], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_hoe", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_leggings.json b/src/main/resources/data/immersivetools/recipes/copper_leggings.json new file mode 100644 index 0000000..b988a53 --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_leggings.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["CCC", "C C", "C C"], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_leggings", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_pickaxe.json b/src/main/resources/data/immersivetools/recipes/copper_pickaxe.json new file mode 100644 index 0000000..1ff4975 --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_pickaxe.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["CCC", " S ", " S "], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_pickaxe", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_shovel.json b/src/main/resources/data/immersivetools/recipes/copper_shovel.json new file mode 100644 index 0000000..39d333f --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_shovel.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["C", "S", "S"], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_shovel", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/copper_sword.json b/src/main/resources/data/immersivetools/recipes/copper_sword.json new file mode 100644 index 0000000..35e2c3e --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/copper_sword.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["C", "C", "S"], + "key": { + "C": { + "item": "minecraft:copper_ingot" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:copper_sword", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/flint_axe.json b/src/main/resources/data/immersivetools/recipes/flint_axe.json new file mode 100644 index 0000000..dffefad --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/flint_axe.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["FF", "FS", " S"], + "key": { + "F": { + "item": "minecraft:flint" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:flint_axe", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/flint_hoe.json b/src/main/resources/data/immersivetools/recipes/flint_hoe.json new file mode 100644 index 0000000..d13eaff --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/flint_hoe.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["FF", " S", " S"], + "key": { + "F": { + "item": "minecraft:flint" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:flint_hoe", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/flint_pickaxe.json b/src/main/resources/data/immersivetools/recipes/flint_pickaxe.json new file mode 100644 index 0000000..3ee4935 --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/flint_pickaxe.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["FFF", " S ", " S "], + "key": { + "F": { + "item": "minecraft:flint" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:flint_pickaxe", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/flint_shovel.json b/src/main/resources/data/immersivetools/recipes/flint_shovel.json new file mode 100644 index 0000000..27a44f8 --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/flint_shovel.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["F", "S", "S"], + "key": { + "F": { + "item": "minecraft:flint" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:flint_shovel", + "count": 1 + } +} diff --git a/src/main/resources/data/immersivetools/recipes/flint_sword.json b/src/main/resources/data/immersivetools/recipes/flint_sword.json new file mode 100644 index 0000000..8082f5a --- /dev/null +++ b/src/main/resources/data/immersivetools/recipes/flint_sword.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": ["F", "F", "S"], + "key": { + "F": { + "item": "minecraft:flint" + }, + "S": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "immersivetools:flint_sword", + "count": 1 + } +} diff --git a/src/main/resources/data/levelz/item/copper_armor.json b/src/main/resources/data/levelz/item/copper_armor.json new file mode 100644 index 0000000..d83dabf --- /dev/null +++ b/src/main/resources/data/levelz/item/copper_armor.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "defense", + "level": 2, + "item": "minecraft:armor", + "material": "copper" +} diff --git a/src/main/resources/data/levelz/item/copper_axe.json b/src/main/resources/data/levelz/item/copper_axe.json new file mode 100644 index 0000000..49eeee1 --- /dev/null +++ b/src/main/resources/data/levelz/item/copper_axe.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "farming", + "level": 2, + "item": "minecraft:axe", + "material": "copper" +} diff --git a/src/main/resources/data/levelz/item/copper_hoe.json b/src/main/resources/data/levelz/item/copper_hoe.json new file mode 100644 index 0000000..08302ec --- /dev/null +++ b/src/main/resources/data/levelz/item/copper_hoe.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "farming", + "level": 2, + "item": "minecraft:hoe", + "material": "copper" +} diff --git a/src/main/resources/data/levelz/item/copper_pickaxe.json b/src/main/resources/data/levelz/item/copper_pickaxe.json new file mode 100644 index 0000000..8ca08af --- /dev/null +++ b/src/main/resources/data/levelz/item/copper_pickaxe.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "mining", + "level": 2, + "item": "minecraft:tool", + "material": "copper" +} diff --git a/src/main/resources/data/levelz/item/copper_sword.json b/src/main/resources/data/levelz/item/copper_sword.json new file mode 100644 index 0000000..c702744 --- /dev/null +++ b/src/main/resources/data/levelz/item/copper_sword.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "strength", + "level": 2, + "item": "minecraft:sword", + "material": "copper" +} diff --git a/src/main/resources/data/levelz/item/flint_axe.json b/src/main/resources/data/levelz/item/flint_axe.json new file mode 100644 index 0000000..1f40c8e --- /dev/null +++ b/src/main/resources/data/levelz/item/flint_axe.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "farming", + "level": 1, + "item": "minecraft:axe", + "material": "flit" +} diff --git a/src/main/resources/data/levelz/item/flint_hoe.json b/src/main/resources/data/levelz/item/flint_hoe.json new file mode 100644 index 0000000..4801270 --- /dev/null +++ b/src/main/resources/data/levelz/item/flint_hoe.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "farming", + "level": 1, + "item": "minecraft:hoe", + "material": "hoe" +} diff --git a/src/main/resources/data/levelz/item/flint_pickaxe.json b/src/main/resources/data/levelz/item/flint_pickaxe.json new file mode 100644 index 0000000..4b6c898 --- /dev/null +++ b/src/main/resources/data/levelz/item/flint_pickaxe.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "mining", + "level": 1, + "item": "minecraft:tool", + "material": "flint" +} diff --git a/src/main/resources/data/levelz/item/flint_sword.json b/src/main/resources/data/levelz/item/flint_sword.json new file mode 100644 index 0000000..965dd26 --- /dev/null +++ b/src/main/resources/data/levelz/item/flint_sword.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "skill": "strength", + "level": 1, + "item": "minecraft:sword", + "material": "flint" +} diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index a0bfabb..eee6d3d 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,38 +1,32 @@ { - "schemaVersion": 1, - "id": "modid", - "version": "${version}", + "schemaVersion": 1, + "id": "immersivetools", + "version": "${version}", - "name": "Example Mod", - "description": "This is an example description! Tell everyone what your mod is about!", - "authors": [ - "Me!" - ], - "contact": { - "homepage": "https://fabricmc.net/", - "sources": "https://github.com/FabricMC/fabric-example-mod" - }, + "name": "Immersive Tools", + "description": "A small mod that adds flint- and copper tools with appropriate material tags and LevelZ support.", + "authors": ["vodofrede"], + "contact": { + "homepage": "", + "sources": "" + }, - "license": "CC0-1.0", - "icon": "assets/modid/icon.png", + "license": "BSD-3-Clause", + "icon": "assets/immersivetools/icon.png", - "environment": "*", - "entrypoints": { - "main": [ - "net.fabricmc.example.ExampleMod" - ] - }, - "mixins": [ - "modid.mixins.json" - ], + "environment": "*", + "entrypoints": { + "main": ["dk.palmoe.immersivetools.ImmersiveTools"] + }, + "mixins": ["immersivetools.mixins.json"], - "depends": { - "fabricloader": ">=0.11.3", - "fabric": "*", - "minecraft": "1.17.x", - "java": ">=16" - }, - "suggests": { - "another-mod": "*" - } + "depends": { + "fabricloader": ">=0.11.3", + "fabric": "*", + "minecraft": "1.17.x", + "java": ">=16" + }, + "suggests": { + "another-mod": "*" + } } diff --git a/src/main/resources/immersivetools.mixins.json b/src/main/resources/immersivetools.mixins.json new file mode 100644 index 0000000..bad5af5 --- /dev/null +++ b/src/main/resources/immersivetools.mixins.json @@ -0,0 +1,11 @@ +{ + "required": true, + "minVersion": "0.8", + "package": "dk.palmoe.immersivetools.mixin", + "compatibilityLevel": "JAVA_16", + "mixins": [], + "client": ["ImmersiveToolsMixin"], + "injectors": { + "defaultRequire": 1 + } +} diff --git a/src/main/resources/modid.mixins.json b/src/main/resources/modid.mixins.json deleted file mode 100644 index 9cf7e06..0000000 --- a/src/main/resources/modid.mixins.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "required": true, - "minVersion": "0.8", - "package": "net.fabricmc.example.mixin", - "compatibilityLevel": "JAVA_16", - "mixins": [ - ], - "client": [ - "ExampleMixin" - ], - "injectors": { - "defaultRequire": 1 - } -}