diff --git a/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_silver_ore.json b/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_silver_ore.json new file mode 100644 index 0000000..e96a60c --- /dev/null +++ b/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_silver_ore.json @@ -0,0 +1,6 @@ +{ + "type": "neoforge:add_features", + "biomes": "#minecraft:is_overworld", + "features": "ageofthegods:silver_ore_placer", + "step": "vegetal_decoration" +} \ No newline at end of file diff --git a/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_tin_ore.json b/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_tin_ore.json new file mode 100644 index 0000000..75a9093 --- /dev/null +++ b/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_tin_ore.json @@ -0,0 +1,6 @@ +{ + "type": "neoforge:add_features", + "biomes": "#minecraft:is_overworld", + "features": "ageofthegods:tin_ore_placer", + "step": "vegetal_decoration" +} \ No newline at end of file diff --git a/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_zinc_ore.json b/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_zinc_ore.json new file mode 100644 index 0000000..0612a16 --- /dev/null +++ b/src/generated/resources/data/ageofthegods/neoforge/biome_modifier/add_zinc_ore.json @@ -0,0 +1,6 @@ +{ + "type": "neoforge:add_features", + "biomes": "#minecraft:is_overworld", + "features": "ageofthegods:zinc_ore_placer", + "step": "vegetal_decoration" +} \ No newline at end of file diff --git a/src/generated/resources/data/ageofthegods/worldgen/configured_feature/silver_ore_conf.json b/src/generated/resources/data/ageofthegods/worldgen/configured_feature/silver_ore_conf.json new file mode 100644 index 0000000..43bce54 --- /dev/null +++ b/src/generated/resources/data/ageofthegods/worldgen/configured_feature/silver_ore_conf.json @@ -0,0 +1,27 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 7, + "targets": [ + { + "state": { + "Name": "ageofthegods:silver_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:stone_ore_replaceables" + } + }, + { + "state": { + "Name": "ageofthegods:silver_deepslate_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:deepslate_ore_replaceables" + } + } + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ageofthegods/worldgen/configured_feature/tin_ore_conf.json b/src/generated/resources/data/ageofthegods/worldgen/configured_feature/tin_ore_conf.json new file mode 100644 index 0000000..a6082a4 --- /dev/null +++ b/src/generated/resources/data/ageofthegods/worldgen/configured_feature/tin_ore_conf.json @@ -0,0 +1,27 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 7, + "targets": [ + { + "state": { + "Name": "ageofthegods:tin_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:stone_ore_replaceables" + } + }, + { + "state": { + "Name": "ageofthegods:tin_deepslate_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:deepslate_ore_replaceables" + } + } + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ageofthegods/worldgen/configured_feature/zinc_ore_conf.json b/src/generated/resources/data/ageofthegods/worldgen/configured_feature/zinc_ore_conf.json new file mode 100644 index 0000000..6b4fed1 --- /dev/null +++ b/src/generated/resources/data/ageofthegods/worldgen/configured_feature/zinc_ore_conf.json @@ -0,0 +1,27 @@ +{ + "type": "minecraft:ore", + "config": { + "discard_chance_on_air_exposure": 0.0, + "size": 7, + "targets": [ + { + "state": { + "Name": "ageofthegods:zinc_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:stone_ore_replaceables" + } + }, + { + "state": { + "Name": "ageofthegods:zinc_deepslate_ore" + }, + "target": { + "predicate_type": "minecraft:tag_match", + "tag": "minecraft:deepslate_ore_replaceables" + } + } + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ageofthegods/worldgen/placed_feature/silver_ore_placer.json b/src/generated/resources/data/ageofthegods/worldgen/placed_feature/silver_ore_placer.json new file mode 100644 index 0000000..4b98450 --- /dev/null +++ b/src/generated/resources/data/ageofthegods/worldgen/placed_feature/silver_ore_placer.json @@ -0,0 +1,27 @@ +{ + "feature": "ageofthegods:silver_ore_conf", + "placement": [ + { + "type": "minecraft:count", + "count": 9 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:trapezoid", + "max_inclusive": { + "absolute": 80 + }, + "min_inclusive": { + "absolute": -64 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/ageofthegods/worldgen/placed_feature/tin_ore_placer.json b/src/generated/resources/data/ageofthegods/worldgen/placed_feature/tin_ore_placer.json new file mode 100644 index 0000000..179422c --- /dev/null +++ b/src/generated/resources/data/ageofthegods/worldgen/placed_feature/tin_ore_placer.json @@ -0,0 +1,27 @@ +{ + "feature": "ageofthegods:tin_ore_conf", + "placement": [ + { + "type": "minecraft:count", + "count": 9 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:trapezoid", + "max_inclusive": { + "absolute": 80 + }, + "min_inclusive": { + "absolute": -64 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/ageofthegods/worldgen/placed_feature/zinc_ore_placer.json b/src/generated/resources/data/ageofthegods/worldgen/placed_feature/zinc_ore_placer.json new file mode 100644 index 0000000..42e8698 --- /dev/null +++ b/src/generated/resources/data/ageofthegods/worldgen/placed_feature/zinc_ore_placer.json @@ -0,0 +1,27 @@ +{ + "feature": "ageofthegods:zinc_ore_conf", + "placement": [ + { + "type": "minecraft:count", + "count": 9 + }, + { + "type": "minecraft:in_square" + }, + { + "type": "minecraft:height_range", + "height": { + "type": "minecraft:trapezoid", + "max_inclusive": { + "absolute": 80 + }, + "min_inclusive": { + "absolute": -64 + } + } + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/main/java/net/halbear/aotg/registries/ModBiomeModifiers.java b/src/main/java/net/halbear/aotg/registries/ModBiomeModifiers.java index 9c21e44..4366bf8 100644 --- a/src/main/java/net/halbear/aotg/registries/ModBiomeModifiers.java +++ b/src/main/java/net/halbear/aotg/registries/ModBiomeModifiers.java @@ -7,6 +7,7 @@ import net.minecraft.core.registries.Registries; import net.minecraft.data.worldgen.BootstrapContext; import net.minecraft.resources.Identifier; import net.minecraft.resources.ResourceKey; +import net.minecraft.tags.BiomeTags; import net.minecraft.world.level.biome.Biome; import net.minecraft.world.level.biome.Biomes; import net.minecraft.world.level.levelgen.GenerationStep; @@ -41,11 +42,39 @@ public class ModBiomeModifiers { public static final ResourceKey LIMESTONE_BOULDER_BIOME_MODIFIER = ResourceKey.create( NeoForgeRegistries.Keys.BIOME_MODIFIERS, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "limestone_shale_boulder")); + public static final ResourceKey ADD_ZINC_ORE = + ResourceKey.create(NeoForgeRegistries.Keys.BIOME_MODIFIERS, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "add_zinc_ore")); + public static final ResourceKey ADD_TIN_ORE = + ResourceKey.create(NeoForgeRegistries.Keys.BIOME_MODIFIERS, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "add_tin_ore")); + public static final ResourceKey ADD_SILVER_ORE = + ResourceKey.create(NeoForgeRegistries.Keys.BIOME_MODIFIERS, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "add_silver_ore")); public static void bootstrap(BootstrapContext context) { HolderGetter placedFeatures = context.lookup(Registries.PLACED_FEATURE); HolderGetter biomes = context.lookup(Registries.BIOME); + var biomeTags = context.lookup(Registries.BIOME); + + var targetBiomeTags = biomeTags.getOrThrow(BiomeTags.IS_OVERWORLD); + + context.register(ADD_ZINC_ORE, new BiomeModifiers.AddFeaturesBiomeModifier( + targetBiomeTags, + HolderSet.direct(placedFeatures.getOrThrow(ZINC_ORE_PLACER)), + GenerationStep.Decoration.VEGETAL_DECORATION + )); + context.register(ADD_TIN_ORE, new BiomeModifiers.AddFeaturesBiomeModifier( + targetBiomeTags, + HolderSet.direct(placedFeatures.getOrThrow(TIN_ORE_PLACER)), + GenerationStep.Decoration.VEGETAL_DECORATION + )); + + context.register(ADD_SILVER_ORE, new BiomeModifiers.AddFeaturesBiomeModifier( + targetBiomeTags, + HolderSet.direct(placedFeatures.getOrThrow(SILVER_ORE_PLACER)), + GenerationStep.Decoration.VEGETAL_DECORATION + )); + + var placedTreeHolder = placedFeatures.getOrThrow(ModPlacedFeatures.SHORT_TWISTY_TREE_PLACED_KEY); var targetBiomes = HolderSet.direct(biomes.getOrThrow(ModBiomes.MAQUIS_SHRUBLAND)); diff --git a/src/main/java/net/halbear/aotg/registries/ModBlocks.java b/src/main/java/net/halbear/aotg/registries/ModBlocks.java index 96a0d4d..5a4b17f 100644 --- a/src/main/java/net/halbear/aotg/registries/ModBlocks.java +++ b/src/main/java/net/halbear/aotg/registries/ModBlocks.java @@ -53,6 +53,29 @@ public class ModBlocks { .lightLevel(state -> 0) )); + public static final DeferredBlock SILVER_DEEPSLATE_ORE = RegisterBlock("silver_deepslate_ore", + properties -> new RockCoveredGrassBlock(properties.strength(2.0f) + .requiresCorrectToolForDrops() + .explosionResistance(6.0f) + .sound(SoundType.DEEPSLATE) + .lightLevel(state -> 0) + )); + public static final DeferredBlock ZINC_DEEPSLATE_ORE = RegisterBlock("zinc_deepslate_ore", + properties -> new RockCoveredGrassBlock(properties.strength(2.0f) + .requiresCorrectToolForDrops() + .explosionResistance(6.0f) + .sound(SoundType.DEEPSLATE) + .lightLevel(state -> 0) + )); + public static final DeferredBlock TIN_DEEPSLATE_ORE = RegisterBlock("tin_deepslate_ore", + properties -> new RockCoveredGrassBlock(properties.strength(2.0f) + .requiresCorrectToolForDrops() + .explosionResistance(6.0f) + .sound(SoundType.DEEPSLATE) + .lightLevel(state -> 0) + )); + + public static final DeferredBlock OLIVE_LOG = RegisterBlock("olive_log", properties -> new RotatedPillarBlock(properties.strength(0.35f) .explosionResistance(1.0f) diff --git a/src/main/java/net/halbear/aotg/registries/ModConfiguredFeatures.java b/src/main/java/net/halbear/aotg/registries/ModConfiguredFeatures.java index a3f7eb7..40a094a 100644 --- a/src/main/java/net/halbear/aotg/registries/ModConfiguredFeatures.java +++ b/src/main/java/net/halbear/aotg/registries/ModConfiguredFeatures.java @@ -7,17 +7,22 @@ import net.minecraft.core.registries.Registries; import net.minecraft.data.worldgen.BootstrapContext; import net.minecraft.resources.Identifier; import net.minecraft.resources.ResourceKey; +import net.minecraft.tags.BlockTags; import net.minecraft.util.valueproviders.ConstantInt; import net.minecraft.world.level.block.Blocks; import net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate; import net.minecraft.world.level.levelgen.feature.ConfiguredFeature; import net.minecraft.world.level.levelgen.feature.Feature; import net.minecraft.world.level.levelgen.feature.configurations.BlockBlobConfiguration; +import net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration; import net.minecraft.world.level.levelgen.feature.configurations.TreeConfiguration; import net.minecraft.world.level.levelgen.feature.featuresize.TwoLayersFeatureSize; import net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider; +import net.minecraft.world.level.levelgen.structure.templatesystem.TagMatchTest; import net.neoforged.fml.common.Mod; +import java.util.List; + public class ModConfiguredFeatures { public static final ResourceKey> PINE_TREE = ResourceKey.create(Registries.CONFIGURED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "pine_tree")); @@ -33,6 +38,7 @@ public class ModConfiguredFeatures { ResourceKey.create(Registries.CONFIGURED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "tall_thin_birch_tree")); public static final ResourceKey> SHORT_THIN_TWISTY_TREE = ResourceKey.create(Registries.CONFIGURED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "short_thin_twisty_tree")); + public static final ResourceKey> GRANITE_BOULDER = ResourceKey.create( Registries.CONFIGURED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "granite_boulder")); public static final ResourceKey> SHALE_BOULDER = ResourceKey.create( @@ -42,7 +48,38 @@ public class ModConfiguredFeatures { public static final ResourceKey> LIMESTONE_BOULDER = ResourceKey.create( Registries.CONFIGURED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "limestone_boulder")); + public static final ResourceKey> SILVER_ORE_CONF = + ResourceKey.create(Registries.CONFIGURED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "silver_ore_conf")); + public static final ResourceKey> ZINC_ORE_CONF = + ResourceKey.create(Registries.CONFIGURED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "zinc_ore_conf")); + public static final ResourceKey> TIN_ORE_CONF = + ResourceKey.create(Registries.CONFIGURED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "tin_ore_conf")); + + public static void bootstrap(BootstrapContext> context) { + List Silver_ore_Targets = List.of( + OreConfiguration.target(new TagMatchTest(BlockTags.STONE_ORE_REPLACEABLES), ModBlocks.SILVER_ORE.get().defaultBlockState()), + OreConfiguration.target(new TagMatchTest(BlockTags.DEEPSLATE_ORE_REPLACEABLES), ModBlocks.SILVER_DEEPSLATE_ORE.get().defaultBlockState()) + ); + + context.register(SILVER_ORE_CONF, + new ConfiguredFeature<>(Feature.ORE, new OreConfiguration(Silver_ore_Targets, 7))); + List Tin_Ore_targets = List.of( + OreConfiguration.target(new TagMatchTest(BlockTags.STONE_ORE_REPLACEABLES), ModBlocks.TIN_ORE.get().defaultBlockState()), + OreConfiguration.target(new TagMatchTest(BlockTags.DEEPSLATE_ORE_REPLACEABLES), ModBlocks.TIN_DEEPSLATE_ORE.get().defaultBlockState()) + ); + + context.register(TIN_ORE_CONF, + new ConfiguredFeature<>(Feature.ORE, new OreConfiguration(Tin_Ore_targets, 7))); + List Zinc_ore_targets = List.of( + OreConfiguration.target(new TagMatchTest(BlockTags.STONE_ORE_REPLACEABLES), ModBlocks.ZINC_ORE.get().defaultBlockState()), + OreConfiguration.target(new TagMatchTest(BlockTags.DEEPSLATE_ORE_REPLACEABLES), ModBlocks.ZINC_DEEPSLATE_ORE.get().defaultBlockState()) + ); + + context.register(ZINC_ORE_CONF, + new ConfiguredFeature<>(Feature.ORE, new OreConfiguration(Zinc_ore_targets, 7))); + + context.register(PINE_TREE, new ConfiguredFeature<>( Feature.TREE, new TreeConfiguration.TreeConfigurationBuilder( diff --git a/src/main/java/net/halbear/aotg/registries/ModItems.java b/src/main/java/net/halbear/aotg/registries/ModItems.java index 04a2366..b1f50cb 100644 --- a/src/main/java/net/halbear/aotg/registries/ModItems.java +++ b/src/main/java/net/halbear/aotg/registries/ModItems.java @@ -20,6 +20,9 @@ public class ModItems { public static final DeferredItem SILVER_ORE_ITEM = ITEMS.registerSimpleBlockItem("silver_ore", SILVER_ORE); public static final DeferredItem TIN_ORE_ITEM = ITEMS.registerSimpleBlockItem("tin_ore", TIN_ORE); public static final DeferredItem ZINC_ORE_ITEM = ITEMS.registerSimpleBlockItem("zinc_ore", ZINC_ORE); + public static final DeferredItem SILVER_DEEPSLATE_ORE_ITEM = ITEMS.registerSimpleBlockItem("silver_deepslate_ore", SILVER_DEEPSLATE_ORE); + public static final DeferredItem TIN_DEEPSLATE_ORE_ITEM = ITEMS.registerSimpleBlockItem("tin_deepslate_ore", TIN_DEEPSLATE_ORE); + public static final DeferredItem ZINC_DEEPSLATE_ORE_ITEM = ITEMS.registerSimpleBlockItem("zinc_deepslate_ore", ZINC_DEEPSLATE_ORE); public static final DeferredItem SHALE_ITEM = ITEMS.registerSimpleBlockItem("shale_block", SHALE_BLOCK); public static final DeferredItem SHALE_GRASS_ITEM = ITEMS.registerSimpleBlockItem("shale_grass_block", SHALE_GRASS_BLOCK); public static final DeferredItem LIMESTONE_GRASS_ITEM = ITEMS.registerSimpleBlockItem("limestone_grass_block", LIMESTONE_GRASS_BLOCK); diff --git a/src/main/java/net/halbear/aotg/registries/ModPlacedFeatures.java b/src/main/java/net/halbear/aotg/registries/ModPlacedFeatures.java index 9a35b9c..150c382 100644 --- a/src/main/java/net/halbear/aotg/registries/ModPlacedFeatures.java +++ b/src/main/java/net/halbear/aotg/registries/ModPlacedFeatures.java @@ -10,6 +10,7 @@ import net.minecraft.resources.Identifier; import net.minecraft.resources.ResourceKey; import net.minecraft.world.level.block.Blocks; import net.minecraft.world.level.levelgen.Heightmap; +import net.minecraft.world.level.levelgen.VerticalAnchor; import net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate; import net.minecraft.world.level.levelgen.feature.ConfiguredFeature; import net.minecraft.world.level.levelgen.placement.*; @@ -44,8 +45,47 @@ public class ModPlacedFeatures { public static final ResourceKey LIMESTONE_BOULDER_PLACED = ResourceKey.create( Registries.PLACED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "limestone_boulder_placed")); + public static final ResourceKey SILVER_ORE_PLACER = + ResourceKey.create(Registries.PLACED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "silver_ore_placer")); + public static final ResourceKey TIN_ORE_PLACER = + ResourceKey.create(Registries.PLACED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "tin_ore_placer")); + public static final ResourceKey ZINC_ORE_PLACER = + ResourceKey.create(Registries.PLACED_FEATURE, Identifier.fromNamespaceAndPath(AgeoftheGods.MODID, "zinc_ore_placer")); + public static void bootstrap(BootstrapContext context) { HolderGetter> configuredFeatures = context.lookup(Registries.CONFIGURED_FEATURE); + + context.register(SILVER_ORE_PLACER, + new PlacedFeature(configuredFeatures.getOrThrow(SILVER_ORE_CONF), + List.of( + CountPlacement.of(9), + InSquarePlacement.spread(), + HeightRangePlacement.triangle(VerticalAnchor.absolute(-64), VerticalAnchor.absolute(80)), + BiomeFilter.biome() + ) + )); + + context.register(TIN_ORE_PLACER, + new PlacedFeature(configuredFeatures.getOrThrow(TIN_ORE_CONF), + List.of( + CountPlacement.of(9), + InSquarePlacement.spread(), + HeightRangePlacement.triangle(VerticalAnchor.absolute(-64), VerticalAnchor.absolute(80)), + BiomeFilter.biome() + ) + )); + + context.register(ZINC_ORE_PLACER, + new PlacedFeature(configuredFeatures.getOrThrow(ZINC_ORE_CONF), + List.of( + CountPlacement.of(9), + InSquarePlacement.spread(), + HeightRangePlacement.triangle(VerticalAnchor.absolute(-64), VerticalAnchor.absolute(80)), + BiomeFilter.biome() + ) + )); + + var configuredTreeHolder = configuredFeatures.getOrThrow(PINE_TREE); context.register(PINE_TREE_PLACED, new PlacedFeature( diff --git a/src/main/java/net/halbear/aotg/registries/ModTabs.java b/src/main/java/net/halbear/aotg/registries/ModTabs.java index 9ac80ab..001d0eb 100644 --- a/src/main/java/net/halbear/aotg/registries/ModTabs.java +++ b/src/main/java/net/halbear/aotg/registries/ModTabs.java @@ -42,12 +42,15 @@ public class ModTabs { output.accept(ALLOY_FURNACE_ITEM.get()); output.accept(FORGE_WORKBENCH_ITEM.get()); output.accept(TIN_ORE_ITEM.get()); + output.accept(TIN_DEEPSLATE_ORE_ITEM.get()); output.accept(RAW_TIN.get()); output.accept(TIN_INGOT.get()); output.accept(ZINC_ORE_ITEM.get()); + output.accept(ZINC_DEEPSLATE_ORE_ITEM.get()); output.accept(RAW_ZINC.get()); output.accept(ZINC_INGOT.get()); output.accept(SILVER_ORE_ITEM.get()); + output.accept(SILVER_DEEPSLATE_ORE_ITEM.get()); output.accept(RAW_SILVER.get()); output.accept(SILVER_INGOT.get()); output.accept(BRONZE_INGOT.get()); diff --git a/src/main/resources/assets/ageofthegods/Items/silver_deepslate_ore.json b/src/main/resources/assets/ageofthegods/Items/silver_deepslate_ore.json new file mode 100644 index 0000000..6b58f85 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/Items/silver_deepslate_ore.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "ageofthegods:block/ores/silver_deepslate_ore1" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/Items/tin_deepslate_ore.json b/src/main/resources/assets/ageofthegods/Items/tin_deepslate_ore.json new file mode 100644 index 0000000..0bdbe3b --- /dev/null +++ b/src/main/resources/assets/ageofthegods/Items/tin_deepslate_ore.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "ageofthegods:block/ores/tin_deepslate_ore1" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/Items/zinc_deepslate_ore.json b/src/main/resources/assets/ageofthegods/Items/zinc_deepslate_ore.json new file mode 100644 index 0000000..e02abf8 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/Items/zinc_deepslate_ore.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "ageofthegods:block/ores/zinc_deepslate_ore1" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/blockstates/silver_deepslate_ore.json b/src/main/resources/assets/ageofthegods/blockstates/silver_deepslate_ore.json new file mode 100644 index 0000000..a0e9386 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/blockstates/silver_deepslate_ore.json @@ -0,0 +1,18 @@ +{ + "variants": { + "": [ + { + "model": "ageofthegods:block/ores/silver_deepslate_ore1", "weight": 1 + }, + { + "model": "ageofthegods:block/ores/silver_deepslate_ore2", "weight": 1 + }, + { + "model": "ageofthegods:block/ores/silver_deepslate_ore3", "weight": 1 + }, + { + "model": "ageofthegods:block/ores/silver_deepslate_ore4", "weight": 1 + } + ] + } +} diff --git a/src/main/resources/assets/ageofthegods/blockstates/tin_deepslate_ore.json b/src/main/resources/assets/ageofthegods/blockstates/tin_deepslate_ore.json new file mode 100644 index 0000000..d0898fc --- /dev/null +++ b/src/main/resources/assets/ageofthegods/blockstates/tin_deepslate_ore.json @@ -0,0 +1,12 @@ +{ + "variants": { + "": [ + { + "model": "ageofthegods:block/ores/tin_deepslate_ore1", "weight": 1 + }, + { + "model": "ageofthegods:block/ores/tin_deepslate_ore2", "weight": 1 + } + ] + } +} diff --git a/src/main/resources/assets/ageofthegods/blockstates/zinc_deepslate_ore.json b/src/main/resources/assets/ageofthegods/blockstates/zinc_deepslate_ore.json new file mode 100644 index 0000000..567370d --- /dev/null +++ b/src/main/resources/assets/ageofthegods/blockstates/zinc_deepslate_ore.json @@ -0,0 +1,15 @@ +{ + "variants": { + "": [ + { + "model": "ageofthegods:block/ores/zinc_deepslate_ore1", "weight": 1 + }, + { + "model": "ageofthegods:block/ores/zinc_deepslate_ore2", "weight": 1 + }, + { + "model": "ageofthegods:block/ores/zinc_deepslate_ore3", "weight": 1 + } + ] + } +} diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore1.json b/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore1.json new file mode 100644 index 0000000..6c45d66 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore1.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/stone", + "all": "block/stone", + "overlay": "ageofthegods:block/ores/silver_ore1" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore2.json b/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore2.json new file mode 100644 index 0000000..b30161a --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore2.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/deepslate", + "all": "block/deepslate", + "overlay": "ageofthegods:block/ores/silver_ore2" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore3.json b/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore3.json new file mode 100644 index 0000000..ceecb30 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore3.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/deepslate", + "all": "block/deepslate", + "overlay": "ageofthegods:block/ores/silver_ore3" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore4.json b/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore4.json new file mode 100644 index 0000000..c0be3d4 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/silver_deepslate_ore4.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/deepslate", + "all": "block/deepslate", + "overlay": "ageofthegods:block/ores/silver_ore4" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/tin_deepslate_ore1.json b/src/main/resources/assets/ageofthegods/models/block/ores/tin_deepslate_ore1.json new file mode 100644 index 0000000..de4cb08 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/tin_deepslate_ore1.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/deepslate", + "all": "block/deepslate", + "overlay": "ageofthegods:block/ores/tin_ore1" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/tin_deepslate_ore2.json b/src/main/resources/assets/ageofthegods/models/block/ores/tin_deepslate_ore2.json new file mode 100644 index 0000000..12fe0ac --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/tin_deepslate_ore2.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/deepslate", + "all": "block/deepslate", + "overlay": "ageofthegods:block/ores/tin_ore2" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore1.json b/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore1.json new file mode 100644 index 0000000..8b10774 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore1.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/stone", + "all": "block/stone", + "overlay": "ageofthegods:block/ores/zinc_ore" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore2.json b/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore2.json new file mode 100644 index 0000000..279834c --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore2.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/stone", + "all": "block/stone", + "overlay": "ageofthegods:block/ores/zinc_ore2" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore3.json b/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore3.json new file mode 100644 index 0000000..011ba00 --- /dev/null +++ b/src/main/resources/assets/ageofthegods/models/block/ores/zinc_deepslate_ore3.json @@ -0,0 +1,31 @@ +{ "parent": "block/block", + "textures": { + "particle": "block/stone", + "all": "block/stone", + "overlay": "ageofthegods:block/ores/zinc_ore3" + }, + "elements": [ + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#all", "cullface": "east" } + } + }, + { "from": [ 0, 0, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "down" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "up" }, + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "south" }, + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "west" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "east" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/silver_deepslate_ore.json b/src/main/resources/data/ageofthegods/loot_table/blocks/silver_deepslate_ore.json new file mode 100644 index 0000000..0fdbd60 --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/silver_deepslate_ore.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 2.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:raw_silver" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/tin_deepslate_ore.json b/src/main/resources/data/ageofthegods/loot_table/blocks/tin_deepslate_ore.json new file mode 100644 index 0000000..ee7bd75 --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/tin_deepslate_ore.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 2.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:raw_tin" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/ageofthegods/loot_table/blocks/zinc_deepslate_ore.json b/src/main/resources/data/ageofthegods/loot_table/blocks/zinc_deepslate_ore.json new file mode 100644 index 0000000..5c6b323 --- /dev/null +++ b/src/main/resources/data/ageofthegods/loot_table/blocks/zinc_deepslate_ore.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1.0, + "bonus_rolls": 2.0, + "entries": [ + { + "type": "minecraft:item", + "name": "ageofthegods:raw_zinc" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} diff --git a/src/main/resources/data/minecraft/tags/block/mineable/pickaxe.json b/src/main/resources/data/minecraft/tags/block/mineable/pickaxe.json index 7fc02c0..4ea8c9f 100644 --- a/src/main/resources/data/minecraft/tags/block/mineable/pickaxe.json +++ b/src/main/resources/data/minecraft/tags/block/mineable/pickaxe.json @@ -9,6 +9,9 @@ "ageofthegods:silver_ore", "ageofthegods:tin_ore", "ageofthegods:zinc_ore", + "ageofthegods:zinc_deepslate_ore", + "ageofthegods:tin_deepslate_ore", + "ageofthegods:silver_deepslate_ore", "ageofthegods:forge" ] } \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/block/needs_iron_tool.json b/src/main/resources/data/minecraft/tags/block/needs_iron_tool.json index 3f5d116..ffdf598 100644 --- a/src/main/resources/data/minecraft/tags/block/needs_iron_tool.json +++ b/src/main/resources/data/minecraft/tags/block/needs_iron_tool.json @@ -4,6 +4,9 @@ "ageofthegods:silver_ore", "ageofthegods:tin_ore", "ageofthegods:zinc_ore", + "ageofthegods:silver_deepslate_ore", + "ageofthegods:tin_deepslate_ore", + "ageofthegods:zinc_deepslate_ore", "ageofthegods:forge" ] } \ No newline at end of file