From 081b7447552077b4e8b164439a74fd73e066eebd Mon Sep 17 00:00:00 2001 From: Steven Tracey Date: Mon, 17 Jan 2022 23:25:39 -0500 Subject: [PATCH] Updates! Updated to 1.18.1, added copper items, new recipes --- .idea/compiler.xml | 2 +- .idea/misc.xml | 2 +- .idea/runConfigurations.xml | 10 ---- build.gradle | 8 +-- gradle.properties | 12 ++-- gradle/wrapper/gradle-wrapper.properties | 2 +- src/main/java/tech/nevets/vplus/Main.java | 1 - .../nevets/vplus/armor/ArmorMaterials.java | 3 + .../java/tech/nevets/vplus/armor/VPArmor.java | 5 ++ .../{mixin => clientmixin}/ZoomMixin.java | 4 +- .../tech/nevets/vplus/food/CopperApple.java | 13 +++++ .../vplus/food/EnchantedCopperApple.java | 18 ++++++ .../java/tech/nevets/vplus/food/VPFood.java | 4 ++ .../tech/nevets/vplus/init/ClientInit.java | 12 ++++ .../java/tech/nevets/vplus/misc/VPOreGen.java | 54 ++++++++---------- .../nevets/vplus/tools/ToolMaterials.java | 3 + .../java/tech/nevets/vplus/tools/VPTools.java | 5 ++ .../textures/models/armor/copper_layer_1.png | Bin 0 -> 3105 bytes .../textures/models/armor/copper_layer_2.png | Bin 0 -> 2378 bytes .../resources/assets/vplus/lang/en_us.json | 13 ++++- .../vplus/models/item/copper_apple.json | 6 ++ .../assets/vplus/models/item/copper_axe.json | 6 ++ .../vplus/models/item/copper_boots.json | 6 ++ .../vplus/models/item/copper_chestplate.json | 6 ++ .../vplus/models/item/copper_helmet.json | 6 ++ .../assets/vplus/models/item/copper_hoe.json | 6 ++ .../vplus/models/item/copper_leggings.json | 6 ++ .../vplus/models/item/copper_pickaxe.json | 6 ++ .../vplus/models/item/copper_shovel.json | 6 ++ .../vplus/models/item/copper_sword.json | 6 ++ .../models/item/enchanted_copper_apple.json | 6 ++ .../vplus/textures/item/copper_apple.png | Bin 0 -> 1725 bytes .../assets/vplus/textures/item/copper_axe.png | Bin 0 -> 1908 bytes .../vplus/textures/item/copper_boots.png | Bin 0 -> 1821 bytes .../vplus/textures/item/copper_chestplate.png | Bin 0 -> 1894 bytes .../vplus/textures/item/copper_helmet.png | Bin 0 -> 1812 bytes .../assets/vplus/textures/item/copper_hoe.png | Bin 0 -> 1913 bytes .../vplus/textures/item/copper_leggings.png | Bin 0 -> 1833 bytes .../vplus/textures/item/copper_pickaxe.png | Bin 0 -> 1929 bytes .../vplus/textures/item/copper_shovel.png | Bin 0 -> 1883 bytes .../vplus/textures/item/copper_sword.png | Bin 0 -> 1861 bytes .../textures/item/enchanted_copper_apple.png | Bin 0 -> 1725 bytes .../recipes/diamond_horse_armor.json | 17 ++++++ .../minecraft/recipes/gold_horse_armor.json | 17 ++++++ .../minecraft/recipes/iron_horse_armor.json | 17 ++++++ .../recipes/leather_horse_armor.json | 17 ++++++ .../data/minecraft/recipes/nametag.json | 20 +++++++ .../data/minecraft/recipes/saddle.json | 19 ++++++ .../data/vplus/recipes/copper_apple.json | 20 +++++++ .../data/vplus/recipes/copper_axe.json | 19 ++++++ .../data/vplus/recipes/copper_boots.json | 16 ++++++ .../data/vplus/recipes/copper_chestplate.json | 17 ++++++ .../data/vplus/recipes/copper_helmet.json | 16 ++++++ .../data/vplus/recipes/copper_hoe.json | 20 +++++++ .../data/vplus/recipes/copper_leggings.json | 17 ++++++ .../data/vplus/recipes/copper_pickaxe.json | 20 +++++++ .../data/vplus/recipes/copper_shovel.json | 20 +++++++ .../data/vplus/recipes/copper_sword.json | 20 +++++++ .../vplus/recipes/enchanted_copper_apple.json | 20 +++++++ src/main/resources/fabric.mod.json | 23 +++++--- src/main/resources/vplus.clientmixins.json | 13 +++++ src/main/resources/vplus.mixins.json | 8 +-- 62 files changed, 525 insertions(+), 68 deletions(-) delete mode 100644 .idea/runConfigurations.xml rename src/main/java/tech/nevets/vplus/{mixin => clientmixin}/ZoomMixin.java (90%) create mode 100644 src/main/java/tech/nevets/vplus/food/CopperApple.java create mode 100644 src/main/java/tech/nevets/vplus/food/EnchantedCopperApple.java create mode 100644 src/main/java/tech/nevets/vplus/init/ClientInit.java create mode 100644 src/main/resources/assets/minecraft/textures/models/armor/copper_layer_1.png create mode 100644 src/main/resources/assets/minecraft/textures/models/armor/copper_layer_2.png create mode 100644 src/main/resources/assets/vplus/models/item/copper_apple.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_axe.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_boots.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_chestplate.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_helmet.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_hoe.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_leggings.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_pickaxe.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_shovel.json create mode 100644 src/main/resources/assets/vplus/models/item/copper_sword.json create mode 100644 src/main/resources/assets/vplus/models/item/enchanted_copper_apple.json create mode 100644 src/main/resources/assets/vplus/textures/item/copper_apple.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_axe.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_boots.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_chestplate.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_helmet.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_hoe.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_leggings.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_pickaxe.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_shovel.png create mode 100644 src/main/resources/assets/vplus/textures/item/copper_sword.png create mode 100644 src/main/resources/assets/vplus/textures/item/enchanted_copper_apple.png create mode 100644 src/main/resources/data/minecraft/recipes/diamond_horse_armor.json create mode 100644 src/main/resources/data/minecraft/recipes/gold_horse_armor.json create mode 100644 src/main/resources/data/minecraft/recipes/iron_horse_armor.json create mode 100644 src/main/resources/data/minecraft/recipes/leather_horse_armor.json create mode 100644 src/main/resources/data/minecraft/recipes/nametag.json create mode 100644 src/main/resources/data/minecraft/recipes/saddle.json create mode 100644 src/main/resources/data/vplus/recipes/copper_apple.json create mode 100644 src/main/resources/data/vplus/recipes/copper_axe.json create mode 100644 src/main/resources/data/vplus/recipes/copper_boots.json create mode 100644 src/main/resources/data/vplus/recipes/copper_chestplate.json create mode 100644 src/main/resources/data/vplus/recipes/copper_helmet.json create mode 100644 src/main/resources/data/vplus/recipes/copper_hoe.json create mode 100644 src/main/resources/data/vplus/recipes/copper_leggings.json create mode 100644 src/main/resources/data/vplus/recipes/copper_pickaxe.json create mode 100644 src/main/resources/data/vplus/recipes/copper_shovel.json create mode 100644 src/main/resources/data/vplus/recipes/copper_sword.json create mode 100644 src/main/resources/data/vplus/recipes/enchanted_copper_apple.json create mode 100644 src/main/resources/vplus.clientmixins.json diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 659bf43..b589d56 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index adc47b4..21f112f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 797acea..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/build.gradle b/build.gradle index 8a52160..f834406 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,10 @@ plugins { - id 'fabric-loom' version '0.9-SNAPSHOT' + id 'fabric-loom' version '0.10-SNAPSHOT' id 'maven-publish' } -sourceCompatibility = JavaVersion.VERSION_16 -targetCompatibility = JavaVersion.VERSION_16 +sourceCompatibility = JavaVersion.VERSION_17 +targetCompatibility = JavaVersion.VERSION_17 archivesBaseName = project.archives_base_name version = project.mod_version @@ -32,7 +32,7 @@ processResources { tasks.withType(JavaCompile).configureEach { it.options.encoding = "UTF-8" - it.options.release = 16 + it.options.release = 17 } java { diff --git a/gradle.properties b/gradle.properties index 82dc4e2..e5c7bdb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,16 +1,16 @@ # Done to increase the memory available to gradle. -#org.gradle.jvmargs=-Xmx2G +org.gradle.jvmargs=-Xmx4G # Fabric Properties # check these on https://fabricmc.net/versions.html -minecraft_version=1.17.1 -yarn_mappings=1.17.1+build.63 -loader_version=0.11.7 +minecraft_version=1.18.1 +yarn_mappings=1.18.1+build.1 +loader_version=0.12.12 # Mod Properties -mod_version = 0.2.0 +mod_version = 1.1.1 maven_group = tech.nevets archives_base_name = vplus # Dependencies -fabric_version=0.41.0+1.17 \ No newline at end of file +fabric_version=0.44.0+1.18 \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 69a9715..d2880ba 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/java/tech/nevets/vplus/Main.java b/src/main/java/tech/nevets/vplus/Main.java index 69268fc..cee7ee5 100644 --- a/src/main/java/tech/nevets/vplus/Main.java +++ b/src/main/java/tech/nevets/vplus/Main.java @@ -21,6 +21,5 @@ public class Main implements ModInitializer { VPArmor.vpArmor(); VPOreGen.vpOres(); VPFuels.vpFuels(); - VPZoom.vpZoom(); } } diff --git a/src/main/java/tech/nevets/vplus/armor/ArmorMaterials.java b/src/main/java/tech/nevets/vplus/armor/ArmorMaterials.java index 69a11f0..add3432 100644 --- a/src/main/java/tech/nevets/vplus/armor/ArmorMaterials.java +++ b/src/main/java/tech/nevets/vplus/armor/ArmorMaterials.java @@ -15,6 +15,9 @@ import tech.nevets.vplus.items.VPItems; import java.util.function.Supplier; public enum ArmorMaterials implements ArmorMaterial { + COPPER("copper", 13, new int[]{2, 4, 5, 2}, 20, SoundEvents.ITEM_ARMOR_EQUIP_IRON, 0.0F, 0.0F, () -> { + return Ingredient.ofItems(new ItemConvertible[]{Items.COPPER_INGOT}); + }), EMERALD("emerald", 30, new int[]{2, 6, 8, 2}, 30, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 1.0F, 0.0F, () -> { return Ingredient.ofItems(new ItemConvertible[]{Items.EMERALD}); }), diff --git a/src/main/java/tech/nevets/vplus/armor/VPArmor.java b/src/main/java/tech/nevets/vplus/armor/VPArmor.java index 941558f..0ce2620 100644 --- a/src/main/java/tech/nevets/vplus/armor/VPArmor.java +++ b/src/main/java/tech/nevets/vplus/armor/VPArmor.java @@ -7,6 +7,7 @@ import net.minecraft.util.registry.Registry; public class VPArmor { + public static final ArmorMaterial COPPER_ARMOR = ArmorMaterials.COPPER; public static final ArmorMaterial EMERALD_ARMOR = ArmorMaterials.EMERALD; public static final ArmorMaterial PLATINUM_ARMOR = ArmorMaterials.PLATINUM; public static final ArmorMaterial RUBY_ARMOR = ArmorMaterials.RUBY; @@ -19,24 +20,28 @@ public class VPArmor { } public static void initializeHelmet() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_helmet"), new BaseArmor(COPPER_ARMOR, EquipmentSlot.HEAD)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_helmet"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.HEAD)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_helmet"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.HEAD)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_helmet"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.HEAD)); } public static void initializeChestplates() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_chestplate"), new BaseArmor(COPPER_ARMOR, EquipmentSlot.CHEST)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_chestplate"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.CHEST)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_chestplate"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.CHEST)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_chestplate"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.CHEST)); } public static void initialzeLeggings() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_leggings"), new BaseArmor(COPPER_ARMOR, EquipmentSlot.LEGS)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_leggings"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.LEGS)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_leggings"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.LEGS)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_leggings"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.LEGS)); } public static void initializeBoots() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_boots"), new BaseArmor(COPPER_ARMOR, EquipmentSlot.FEET)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_boots"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.FEET)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_boots"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.FEET)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_boots"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.FEET)); diff --git a/src/main/java/tech/nevets/vplus/mixin/ZoomMixin.java b/src/main/java/tech/nevets/vplus/clientmixin/ZoomMixin.java similarity index 90% rename from src/main/java/tech/nevets/vplus/mixin/ZoomMixin.java rename to src/main/java/tech/nevets/vplus/clientmixin/ZoomMixin.java index d4c6678..f48fe3f 100644 --- a/src/main/java/tech/nevets/vplus/mixin/ZoomMixin.java +++ b/src/main/java/tech/nevets/vplus/clientmixin/ZoomMixin.java @@ -1,4 +1,4 @@ -package tech.nevets.vplus.mixin; +package tech.nevets.vplus.clientmixin; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; @@ -13,7 +13,7 @@ import tech.nevets.vplus.misc.VPZoom; @Environment(EnvType.CLIENT) @Mixin(GameRenderer.class) public class ZoomMixin { - @Inject(method = "getFov(Lnet/minecraft/client/render/Camera;FZ)D", at = @At("HEAD"), cancellable = true) + @Inject(method = "getFov(Lnet/minecraft/client/render/Camera;FZ)D", at = @At("RETURN"), cancellable = true) public void getZoomLevel(CallbackInfoReturnable callbackInfo) { if(ZoomInit.isZooming()) { callbackInfo.setReturnValue(VPZoom.zoomLevel); diff --git a/src/main/java/tech/nevets/vplus/food/CopperApple.java b/src/main/java/tech/nevets/vplus/food/CopperApple.java new file mode 100644 index 0000000..f75bfcb --- /dev/null +++ b/src/main/java/tech/nevets/vplus/food/CopperApple.java @@ -0,0 +1,13 @@ +package tech.nevets.vplus.food; + +import net.minecraft.entity.effect.StatusEffectInstance; +import net.minecraft.entity.effect.StatusEffects; +import net.minecraft.item.FoodComponent; +import net.minecraft.item.Item; +import tech.nevets.vplus.items.VPItemGroups; + +public class CopperApple extends Item { + public CopperApple() { + super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(12).saturationModifier(16).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 5),1f).build())); + } +} \ No newline at end of file diff --git a/src/main/java/tech/nevets/vplus/food/EnchantedCopperApple.java b/src/main/java/tech/nevets/vplus/food/EnchantedCopperApple.java new file mode 100644 index 0000000..f765b59 --- /dev/null +++ b/src/main/java/tech/nevets/vplus/food/EnchantedCopperApple.java @@ -0,0 +1,18 @@ +package tech.nevets.vplus.food; + +import net.minecraft.entity.effect.StatusEffectInstance; +import net.minecraft.entity.effect.StatusEffects; +import net.minecraft.item.FoodComponent; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import tech.nevets.vplus.items.VPItemGroups; + +public class EnchantedCopperApple extends Item { + public EnchantedCopperApple() { + super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(12).saturationModifier(16).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 6),1f).build())); + } + + public boolean hasGlint(ItemStack stack) { + return true; + } +} \ No newline at end of file diff --git a/src/main/java/tech/nevets/vplus/food/VPFood.java b/src/main/java/tech/nevets/vplus/food/VPFood.java index 4b54c17..f840172 100644 --- a/src/main/java/tech/nevets/vplus/food/VPFood.java +++ b/src/main/java/tech/nevets/vplus/food/VPFood.java @@ -8,6 +8,8 @@ public class VPFood { public static final Item IRONAPPLE = new IronApple(); public static final Item ENCHANTEDIRONAPPLE = new EnchantedIronApple(); + public static final Item COPPERAPPLE = new CopperApple(); + public static final Item ENCHANTEDCOPPERAPPLE = new EnchantedCopperApple(); public static final Item DIAMONDAPPLE = new DiamondApple(); public static final Item ENCHANTEDDIAMONDAPPLE = new EnchantedDiamondApple(); public static final Item EMERALDAPPLE = new EmeraldApple(); @@ -27,6 +29,8 @@ public class VPFood { public static void initializeApples() { Registry.register(Registry.ITEM, new Identifier("vplus", "iron_apple"), IRONAPPLE); Registry.register(Registry.ITEM, new Identifier("vplus", "enchanted_iron_apple"), ENCHANTEDIRONAPPLE); + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_apple"), COPPERAPPLE); + Registry.register(Registry.ITEM, new Identifier("vplus", "enchanted_copper_apple"), ENCHANTEDCOPPERAPPLE); Registry.register(Registry.ITEM, new Identifier("vplus", "diamond_apple"), DIAMONDAPPLE); Registry.register(Registry.ITEM, new Identifier("vplus", "enchanted_diamond_apple"), ENCHANTEDDIAMONDAPPLE); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_apple"), EMERALDAPPLE); diff --git a/src/main/java/tech/nevets/vplus/init/ClientInit.java b/src/main/java/tech/nevets/vplus/init/ClientInit.java new file mode 100644 index 0000000..65bdb6e --- /dev/null +++ b/src/main/java/tech/nevets/vplus/init/ClientInit.java @@ -0,0 +1,12 @@ +package tech.nevets.vplus.init; + +import net.fabricmc.api.ClientModInitializer; +import tech.nevets.vplus.misc.VPZoom; + +public class ClientInit implements ClientModInitializer { + + @Override + public void onInitializeClient() { + VPZoom.vpZoom(); + } +} diff --git a/src/main/java/tech/nevets/vplus/misc/VPOreGen.java b/src/main/java/tech/nevets/vplus/misc/VPOreGen.java index d9f5bde..e9861a6 100644 --- a/src/main/java/tech/nevets/vplus/misc/VPOreGen.java +++ b/src/main/java/tech/nevets/vplus/misc/VPOreGen.java @@ -8,45 +8,41 @@ import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.RegistryKey; import net.minecraft.world.gen.GenerationStep; import net.minecraft.world.gen.YOffset; -import net.minecraft.world.gen.decorator.Decorator; -import net.minecraft.world.gen.decorator.RangeDecoratorConfig; -import net.minecraft.world.gen.feature.ConfiguredFeature; -import net.minecraft.world.gen.feature.Feature; -import net.minecraft.world.gen.feature.OreFeatureConfig; -import net.minecraft.world.gen.heightprovider.UniformHeightProvider; +import net.minecraft.world.gen.decorator.*; +import net.minecraft.world.gen.feature.*; import tech.nevets.vplus.blocks.VPBlocks; public class VPOreGen { - private static ConfiguredFeature ORE_PLATINUM_OVERWORLD = Feature.ORE + private static ConfiguredFeature ORE_PLATINUM_OVERWORLD_CONFIGURED = Feature.ORE .configure(new OreFeatureConfig( - OreFeatureConfig.Rules.BASE_STONE_OVERWORLD, + OreConfiguredFeatures.BASE_STONE_OVERWORLD, VPBlocks.PLATINUMORE.getDefaultState(), - 3)) // vein size - .range(new RangeDecoratorConfig( - UniformHeightProvider.create(YOffset.aboveBottom(0), YOffset.fixed(15)))) - .spreadHorizontally() - .repeat(2); // number of veins per chunk + 3)); // vein size + public static PlacedFeature ORE_PLATINUM_OVERWORLD_PLACED = ORE_PLATINUM_OVERWORLD_CONFIGURED.withPlacement( + CountPlacementModifier.of(2), // number of veins per chunk + SquarePlacementModifier.of(), + HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(15)) + ); - private static ConfiguredFeature ORE_RUBY_OVERWORLD = Feature.ORE + private static ConfiguredFeature ORE_RUBY_OVERWORLD_CONFIGURED = Feature.ORE .configure(new OreFeatureConfig( - OreFeatureConfig.Rules.BASE_STONE_OVERWORLD, - VPBlocks.RUBYORE.getDefaultState(), - 1)) // vein size - .range(new RangeDecoratorConfig( - UniformHeightProvider.create(YOffset.aboveBottom(0), YOffset.fixed(256)))) - .spreadHorizontally() - .repeat(8); // number of veins per chunk + OreConfiguredFeatures.BASE_STONE_OVERWORLD, + VPBlocks.PLATINUMORE.getDefaultState(), + 1)); // vein size + public static PlacedFeature ORE_RUBY_OVERWORLD_PLACED = ORE_PLATINUM_OVERWORLD_CONFIGURED.withPlacement( + CountPlacementModifier.of(8), // number of veins per chunk + SquarePlacementModifier.of(), + HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(15)) + ); public static void vpOres() { - RegistryKey> platinumOreOverworld = RegistryKey.of(Registry.CONFIGURED_FEATURE_KEY, - new Identifier("vplus", "platinum_ore")); - Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, platinumOreOverworld.getValue(), ORE_PLATINUM_OVERWORLD); - BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, platinumOreOverworld); + Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, new Identifier("vplus", "platinum_ore"), ORE_PLATINUM_OVERWORLD_CONFIGURED); + Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("vplus", "platinum_ore"), ORE_PLATINUM_OVERWORLD_PLACED); + BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, RegistryKey.of(Registry.PLACED_FEATURE_KEY, new Identifier("vplus", "platinum_ore"))); - RegistryKey> rubyOreOverworld = RegistryKey.of(Registry.CONFIGURED_FEATURE_KEY, - new Identifier("vplus", "ruby_ore")); - Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, rubyOreOverworld.getValue(), ORE_RUBY_OVERWORLD); - BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, rubyOreOverworld); + Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, new Identifier("vplus", "ruby_ore"), ORE_RUBY_OVERWORLD_CONFIGURED); + Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("vplus", "ruby_ore"), ORE_RUBY_OVERWORLD_PLACED); + BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, RegistryKey.of(Registry.PLACED_FEATURE_KEY, new Identifier("vplus", "ruby_ore"))); } } diff --git a/src/main/java/tech/nevets/vplus/tools/ToolMaterials.java b/src/main/java/tech/nevets/vplus/tools/ToolMaterials.java index 7d1427e..032af82 100644 --- a/src/main/java/tech/nevets/vplus/tools/ToolMaterials.java +++ b/src/main/java/tech/nevets/vplus/tools/ToolMaterials.java @@ -9,6 +9,9 @@ import net.minecraft.util.Lazy; import tech.nevets.vplus.items.VPItems; public enum ToolMaterials implements ToolMaterial { + COPPER (2, 200, 5.0F, 3.0F, 20, () -> { + return Ingredient.ofItems(new ItemConvertible[]{Items.COPPER_INGOT}); + }), EMERALD(3, 750, 7.0F, 4.0F, 30, () -> { return Ingredient.ofItems(new ItemConvertible[]{Items.EMERALD}); }), diff --git a/src/main/java/tech/nevets/vplus/tools/VPTools.java b/src/main/java/tech/nevets/vplus/tools/VPTools.java index 5ee97d4..c7eb002 100644 --- a/src/main/java/tech/nevets/vplus/tools/VPTools.java +++ b/src/main/java/tech/nevets/vplus/tools/VPTools.java @@ -14,30 +14,35 @@ public class VPTools { } public static void initializeAxes() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_axe"), new AxeBase(ToolMaterials.COPPER)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_axe"), new AxeBase(ToolMaterials.EMERALD)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_axe"), new AxeBase(ToolMaterials.PLATINUM)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_axe"), new AxeBase(ToolMaterials.RUBY)); } public static void initializeHoes() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_hoe"), new HoeBase(ToolMaterials.COPPER)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_hoe"), new HoeBase(ToolMaterials.EMERALD)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_hoe"), new HoeBase(ToolMaterials.PLATINUM)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_hoe"), new HoeBase(ToolMaterials.RUBY)); } public static void initializePickaxes() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_pickaxe"), new PickaxeBase(ToolMaterials.COPPER)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_pickaxe"), new PickaxeBase(ToolMaterials.EMERALD)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_pickaxe"), new PickaxeBase(ToolMaterials.PLATINUM)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_pickaxe"), new PickaxeBase(ToolMaterials.RUBY)); } public static void initializeShovels() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_shovel"), new ShovelBase(ToolMaterials.COPPER)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_shovel"), new ShovelBase(ToolMaterials.EMERALD)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_shovel"), new ShovelBase(ToolMaterials.PLATINUM)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_shovel"), new ShovelBase(ToolMaterials.RUBY)); } public static void initializeSwords() { + Registry.register(Registry.ITEM, new Identifier("vplus", "copper_sword"), new SwordBase(ToolMaterials.COPPER)); Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_sword"), new SwordBase(ToolMaterials.EMERALD)); Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_sword"), new SwordBase(ToolMaterials.PLATINUM)); Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_sword"), new SwordBase(ToolMaterials.RUBY)); 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 0000000000000000000000000000000000000000..7d645d7c1651e9d677a897bab64a623cb55aaf6a GIT binary patch literal 3105 zcmbVO2~-o;8V<4vxWH4KlS=xag6cZ0yO9&J75WM=N%`~Ba)-#clt zkig;gF7^xtW4I(p90s0#;DUzQfO}!SDHS~Iv_VlcgW)jBd|5DZ^2RY3Hb<4=k@`sK zJQSzYY>c4fB-^Og0yKl+?Q7Ixcmk=1w9>p3|=jyos3c zdc79qa0~_m+u*^bbP5hvC={AG5QGH~EILV}$BZluJ$ZmZOwzbcsnshf4P<7-1+8Uqe1)tG|hXf+BZ zG#ExSfKpL9pcq)^@%FqVAV8+0;*=_|K!*j+f+Vv81YDs&z(UyEK69l~RHC8vm!PLNrKrwt$a@eKF)(Tw1#*Rkp4woyn)eFoZf)xNPh*0 z*5B40=R?NR*vh{)T@GVBE?*8d70eR@Hy+Ls$}v7m=)v<43K1R*dxGS@&vXP1M?6qa z%v|9>oqmex{oHswrcsb!PvtN_-I6;4Uyjy&I zYj174Ad!7jU@tch2M-bOGI$J;8W1NPIAn+yZDkCG^;n76KRiC=cJ`G7W|ZUizM{6f zQFiv0A#vG|SQk7Zc<5%hx)o8Jt+whKoBFR#+l$kWBFz~bZseoobzkZY^s+q+NkSB9FlH>~l0_S}8XljxE|%N8mflP^3v8FJx-MPws!oldeD zR}&qxVOJ8*YnumcVqau-Z?Qh}yupW29TzY?U_o7`*v*=;q`Jj)eyz95Zfm|LlfvA(^?$g}?Lme2+_pN979A9Ya+&^;C=z`4a4YgM=i?5gZ)!45q zN{(NmsYyH&EURytw`Ot3)9S9%?$7+YHp`OymLHzCr9(6luBo#3tB#l&Q+hqm`>To| z@3e}_``H<7_Ke7x;~80%t6LL~x5$ij;^jxkTU%cK*5SlxFKKbSG{);^o`t9F(>-~w zQ}des=i~2h2{oe-;dyyYlBXO1cP1((hRh>AUJZ%Jd ze#1(`f4LpC(k2UPMuT(kk+8A_z{q1KItpKQ_z066U2Vp7T{yh^Av=GwH0xD*XJ8(s zuqmILG{5(JN(G}}2BY3yWw4#~!@=f5zyijYiFMT`D+ifn>H6HlW9-#U2h+mza=`E` zXL#ah)-BhVQt!q!ZdOsrT>5_#pt+g10suwC)2!y$f+4*x+Vfi-V(Y1Oue)xKzgld& z#Jzm@inOTY@<$h6{ai5-L?=>#Y+1*7+;nm3nEMluYqE1P-l9LS$7;KqH!p9TrfqRf zafVEvZ?9`Bg_1UXcfhZbH3U!YdNk~*Yw)QnYkOK31q#|?qJQtOq%o%NP$M!@;;UM`~A?+E$#zYCK9!s8j7vKf=t8eODik*xJ-O z*%Cf>Zl_E7IqN%@?HMP@n+XDMi?E?UWp4SbrnIcisL#gUS3IcfDQ-#-6rC!lsPrt| zwRQESIS01gD9$NFH@+ItRnlS%TDIrmx4k`IGOaY-(GwSD^|rV75HSs>*Bn28VNrTd znS};^*6dzSFTI?r01d(auKY~i?x?eu=107KxX!H8DkUm4XqtS~Tx0k09qC=)X1^Me z*kh>b(I436Snd>4_(0l<)$Hw^zO%dg*Bb}33mt2`e7oH46j{w#v`Zrz6-8_wz4&zN zOJTGIbjihxLf5SuF8|iCV}I`CN1V0Gpi9HEn=iynDk|ZC_K$x)bFP0+&XutyyD3Q% zjW&;u@1-J3en^#plw4{~Sa|WaX#RGKaeIA|s}__jyfNLrTUAPk?@FF8H`vyPx#COK zc0aV!)tWXP=IoIa|661{-ZO8=7a=ZHU(Vwuy*4fmD}lw+lRN+l0Mt9KYOR?!BgMNCuNlz(sbd-nd^-?oyz%jWp#7!?Z0!RdVPWJk9Fzp Ww!IrI;0p6cykvHW_{gl-_5TM%O0N?D literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..98e7a7d3c05615d980e10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cwL-F1W{-LJRXfG1|N45DPA6}t!;|HQxLPyO*B{n@pgY3 z?p1Y&b9R~(X`01rTy}=5a&YuUoTXWsqFIV@kTk>7H9X7W>4!klbScaSgh$h|(3hL& zF-?u9s8}p!k2&nB-c2zsm&@W{SrQ>gBcYfePAbNl41)j-QI|DSRu$Z01R-_6bQ4I^ z1rwrLmR2#+ZbA;D;y|MqJ8hYi0!m^Qrw!i8S55ZfC4a~n?O-xQM^co3$hH)a6HYCbTv=Y3sAo*$>GFO zPzM4zZ-Jtek$?$q3zkGatm;vK43?vy8&aCmP2gEK@?JHf>PRrs&arsk=k>PfYFLh- z10%4>gZmo29OL3RlC?7_b^U(crx+$sMCcRT1agjDmL;B*pjhLoa*`k$Z7EA>}EnU>EG5 z{%K zi^*L+uC}&zzW&d1GX>*iheyWms}yIbuwm9KPl>pR9Pk;FamWRuQirJYTnQ9rjKC z$P?Rce0H>`e|~0n#5w-+)ba7$%Rf3w-za^1x-7AS>B#v`+jGs?BVQ;#aJA@c;X5~M z?1{RA_jdf0d;Y_HJ3s!4zta2dFE0(w9-9;LAG!Pb?3^@r^X!iGJF(zHHHYcq+^bXe z54z6yuAIK;Y4%VfCBt*VTYGcrj&C1USM2S`!I;+4;inv??WX&+vHPFxq#xft`)Tg_ j5q#2tM{(0_`x=1{a}2JEy58`*RH<-%oan7 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/vplus/textures/item/copper_axe.png b/src/main/resources/assets/vplus/textures/item/copper_axe.png new file mode 100644 index 0000000000000000000000000000000000000000..f89fe8175c7e6d2049b1bda632da688a8cea8335 GIT binary patch literal 1908 zcmbVNe@xs|94|6A#vnl??ng*0B~xVf`s40;wBh8(-EG|B0fS3mn;`GncXyS$wrdM_ z@P}I<8qm1t=E$5HqK+&fx_{IK9N-c&rg3xAXfk7TX1b8D5Q8jgjG4Y3$AvAh5u3Dq zeed%=-_Q5Q`*yIgepi0(wpw0zA+*=WzCdT1-BSMNbNG+ z1X8-_LR`zxDn>d?C}30)XcS|kEtgV2NzCB1EO)Dn+pOcx`49RdomJ#eI!So$aR5B7U!F|D!D1=o#4v@og97G_cDG>tCgi-LQF;z!~kvjYG zdB4ZgsH?tG=zmUXHnIBI{^Fw=L@N2YT_1ySp$FW*>S zcnQO@Tz+p&u;P`GqYb-1t1g;8_})9dk2+3foez1-X3GZ(UhTX3O`xrJk z+&f)u!IH72o3&**=XaMVqdu+lb7RkAoMZ5XsqgX@rm7Yuw{9mcHoe$hHd6Rz<%Ms{ zXaAYc#>mP)hx=xZUmw~rb|d#t^6*x^Vf&SzPqm-h2kd7af32f9@5(K8{HtvfSI6t3 zgX@MD_F|(W+1N{Olw7#!+c#Hp^78TO+sB^!>8}TFM+8<#%*b=KV9%{|h5ZEV`d4m8)74m?w{fy+-$ n)NVNY#}TZ#-!t>!^E1z8{n$6()BkqB`Y-x@_1@F99ew`+8^C@x literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/vplus/textures/item/copper_boots.png b/src/main/resources/assets/vplus/textures/item/copper_boots.png new file mode 100644 index 0000000000000000000000000000000000000000..760ec4e76c7e5fbc2f792c2843a1fadc77182eac GIT binary patch literal 1821 zcmbVNe`p(39KW$CTbF9bn5z@%c|}q1a_?S#-q9Glq&5N5l{RcqQ1bHbB{`bhJMXSd zQkbm;g+hx|M6eqS2U7%5@h?TF75@-KCJcWdQd~Dgk>Sw(Go&NF%P+doZpDMUd-vYw z`}zL<-u&puaCg_SE{@~6lZp5kd-u5a{(IT8Z=;Ub>wuYf&gQs-huwP*w|usj)-8BvZ-IuU_c+H|38c4!T| z6($xisftWV_5#xo+)-gWLsQI+RzS8z+v%D~q%mUCNeh#qDQ0HB>y4?#EP@DC7o}Si;A$@1`z?f`6rst+Sa#;!0tR~(pHLu zk=~&$nlPK@oeHwZV1Y&Ju5~BvWW0^0?ri$*l6RZwJJsoKO_#T}Oj8IKkx?LQrb>eA zjO0$AW>Tcv^VK-pGO5~dHvZgYXYR6(&g3Qrqqf*wURrzqGd9yNC*yvugrpIDeba}giG*=+U(L%sR*rOn^2U8qYT>1N+MkNq>V za_*6nfA0?*`gBk4i#Ptg22Z~C^69C!*MC?((t9QI75A?B`{LKVxqaQM7kZAa{y7)@ zpf3^1uAEz+IXw8_*)H_jTfgWK0I<6EjRP-i^!<3h=gjq$FF|%=E##TWM8U_K56nI^ zcg2;vy!=t*^y2v%BQ#~_U?#h8G4|8?-1C>tFL*p2GxgW8PZnN}*0X;MI1l$<1^3H)EXH^kgaFl<$@IS@wgHTGS$3_Ty1y8+OvTyNfCVpv6`eV1TIj;_bB zyJzJ{m(>+&6+}&O07;8NM_SPl8pAf#rF9^7Lko|>xUBk!%Tu2axGedIPA)`;bU#eU z%>xGP7-)-#1KlDo5p|E^o6-UzP@o0yw31X!A?+iwyaHO=+Z2IkAy&7KsJ9j3U7>c| zuNe?`J7`j*X%_eJ4#w?ry6IY+rCFMyS&DIzG$YU+fo1XhMIdd46cfUMro1lnkUGN(aSeg;hv}7Ss z?FEx@7I}?7+$pP)mNIMR3BUlbppUS#MluY^xFU>4V7vn3CTUKf=^QkqNph^e2xU=f zNyZ&v8G+*kmb(dxN=5<}xFc8+g_ve2068oxAPy;AjT3k=jDlZFY6en_taHxa5BmM> zh8B~P=)eqbZoq?$emBFr-6ZQ^vgU?DLQpj=po%aU@DV6D4q282Cm-`lwB#lkF2<0O z=weAP%{oaj#sV(~B-ZWW3i1I>?6pgvATJ?#z__3!dZMHoVM$(e(PWf$iX`A%oRjA{ zI?5OIZ#87pf*|?7dF;ltYe#67O_bICeCu?;p8P5)Q`EKL^IE| zawW|0mgUQbr(b*M*X>ot2PV{(U literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/vplus/textures/item/copper_helmet.png b/src/main/resources/assets/vplus/textures/item/copper_helmet.png new file mode 100644 index 0000000000000000000000000000000000000000..a6e91528a00b1768e8970c75ed1e0a6579615fcd GIT binary patch literal 1812 zcmbVNe`wrP9M49buA{83AnQbo=^t)jE_u1T+~u)Y+q+wPxOAmG-8stiUGj1ldzTlJ zw0ErzH*v7x_K%8xxcwo634-nqDIyFz9fB(xh?7mll?m>zifkf9w?9^2?nmgxx)lRS zUf%nBKi}Wq93CDT=xE>4&M-_zb}&6c-<`qz$U6Fb^6w=?U+bO0mpq2q&=uTkm=BL{ zW|)V5w{m$uukD07sYH-L3OG`$I26q=+k0yc(#NsS7I4wBRqp!fGaPFfDz`hXiJFtb zC2Mfn#iP?hIemIuR}8NAS$2C3Qi2Nh5nHR2Z4cH|uFebTI@lICwhr;fRjw~k$mX?S zHbq>_$`O&*MNwiCN(9KUs4PCiN}?nRq9lMQF9Ikgpd_))i=*0H!-OO09Zg;IOXW(w z??6GQR;!U}G(y~>02DabNoMJzaWkz>O!!W1bJmnx>#MVIeqQ>kH>m{yq{ zcq0S-Y&MgUfg;Pi6ajT}H4SEM&qub7vuTy1!HHOw0TW2az@&Z_P=VHMA(rHmI12cv ziA7|HiV`(rE%`LjCxQ}a$s1HYZkW*oHZdSl%)XA-#m`BBnD{-~wla zVEQzYBHW#?`q{Ec)q>OU7c9fMOFzQNjcrQp(z$#~-SP*W=|5%DeYxb(OYed9v(I&A zt{(b$bmq~w^XtCdF_*dcOKr_p2L^7yPd;5_`i`YL+t4=`_m`eJx2OB^mnSwo-dhII zH*eo4=6~2T+IF&k{!HiAV+Rf~;-B%oH{YFG*l(RaUflV5$Ncq~pT`z9PJN$U-*fW2 zz1oF0<}Qy}Uvzgo?9adY;;&;1ZL=Fbdb$0|VdkBiNAgd67Vp~i7*m+IHluxBtIlrv z_tXntPaphIM%7t!BYWiiqqpX})u;CfzbTfy*mbSSo?pB@i{~!+o42jKy6@cirKN*s a*Cwuf@VspP^Vfyozm?4lrBC(0^45Pii&fkJ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/vplus/textures/item/copper_hoe.png b/src/main/resources/assets/vplus/textures/item/copper_hoe.png new file mode 100644 index 0000000000000000000000000000000000000000..77827ee0608d72fd10c99367175667d23952cab0 GIT binary patch literal 1913 zcmbVNdu-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vplus/textures/item/copper_pickaxe.png new file mode 100644 index 0000000000000000000000000000000000000000..9703123942bb54825971fe94cceac9fa54f0427e GIT binary patch literal 1929 zcmbVNd2AF_7@ww!w%F1GsYnQusU$$1onw!7#x6Z}OS@&aE!))=(a0QccgOC|3^UX2 zwkiFCLe(HdLMVtdge$28O)(&$4dE~lqX{O6s7WDQQG;TGN22klZ+5$zLRx5?WMM1jGf@n}TW*|-x+=w;#B+$JzI0WsQ~Se0oIZS^&w zE=2>V!$RT$Nz!O3W1$>2tAl(VrAeA3NSdImI7zW&DNEDn#Dzg?niypL?iCZZ;Fl8% z8-~gfL@XAw#HDBDKctm~v>xbG0pSO_(yj@hrUTL}HoZ|L8mxE#)4xF}73A#QX>ydSXlLg>$J24m>izJCGCyGqaQAXpG zo#b$ivk5p~225W{0dSC3ktdmyyjv04%@Rn-i%_28DH~vb6{mQT$4Q$F;Jmez!EL-K zhyaL;oflK`jhX~okc<3pJ!WH?wZqm)I?QV4MC&wzbrY+IgeJ;`kT$hsq@Bd>EE52rq}sRU*^LzvSinH1u|d?n5%O{x?ejz4pmp1bfPJ-LAlRcmlAYhRX(B1neU z(N!{t2u*9*XX(5T#{runDeFG<2%Cn>;+N{`|V*b06y@URdZ*ShX{QIJdTYssP zijLjge{HB}&6|BMUGZdg7kxdpe)-js>H%+4zJGA;iD3OY{O^x5zBpSsw{@E}-u>s9 z^GCChA#Y*nsmA&})gM?dM8{`muDZVclZA7<{ZikZ{;fw3uRQYU{L2d*!^Lk{#`YGy zUXXQo_;yLGHh1w?=L_6BdYQ%VovZ38tam)!I8@(R*8cw0NL9&?$0~=s%nxTWGk2}8 z4X$``=O1^v_paPD`q^DNkl(j#!@J)h8QTL#%+u}Ryf z&-45L{_p?piN`ut)~>I`Fl=Qs66!?nRnC3qa`fEz_Z&d46-K1n!Z6o;&Rv5IAFRi) zJ1!`Rq@5I>5+pt62C|-l?n2H$XbfxFTrhyt18qD7Gl~`-UHfKdftP>h>)Tq*)(sfsgtO|__8m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4@p|_P2kqT)chHvU zA6rtR%h*iJlx&#j0!AHdPN&J3X3PGW#vgMU|8Pz>qBAo(jJPZ@;_zK*8)neOUGna| zd++l;-{0SRuB~NLQNcY07={)3nuGwFORTYC8G1kP`#eBXzSgwOz_7xV*05m*Mpt22 zUb!4>H{1Qqyr@R)KvF}{9*=4WjbU~5aSe!l(8NQqTUOk}uP09txGcGet<`?ouX$mQ z+%%-a%|k6gai~vpNksj_cwL-F1W{-LJRXfG1|N45DPA6}t!;|HQxLPyO*B{n@pgY3 z?p1Y&b9R~(X`01rTy}=5a&YuUoTXWsqFIV@kTk>7H9X7W>4!klbScaSgh$h|(3hL& zF-?u9s8}p!k2&nB-c2zsm&@W{SrQ>gBcYfePAbNl41)j-QI|DSRu$Z01R-_6bQ4I^ z1rwrLmR2#+ZbA;D;y|MqJ8hYi0!m^Qrw!i8S55ZfC4a~n?O-xQM^co3$hH)a6HYCbTv=Y3sAo*$>GFO zPzM4zZ-Jtek$?$q3zkGatm;vK43?vy8&aCmP2gEK@?JHf>PRrs&arsk=k>PfYFLh- z10%4>gZmo29OL3RlC?7_b^U(crx+$sMCcRT1agjDmL;B*pjhLoa*`k$Z7EA>}EnU>EG5 z{%K zi^*L+uC}&zzW&d1GX>*iheyWms}yIbuwm9KPl>pR9Pk;FamWRuQirJYTnQ9rjKC z$P?Rce0H>`e|~0n#5w-+)ba7$%Rf3w-za^1x-7AS>B#v`+jGs?BVQ;#aJA@c;X5~M z?1{RA_jdf0d;Y_HJ3s!4zta2dFE0(w9-9;LAG!Pb?3^@r^X!iGJF(zHHHYcq+^bXe z54z6yuAIK;Y4%VfCBt*VTYGcrj&C1USM2S`!I;+4;inv??WX&+vHPFxq#xft`)Tg_ j5q#2tM{(0_`x=1{a}2JEy58`*RH<-%oan7 literal 0 HcmV?d00001 diff --git a/src/main/resources/data/minecraft/recipes/diamond_horse_armor.json b/src/main/resources/data/minecraft/recipes/diamond_horse_armor.json new file mode 100644 index 0000000..bf16816 --- /dev/null +++ b/src/main/resources/data/minecraft/recipes/diamond_horse_armor.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " #", + "###", + "# #" + ], + "key": { + "#": { + "item": "minecraft:diamond" + } + }, + "result": { + "item": "minecraft:diamond_horse_armor", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/recipes/gold_horse_armor.json b/src/main/resources/data/minecraft/recipes/gold_horse_armor.json new file mode 100644 index 0000000..d9a74db --- /dev/null +++ b/src/main/resources/data/minecraft/recipes/gold_horse_armor.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " g", + "ggg", + "g g" + ], + "key": { + "g": { + "item": "minecraft:gold_ingot" + } + }, + "result": { + "item": "minecraft:golden_horse_armor", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/recipes/iron_horse_armor.json b/src/main/resources/data/minecraft/recipes/iron_horse_armor.json new file mode 100644 index 0000000..94ae4b9 --- /dev/null +++ b/src/main/resources/data/minecraft/recipes/iron_horse_armor.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " i", + "iii", + "i i" + ], + "key": { + "i": { + "item": "minecraft:iron_ingot" + } + }, + "result": { + "item": "minecraft:iron_horse_armor", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/recipes/leather_horse_armor.json b/src/main/resources/data/minecraft/recipes/leather_horse_armor.json new file mode 100644 index 0000000..a0f1380 --- /dev/null +++ b/src/main/resources/data/minecraft/recipes/leather_horse_armor.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + " #", + "###", + "# #" + ], + "key": { + "#": { + "item": "minecraft:leather" + } + }, + "result": { + "item": "minecraft:leather_horse_armor", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/recipes/nametag.json b/src/main/resources/data/minecraft/recipes/nametag.json new file mode 100644 index 0000000..9c66585 --- /dev/null +++ b/src/main/resources/data/minecraft/recipes/nametag.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#i#", + " # ", + " # " + ], + "key": { + "#": { + "item": "minecraft:string" + }, + "i": { + "item": "minecraft:iron_ingot" + } + }, + "result": { + "item": "minecraft:name_tag", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/recipes/saddle.json b/src/main/resources/data/minecraft/recipes/saddle.json new file mode 100644 index 0000000..3034843 --- /dev/null +++ b/src/main/resources/data/minecraft/recipes/saddle.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#i#", + "# #" + ], + "key": { + "#": { + "item": "minecraft:leather" + }, + "i": { + "item": "minecraft:iron_ingot" + } + }, + "result": { + "item": "minecraft:saddle", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_apple.json b/src/main/resources/data/vplus/recipes/copper_apple.json new file mode 100644 index 0000000..fcd2da2 --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_apple.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "iii", + "iAi", + "iii" + ], + "key": { + "i": { + "item": "minecraft:copper_ingot" + }, + "A": { + "item": "minecraft:apple" + } + }, + "result": { + "item": "vplus:copper_apple", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_axe.json b/src/main/resources/data/vplus/recipes/copper_axe.json new file mode 100644 index 0000000..5b45810 --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_axe.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "XX", + "X#", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:copper_ingot" + } + }, + "result": { + "item": "vplus:copper_axe" + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_boots.json b/src/main/resources/data/vplus/recipes/copper_boots.json new file mode 100644 index 0000000..364623b --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_boots.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "# #", + "# #" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + } + }, + "result": { + "item": "vplus:copper_boots", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_chestplate.json b/src/main/resources/data/vplus/recipes/copper_chestplate.json new file mode 100644 index 0000000..ff04ff2 --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_chestplate.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "# #", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + } + }, + "result": { + "item": "vplus:copper_chestplate", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_helmet.json b/src/main/resources/data/vplus/recipes/copper_helmet.json new file mode 100644 index 0000000..1f50702 --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_helmet.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "# #" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + } + }, + "result": { + "item": "vplus:copper_helmet", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_hoe.json b/src/main/resources/data/vplus/recipes/copper_hoe.json new file mode 100644 index 0000000..e2dfa96 --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_hoe.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + " /", + " /" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + }, + "/": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "vplus:copper_hoe", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_leggings.json b/src/main/resources/data/vplus/recipes/copper_leggings.json new file mode 100644 index 0000000..de259d9 --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_leggings.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "# #", + "# #" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + } + }, + "result": { + "item": "vplus:copper_leggings", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_pickaxe.json b/src/main/resources/data/vplus/recipes/copper_pickaxe.json new file mode 100644 index 0000000..d228f25 --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_pickaxe.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + " / ", + " / " + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + }, + "/": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "vplus:copper_pickaxe", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_shovel.json b/src/main/resources/data/vplus/recipes/copper_shovel.json new file mode 100644 index 0000000..ec41c2a --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_shovel.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#", + "/", + "/" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + }, + "/": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "vplus:copper_shovel", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/copper_sword.json b/src/main/resources/data/vplus/recipes/copper_sword.json new file mode 100644 index 0000000..0f5bd4f --- /dev/null +++ b/src/main/resources/data/vplus/recipes/copper_sword.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "#", + "#", + "/" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + }, + "/": { + "item": "minecraft:stick" + } + }, + "result": { + "item": "vplus:copper_sword", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/vplus/recipes/enchanted_copper_apple.json b/src/main/resources/data/vplus/recipes/enchanted_copper_apple.json new file mode 100644 index 0000000..8aa8ca0 --- /dev/null +++ b/src/main/resources/data/vplus/recipes/enchanted_copper_apple.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "iii", + "iAi", + "iii" + ], + "key": { + "i": { + "item": "minecraft:copper_block" + }, + "A": { + "item": "minecraft:apple" + } + }, + "result": { + "item": "vplus:enchanted_copper_apple", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 7347a0f..41c2d2c 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -6,11 +6,11 @@ "name": "Vanilla Plus", "description": "Adding things that should be in the vanilla game!", "authors": [ - "nevetS-718" + "Steven" ], "contact": { "homepage": "https://nevets.tech/", - "sources": "https://github.com/nevetS-718/VanillaPlus" + "sources": "https://git.nevets.tech/Steven/VanillaPlus" }, "license": "CC0-1.0", @@ -20,19 +20,28 @@ "entrypoints": { "main": [ "tech.nevets.vplus.Main" + ], + "client": [ + "tech.nevets.vplus.init.ClientInit" ] }, "mixins": [ - "vplus.mixins.json" + { + "config": "vplus.mixins.json", + "environment": "server" + }, + { + "config": "vplus.clientmixins.json", + "environment": "client" + } ], "depends": { - "fabricloader": ">=0.11.3", + "fabricloader": ">=0.12.9", "fabric": "*", - "minecraft": "1.17.x", - "java": ">=16" + "minecraft": "1.18.x", + "java": ">=17" }, "suggests": { - "another-mod": "*" } } \ No newline at end of file diff --git a/src/main/resources/vplus.clientmixins.json b/src/main/resources/vplus.clientmixins.json new file mode 100644 index 0000000..b74622d --- /dev/null +++ b/src/main/resources/vplus.clientmixins.json @@ -0,0 +1,13 @@ +{ + "required": true, + "package": "tech.nevets.vplus.clientmixin", + "compatibilityLevel": "JAVA_17", + "mixins": [ + ], + "client": [ + "ZoomMixin" + ], + "injectors": { + "defaultRequire": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/vplus.mixins.json b/src/main/resources/vplus.mixins.json index b0f66ae..244ae0b 100644 --- a/src/main/resources/vplus.mixins.json +++ b/src/main/resources/vplus.mixins.json @@ -1,14 +1,12 @@ { - "required": true, - "minVersion": "0.8", + "required": false, "package": "tech.nevets.vplus.mixin", - "compatibilityLevel": "JAVA_16", + "compatibilityLevel": "JAVA_17", "mixins": [ - "ZoomMixin" ], "client": [ ], "injectors": { - "defaultRequire": 1 + "defaultRequire": 0 } } \ No newline at end of file