diff --git a/src/generated/resources/assets/aether/blockstates/pyral_block.json b/src/generated/resources/assets/aether_treasure_reforging/blockstates/pyral_block.json similarity index 100% rename from src/generated/resources/assets/aether/blockstates/pyral_block.json rename to src/generated/resources/assets/aether_treasure_reforging/blockstates/pyral_block.json diff --git a/src/generated/resources/assets/aether/blockstates/valkyrum_block.json b/src/generated/resources/assets/aether_treasure_reforging/blockstates/valkyrum_block.json similarity index 100% rename from src/generated/resources/assets/aether/blockstates/valkyrum_block.json rename to src/generated/resources/assets/aether_treasure_reforging/blockstates/valkyrum_block.json diff --git a/src/generated/resources/data/aether_treasure_reforging/loot_tables/blocks/pyral_block.json b/src/generated/resources/data/aether_treasure_reforging/loot_tables/blocks/pyral_block.json new file mode 100644 index 0000000..6e82032 --- /dev/null +++ b/src/generated/resources/data/aether_treasure_reforging/loot_tables/blocks/pyral_block.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "aether_treasure_reforging:pyral_block" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "aether_treasure_reforging:blocks/pyral_block" +} \ No newline at end of file diff --git a/src/generated/resources/data/aether_treasure_reforging/loot_tables/blocks/valkyrum_block.json b/src/generated/resources/data/aether_treasure_reforging/loot_tables/blocks/valkyrum_block.json new file mode 100644 index 0000000..398b3b9 --- /dev/null +++ b/src/generated/resources/data/aether_treasure_reforging/loot_tables/blocks/valkyrum_block.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "aether_treasure_reforging:valkyrum_block" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "aether_treasure_reforging:blocks/valkyrum_block" +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/blocks/storage_blocks.json b/src/generated/resources/data/forge/tags/blocks/storage_blocks.json index 77d9d46..fc8ed6d 100644 --- a/src/generated/resources/data/forge/tags/blocks/storage_blocks.json +++ b/src/generated/resources/data/forge/tags/blocks/storage_blocks.json @@ -1,6 +1,6 @@ { "values": [ - "aether:valkyrum_block", - "aether:pyral_block" + "aether_treasure_reforging:valkyrum_block", + "aether_treasure_reforging:pyral_block" ] } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json b/src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json index 77d9d46..fc8ed6d 100644 --- a/src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json +++ b/src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json @@ -1,6 +1,6 @@ { "values": [ - "aether:valkyrum_block", - "aether:pyral_block" + "aether_treasure_reforging:valkyrum_block", + "aether_treasure_reforging:pyral_block" ] } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/tags/blocks/needs_iron_tool.json b/src/generated/resources/data/minecraft/tags/blocks/needs_iron_tool.json new file mode 100644 index 0000000..fc8ed6d --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/blocks/needs_iron_tool.json @@ -0,0 +1,6 @@ +{ + "values": [ + "aether_treasure_reforging:valkyrum_block", + "aether_treasure_reforging:pyral_block" + ] +} \ No newline at end of file diff --git a/src/main/java/com/aetherteam/treasure_reforging/block/ReforgingBlocks.java b/src/main/java/com/aetherteam/treasure_reforging/block/ReforgingBlocks.java index 810bf46..087d259 100644 --- a/src/main/java/com/aetherteam/treasure_reforging/block/ReforgingBlocks.java +++ b/src/main/java/com/aetherteam/treasure_reforging/block/ReforgingBlocks.java @@ -1,8 +1,8 @@ package com.aetherteam.treasure_reforging.block; -import com.aetherteam.aether.Aether; import com.aetherteam.aether.block.miscellaneous.FacingPillarBlock; import com.aetherteam.aether.item.AetherCreativeTabs; +import com.aetherteam.treasure_reforging.TreasureReforging; import com.aetherteam.treasure_reforging.item.ReforgingItems; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.Item; @@ -19,10 +19,10 @@ import java.util.function.Supplier; public class ReforgingBlocks { - public static final DeferredRegister BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, Aether.MODID); + public static final DeferredRegister BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, TreasureReforging.MODID); - public static final RegistryObject VALKYRUM_BLOCK = register("valkyrum_block", () -> new FacingPillarBlock(Block.Properties.of(Material.METAL, MaterialColor.QUARTZ).strength(50.0F, 1200.0F).requiresCorrectToolForDrops().sound(SoundType.METAL))); - public static final RegistryObject PYRAL_BLOCK = register("pyral_block", () -> new Block(Block.Properties.of(Material.METAL, MaterialColor.COLOR_ORANGE).strength(50.0F, 1200.0F).requiresCorrectToolForDrops().sound(SoundType.METAL))); + public static final RegistryObject VALKYRUM_BLOCK = register("valkyrum_block", () -> new FacingPillarBlock(Block.Properties.of(Material.METAL, MaterialColor.QUARTZ).strength(5.0F, 6.0F).requiresCorrectToolForDrops().sound(SoundType.METAL))); + public static final RegistryObject PYRAL_BLOCK = register("pyral_block", () -> new Block(Block.Properties.of(Material.METAL, MaterialColor.COLOR_ORANGE).strength(5.0F, 6.0F).requiresCorrectToolForDrops().sound(SoundType.METAL))); private static RegistryObject baseRegister(String name, Supplier block, Function, Supplier> item) { RegistryObject register = BLOCKS.register(name, block);