Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,26 @@
<img alt="Items" src="./preview/demo_items.png">
<img alt="Luminitite Ores" src="./preview/demo_luminitite.png">
<img alt="Infernium Ores" src="./preview/demo_infernium.png">
<img alt="Ice Cryocite Ores" src="./preview/demo_cryocite.png">
<img alt="Voidium Ores" src="./preview/demo_voidium.png">
<br>
</h2>

<h2 align="center">Features <br></h2>
<ul>
<li>New Luminitite, Infernium, Cryocite, and Voidium Ores which can be found naturally generated</li>
<li>Respective toolsets and armour that goes beyond the netherite tier</li>
<li>New food items that give special effects - some are randomised!</li>
<li>New efficient source of fuel: Scorched Ignis Block</li>
</ul>

<h2 align="center">To do <br></h2>
<ul>
<li>Add recipes ✅</li>
<li>Add world generation ✅</li>
<li>Add more functionality, balance stats of tools and armours 🔨</li>
<li>Add consumables ✅</li>
<li>Add new mobs! 🔨</li>
<li>Convert block and item registries to DataGens (tried this once and gave up after like 3 hours due to lack of documentation) ❌</li>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.21.4+build.8
loader_version=0.16.10

# Mod Properties
mod_version=1.0.1
mod_version=1.0.2
maven_group=io.github.junyali.extra_ores
archives_base_name=extra-ores

Expand Down
Binary file added preview/demo_cryocite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified preview/demo_items.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified preview/demo_main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.github.junyali.extra_ores.armor;

import io.github.junyali.extra_ores.EXtraOres;
import io.github.junyali.extra_ores.item.ModItems;
import net.minecraft.item.equipment.ArmorMaterial;
import net.minecraft.item.equipment.EquipmentType;
Expand All @@ -23,9 +24,24 @@ public class ModArmorMaterial {
SoundEvents.ITEM_ARMOR_EQUIP_IRON,
6.0F,
0.5F,
TagKey.of(RegistryKeys.ITEM, Identifier.of("infurium_clump")),
TagKey.of(RegistryKeys.ITEM, Identifier.of(EXtraOres.MOD_ID,"infernium_clump")),
ModItems.INFERNIUM_ARMOR_MATERIAL_KEY
);
public static final ArmorMaterial CRYOCITE_TIER = new ArmorMaterial(
50,
Map.of(
EquipmentType.HELMET, 5,
EquipmentType.CHESTPLATE, 10,
EquipmentType.LEGGINGS, 8,
EquipmentType.BOOTS, 5
),
20,
SoundEvents.ITEM_ARMOR_EQUIP_IRON,
6.0F,
0.5F,
TagKey.of(RegistryKeys.ITEM, Identifier.of(EXtraOres.MOD_ID,"cryo_shard")),
ModItems.CRYOCITE_ARMOR_MATERIAL_KEY
);
public static final ArmorMaterial VOIDIUM_TIER = new ArmorMaterial(
80,
Map.of(
Expand All @@ -38,7 +54,7 @@ public class ModArmorMaterial {
SoundEvents.ITEM_ARMOR_EQUIP_NETHERITE,
12.0F,
1.0F,
TagKey.of(RegistryKeys.ITEM, Identifier.of("voidium_dust")),
TagKey.of(RegistryKeys.ITEM, Identifier.of(EXtraOres.MOD_ID, "voidium_dust")),
ModItems.VOIDIUM_ARMOR_MATERIAL_KEY
);
}
54 changes: 54 additions & 0 deletions src/main/java/io/github/junyali/extra_ores/block/ModBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,28 @@ public class ModBlocks {
Identifier.of(EXtraOres.MOD_ID, "voidium_block")
);

// Cryocite Keys
public static final RegistryKey<Block> ICE_CRYOCITE_ORE_KEY = RegistryKey.of(
RegistryKeys.BLOCK,
Identifier.of(EXtraOres.MOD_ID, "ice_cryocite_ore")
);
public static final RegistryKey<Block> CRYOCITE_ORE_KEY = RegistryKey.of(
RegistryKeys.BLOCK,
Identifier.of(EXtraOres.MOD_ID, "cryocite_ore")
);
public static final RegistryKey<Block> DEEPSLATE_CRYOCITE_ORE_KEY = RegistryKey.of(
RegistryKeys.BLOCK,
Identifier.of(EXtraOres.MOD_ID, "deepslate_cryocite_ore")
);
public static final RegistryKey<Block> CRYOCITE_BLOCK_KEY = RegistryKey.of(
RegistryKeys.BLOCK,
Identifier.of(EXtraOres.MOD_ID, "cryocite_block")
);
public static final RegistryKey<Block> FREEZING_CRYOCITE_BLOCK_KEY = RegistryKey.of(
RegistryKeys.BLOCK,
Identifier.of(EXtraOres.MOD_ID, "freezing_cryocite_block")
);

// Misc Keys
public static final RegistryKey<Block> IGNIS_BLOCK_KEY = RegistryKey.of(
RegistryKeys.BLOCK,
Expand Down Expand Up @@ -109,6 +131,33 @@ public class ModBlocks {
true
);

// Cryocite Blocks
public static final Block ICE_CRYOCITE_ORE = register(
new Block(AbstractBlock.Settings.create().registryKey(ICE_CRYOCITE_ORE_KEY).sounds(BlockSoundGroup.GLASS).strength(1.0f)),
ICE_CRYOCITE_ORE_KEY,
true
);
public static final Block CRYOCITE_ORE = register(
new Block(AbstractBlock.Settings.create().registryKey(CRYOCITE_ORE_KEY).sounds(BlockSoundGroup.STONE).strength(3.0f).requiresTool()),
CRYOCITE_ORE_KEY,
true
);
public static final Block DEEPSLATE_CRYOCITE_ORE = register(
new Block(AbstractBlock.Settings.create().registryKey(DEEPSLATE_CRYOCITE_ORE_KEY).sounds(BlockSoundGroup.STONE).strength(4.0f).requiresTool()),
DEEPSLATE_CRYOCITE_ORE_KEY,
true
);
public static final Block CRYOCITE_BLOCK = register(
new Block(AbstractBlock.Settings.create().registryKey(CRYOCITE_BLOCK_KEY).sounds(BlockSoundGroup.GLASS).strength(6.0f).requiresTool()),
CRYOCITE_BLOCK_KEY,
true
);
public static final Block FREEZING_CRYOCITE_BLOCK = register(
new Block(AbstractBlock.Settings.create().registryKey(FREEZING_CRYOCITE_BLOCK_KEY).sounds(BlockSoundGroup.CALCITE).strength(8.0f).requiresTool()),
FREEZING_CRYOCITE_BLOCK_KEY,
true
);

// Misc Blocks
public static final Block IGNIS_BLOCK = register(
new Block(AbstractBlock.Settings.create().registryKey(IGNIS_BLOCK_KEY).sounds(BlockSoundGroup.NETHERRACK).strength(3.0f).requiresTool()),
Expand Down Expand Up @@ -149,6 +198,11 @@ public static void initialize() {
entries.add(VOIDIUM_BLOCK);
entries.add(IGNIS_BLOCK);
entries.add(SCORCHED_IGNIS_BLOCK);
entries.add(ICE_CRYOCITE_ORE);
entries.add(CRYOCITE_ORE);
entries.add(DEEPSLATE_CRYOCITE_ORE);
entries.add(CRYOCITE_BLOCK);
entries.add(FREEZING_CRYOCITE_BLOCK);
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ public class ModGeneration {
public static final RegistryKey<PlacedFeature> LUMINITITE_ORE_PLACED_KEY = RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(EXtraOres.MOD_ID, "luminitite_ore_generation"));
public static final RegistryKey<PlacedFeature> INFERNIUM_ORE_PLACED_KEY = RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(EXtraOres.MOD_ID, "infernium_ore_generation"));
public static final RegistryKey<PlacedFeature> VOIDIUM_ORE_PLACED_KEY = RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(EXtraOres.MOD_ID, "voidium_ore_generation"));
public static final RegistryKey<PlacedFeature> CRYOCITE_ORE_PLACED_KEY = RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(EXtraOres.MOD_ID, "cryocite_ore_generation"));
public static final RegistryKey<PlacedFeature> ICE_CRYOCITE_ORE_PLACED_KEY = RegistryKey.of(RegistryKeys.PLACED_FEATURE, Identifier.of(EXtraOres.MOD_ID, "ice_cryocite_ore_generation"));

public static void initialize() {
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, LUMINITITE_ORE_PLACED_KEY);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, CRYOCITE_ORE_PLACED_KEY);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, ICE_CRYOCITE_ORE_PLACED_KEY);

BiomeModifications.addFeature(BiomeSelectors.foundInTheNether(), GenerationStep.Feature.UNDERGROUND_ORES, INFERNIUM_ORE_PLACED_KEY);
BiomeModifications.addFeature(BiomeSelectors.foundInTheEnd(), GenerationStep.Feature.UNDERGROUND_ORES, VOIDIUM_ORE_PLACED_KEY);
}
Expand Down
Loading