Skip to content

Commit 0e76516

Browse files
committed
Revert "Start updating/reworking block holder system"
This reverts commit df4c8a8.
1 parent df4c8a8 commit 0e76516

25 files changed

+922
-813
lines changed

src/main/java/fr/alasdiablo/janoeo/JANOEO.java

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package fr.alasdiablo.janoeo;
22

33
import fr.alasdiablo.janoeo.config.*;
4-
import fr.alasdiablo.janoeo.init.OverworldDenseOresBlocks;
5-
import fr.alasdiablo.janoeo.init.OverworldOresBlocks;
64
import fr.alasdiablo.janoeo.util.Registries;
75
import fr.alasdiablo.janoeo.util.*;
86
import fr.alasdiablo.janoeo.world.gen.feature.OresFeatures;
@@ -36,16 +34,11 @@ public JANOEO() {
3634
ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, FrequencyConfig.CONFIG_SPEC, "janoeo-frequency.toml");
3735
ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, FrequencyConfig.CONFIG_SPEC, "janoeo-basalt.toml");
3836
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
39-
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::initOreFeature);
40-
this.initBlock();
37+
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::bleble);
4138
}
4239

43-
private void initBlock() {
44-
setup.block();
45-
}
46-
47-
private void initOreFeature(RegistryEvent.NewRegistry e) {
48-
setup.oreFeature();
40+
private void bleble(RegistryEvent.NewRegistry e) {
41+
OresFeatures.init();
4942
}
5043

5144
/**
@@ -54,6 +47,6 @@ private void initOreFeature(RegistryEvent.NewRegistry e) {
5447
*/
5548
private void setup(final FMLCommonSetupEvent event) {
5649
//OresFeatures.init();
57-
setup.worldGen();
50+
setup.init();
5851
}
5952
}

src/main/java/fr/alasdiablo/janoeo/init/BasaltOresBlocks.java renamed to src/main/java/fr/alasdiablo/janoeo/block/BasaltOresBlocks.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
package fr.alasdiablo.janoeo.init;
1+
package fr.alasdiablo.janoeo.block;
22

33
import fr.alasdiablo.janoeo.JANOEO;
4-
import fr.alasdiablo.janoeo.block.BasaltOre;
5-
import fr.alasdiablo.janoeo.block.BasaltRedstoneOre;
64
import fr.alasdiablo.janoeo.util.Registries;
75
import net.minecraft.block.Block;
86
import net.minecraft.item.BlockItem;

src/main/java/fr/alasdiablo/janoeo/init/GravelsOresBlocks.java renamed to src/main/java/fr/alasdiablo/janoeo/block/GravelsOresBlocks.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
package fr.alasdiablo.janoeo.init;
1+
package fr.alasdiablo.janoeo.block;
22

33
import fr.alasdiablo.janoeo.JANOEO;
4-
import fr.alasdiablo.janoeo.block.GravelOre;
54
import fr.alasdiablo.janoeo.util.Registries;
65
import net.minecraft.block.Block;
76
import net.minecraft.item.BlockItem;
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
package fr.alasdiablo.janoeo.block;
2+
3+
import fr.alasdiablo.janoeo.JANOEO;
4+
import fr.alasdiablo.janoeo.util.Registries;
5+
import net.minecraft.block.Block;
6+
import net.minecraft.block.SoundType;
7+
import net.minecraft.block.material.Material;
8+
import net.minecraft.item.BlockItem;
9+
import net.minecraft.item.Item;
10+
import net.minecraftforge.common.ToolType;
11+
import net.minecraftforge.event.RegistryEvent;
12+
import net.minecraftforge.eventbus.api.SubscribeEvent;
13+
import net.minecraftforge.fml.common.Mod;
14+
import net.minecraftforge.registries.ObjectHolder;
15+
16+
@SuppressWarnings("unused")
17+
public class ModBlocks {
18+
19+
@ObjectHolder(Registries.MODID + ":" + Registries.SAPPHIRE_BLOCK)
20+
public static Block SAPPHIRE_BLOCK;
21+
22+
@ObjectHolder(Registries.MODID + ":" + Registries.RUBY_BLOCK)
23+
public static Block RUBY_BLOCK;
24+
25+
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
26+
public static class RegistryEvents {
27+
@SubscribeEvent
28+
public static void onBlocksRegistry(final RegistryEvent.Register<Block> event) {
29+
event.getRegistry().register(new Block(
30+
Block.Properties.create(Material.IRON).sound(SoundType.METAL).hardnessAndResistance(3f).harvestTool(ToolType.PICKAXE)
31+
).setRegistryName(Registries.RUBY_BLOCK));
32+
event.getRegistry().register(new Block(
33+
Block.Properties.create(Material.IRON).sound(SoundType.METAL).hardnessAndResistance(3f).harvestTool(ToolType.PICKAXE)
34+
).setRegistryName(Registries.SAPPHIRE_BLOCK));
35+
}
36+
37+
@SubscribeEvent
38+
public static void onItemsRegistry(final RegistryEvent.Register<Item> event) {
39+
Item.Properties properties = new Item.Properties().group(JANOEO.setup.janoeoItemGroup);
40+
event.getRegistry().register(new BlockItem(ModBlocks.SAPPHIRE_BLOCK, properties).setRegistryName(Registries.SAPPHIRE_BLOCK));
41+
event.getRegistry().register(new BlockItem(ModBlocks.RUBY_BLOCK, properties).setRegistryName(Registries.RUBY_BLOCK));
42+
}
43+
}
44+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
package fr.alasdiablo.janoeo.block;
2+
3+
import fr.alasdiablo.janoeo.JANOEO;
4+
import fr.alasdiablo.janoeo.util.Registries;
5+
import net.minecraft.block.Block;
6+
import net.minecraft.block.Blocks;
7+
import net.minecraft.item.BlockItem;
8+
import net.minecraft.item.Item;
9+
import net.minecraftforge.event.RegistryEvent;
10+
import net.minecraftforge.eventbus.api.SubscribeEvent;
11+
import net.minecraftforge.fml.common.Mod;
12+
import net.minecraftforge.registries.ObjectHolder;
13+
14+
@SuppressWarnings("unused")
15+
public class NetherDenseOresBlocks {
16+
17+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_QUARTZ_NETHER_ORE)
18+
public static Block DENSE_QUARTZ_NETHER_ORE;
19+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_COAL_NETHER_ORE)
20+
public static Block DENSE_COAL_NETHER_ORE;
21+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_DIAMOND_NETHER_ORE)
22+
public static Block DENSE_DIAMOND_NETHER_ORE;
23+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_EMERALD_NETHER_ORE)
24+
public static Block DENSE_EMERALD_NETHER_ORE;
25+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_GOLD_NETHER_ORE)
26+
public static Block DENSE_GOLD_NETHER_ORE;
27+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_IRON_NETHER_ORE)
28+
public static Block DENSE_IRON_NETHER_ORE;
29+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_LAPIS_NETHER_ORE)
30+
public static Block DENSE_LAPIS_NETHER_ORE;
31+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_REDSTONE_NETHER_ORE)
32+
public static Block DENSE_REDSTONE_NETHER_ORE;
33+
34+
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
35+
public static class RegistryEvents {
36+
@SubscribeEvent
37+
public static void onBlocksRegistry(final RegistryEvent.Register<Block> event) {
38+
event.getRegistry().register(new NetherOre(Registries.DENSE_QUARTZ_NETHER_ORE));
39+
event.getRegistry().register(new NetherOre(Registries.DENSE_COAL_NETHER_ORE));
40+
event.getRegistry().register(new NetherOre(Registries.DENSE_DIAMOND_NETHER_ORE));
41+
event.getRegistry().register(new NetherOre(Registries.DENSE_EMERALD_NETHER_ORE));
42+
event.getRegistry().register(new NetherOre(Registries.DENSE_GOLD_NETHER_ORE));
43+
event.getRegistry().register(new NetherOre(Registries.DENSE_IRON_NETHER_ORE));
44+
event.getRegistry().register(new NetherOre(Registries.DENSE_LAPIS_NETHER_ORE));
45+
event.getRegistry().register(new NetherRedstoneOre(Registries.DENSE_REDSTONE_NETHER_ORE));
46+
}
47+
48+
@SubscribeEvent
49+
public static void onItemsRegistry(final RegistryEvent.Register<Item> event) {
50+
Item.Properties properties = new Item.Properties().group(JANOEO.setup.janoeoOreGroup);
51+
event.getRegistry().register(new BlockItem(NetherDenseOresBlocks.DENSE_QUARTZ_NETHER_ORE, properties).setRegistryName(Registries.DENSE_QUARTZ_NETHER_ORE));
52+
event.getRegistry().register(new BlockItem(NetherDenseOresBlocks.DENSE_COAL_NETHER_ORE, properties).setRegistryName(Registries.DENSE_COAL_NETHER_ORE));
53+
event.getRegistry().register(new BlockItem(NetherDenseOresBlocks.DENSE_DIAMOND_NETHER_ORE, properties).setRegistryName(Registries.DENSE_DIAMOND_NETHER_ORE));
54+
event.getRegistry().register(new BlockItem(NetherDenseOresBlocks.DENSE_EMERALD_NETHER_ORE, properties).setRegistryName(Registries.DENSE_EMERALD_NETHER_ORE));
55+
event.getRegistry().register(new BlockItem(NetherDenseOresBlocks.DENSE_GOLD_NETHER_ORE, properties).setRegistryName(Registries.DENSE_GOLD_NETHER_ORE));
56+
event.getRegistry().register(new BlockItem(NetherDenseOresBlocks.DENSE_IRON_NETHER_ORE, properties).setRegistryName(Registries.DENSE_IRON_NETHER_ORE));
57+
event.getRegistry().register(new BlockItem(NetherDenseOresBlocks.DENSE_LAPIS_NETHER_ORE, properties).setRegistryName(Registries.DENSE_LAPIS_NETHER_ORE));
58+
event.getRegistry().register(new BlockItem(NetherDenseOresBlocks.DENSE_REDSTONE_NETHER_ORE, properties).setRegistryName(Registries.DENSE_REDSTONE_NETHER_ORE));
59+
}
60+
}
61+
62+
}
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
package fr.alasdiablo.janoeo.block;
2+
3+
import fr.alasdiablo.janoeo.JANOEO;
4+
import fr.alasdiablo.janoeo.util.Registries;
5+
import net.minecraft.block.Block;
6+
import net.minecraft.item.BlockItem;
7+
import net.minecraft.item.Item;
8+
import net.minecraftforge.event.RegistryEvent;
9+
import net.minecraftforge.eventbus.api.SubscribeEvent;
10+
import net.minecraftforge.fml.common.Mod;
11+
import net.minecraftforge.registries.ObjectHolder;
12+
13+
@SuppressWarnings("unused")
14+
public class NetherOresBlocks {
15+
16+
@ObjectHolder(Registries.MODID + ":" + Registries.ALUMINIUM_NETHER_ORE)
17+
public static Block ALUMINIUM_NETHER_ORE;
18+
@ObjectHolder(Registries.MODID + ":" + Registries.COAL_NETHER_ORE)
19+
public static Block COAL_NETHER_ORE;
20+
@ObjectHolder(Registries.MODID + ":" + Registries.COPPER_NETHER_ORE)
21+
public static Block COPPER_NETHER_ORE;
22+
@ObjectHolder(Registries.MODID + ":" + Registries.DIAMOND_NETHER_ORE)
23+
public static Block DIAMOND_NETHER_ORE;
24+
@ObjectHolder(Registries.MODID + ":" + Registries.EMERALD_NETHER_ORE)
25+
public static Block EMERALD_NETHER_ORE;
26+
@ObjectHolder(Registries.MODID + ":" + Registries.GOLD_NETHER_ORE)
27+
public static Block GOLD_NETHER_ORE;
28+
@ObjectHolder(Registries.MODID + ":" + Registries.IRON_NETHER_ORE)
29+
public static Block IRON_NETHER_ORE;
30+
@ObjectHolder(Registries.MODID + ":" + Registries.LAPIS_NETHER_ORE)
31+
public static Block LAPIS_NETHER_ORE;
32+
@ObjectHolder(Registries.MODID + ":" + Registries.LEAD_NETHER_ORE)
33+
public static Block LEAD_NETHER_ORE;
34+
@ObjectHolder(Registries.MODID + ":" + Registries.REDSTONE_NETHER_ORE)
35+
public static Block REDSTONE_NETHER_ORE;
36+
@ObjectHolder(Registries.MODID + ":" + Registries.RUBY_NETHER_ORE)
37+
public static Block RUBY_NETHER_ORE;
38+
@ObjectHolder(Registries.MODID + ":" + Registries.SAPPHIRE_NETHER_ORE)
39+
public static Block SAPPHIRE_NETHER_ORE;
40+
@ObjectHolder(Registries.MODID + ":" + Registries.SILVER_NETHER_ORE)
41+
public static Block SILVER_NETHER_ORE;
42+
@ObjectHolder(Registries.MODID + ":" + Registries.TIN_NETHER_ORE)
43+
public static Block TIN_NETHER_ORE;
44+
@ObjectHolder(Registries.MODID + ":" + Registries.URANIUM_NETHER_ORE)
45+
public static Block URANIUM_NETHER_ORE;
46+
47+
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
48+
public static class RegistryEvents {
49+
@SubscribeEvent
50+
public static void onBlocksRegistry(final RegistryEvent.Register<Block> event) {
51+
event.getRegistry().register(new NetherOre(Registries.ALUMINIUM_NETHER_ORE));
52+
event.getRegistry().register(new NetherOre(Registries.COAL_NETHER_ORE));
53+
event.getRegistry().register(new NetherOre(Registries.COPPER_NETHER_ORE));
54+
event.getRegistry().register(new NetherOre(Registries.DIAMOND_NETHER_ORE));
55+
event.getRegistry().register(new NetherOre(Registries.EMERALD_NETHER_ORE));
56+
event.getRegistry().register(new NetherOre(Registries.GOLD_NETHER_ORE));
57+
event.getRegistry().register(new NetherOre(Registries.IRON_NETHER_ORE));
58+
event.getRegistry().register(new NetherOre(Registries.LAPIS_NETHER_ORE));
59+
event.getRegistry().register(new NetherOre(Registries.LEAD_NETHER_ORE));
60+
event.getRegistry().register(new NetherRedstoneOre(Registries.REDSTONE_NETHER_ORE));
61+
event.getRegistry().register(new NetherOre(Registries.RUBY_NETHER_ORE));
62+
event.getRegistry().register(new NetherOre(Registries.SAPPHIRE_NETHER_ORE));
63+
event.getRegistry().register(new NetherOre(Registries.SILVER_NETHER_ORE));
64+
event.getRegistry().register(new NetherOre(Registries.TIN_NETHER_ORE));
65+
event.getRegistry().register(new NetherOre(Registries.URANIUM_NETHER_ORE));
66+
}
67+
68+
@SubscribeEvent
69+
public static void onItemsRegistry(final RegistryEvent.Register<Item> event) {
70+
Item.Properties properties = new Item.Properties().group(JANOEO.setup.janoeoOreGroup);
71+
event.getRegistry().register(new BlockItem(NetherOresBlocks.ALUMINIUM_NETHER_ORE, properties).setRegistryName(Registries.ALUMINIUM_NETHER_ORE));
72+
event.getRegistry().register(new BlockItem(NetherOresBlocks.COAL_NETHER_ORE, properties).setRegistryName(Registries.COAL_NETHER_ORE));
73+
event.getRegistry().register(new BlockItem(NetherOresBlocks.COPPER_NETHER_ORE, properties).setRegistryName(Registries.COPPER_NETHER_ORE));
74+
event.getRegistry().register(new BlockItem(NetherOresBlocks.DIAMOND_NETHER_ORE, properties).setRegistryName(Registries.DIAMOND_NETHER_ORE));
75+
event.getRegistry().register(new BlockItem(NetherOresBlocks.EMERALD_NETHER_ORE, properties).setRegistryName(Registries.EMERALD_NETHER_ORE));
76+
event.getRegistry().register(new BlockItem(NetherOresBlocks.GOLD_NETHER_ORE, properties).setRegistryName(Registries.GOLD_NETHER_ORE));
77+
event.getRegistry().register(new BlockItem(NetherOresBlocks.IRON_NETHER_ORE, properties).setRegistryName(Registries.IRON_NETHER_ORE));
78+
event.getRegistry().register(new BlockItem(NetherOresBlocks.LAPIS_NETHER_ORE, properties).setRegistryName(Registries.LAPIS_NETHER_ORE));
79+
event.getRegistry().register(new BlockItem(NetherOresBlocks.LEAD_NETHER_ORE, properties).setRegistryName(Registries.LEAD_NETHER_ORE));
80+
event.getRegistry().register(new BlockItem(NetherOresBlocks.REDSTONE_NETHER_ORE, properties).setRegistryName(Registries.REDSTONE_NETHER_ORE));
81+
event.getRegistry().register(new BlockItem(NetherOresBlocks.RUBY_NETHER_ORE, properties).setRegistryName(Registries.RUBY_NETHER_ORE));
82+
event.getRegistry().register(new BlockItem(NetherOresBlocks.SAPPHIRE_NETHER_ORE, properties).setRegistryName(Registries.SAPPHIRE_NETHER_ORE));
83+
event.getRegistry().register(new BlockItem(NetherOresBlocks.SILVER_NETHER_ORE, properties).setRegistryName(Registries.SILVER_NETHER_ORE));
84+
event.getRegistry().register(new BlockItem(NetherOresBlocks.TIN_NETHER_ORE, properties).setRegistryName(Registries.TIN_NETHER_ORE));
85+
event.getRegistry().register(new BlockItem(NetherOresBlocks.URANIUM_NETHER_ORE, properties).setRegistryName(Registries.URANIUM_NETHER_ORE));
86+
}
87+
}
88+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
package fr.alasdiablo.janoeo.block;
2+
3+
import fr.alasdiablo.janoeo.JANOEO;
4+
import fr.alasdiablo.janoeo.util.Registries;
5+
import net.minecraft.block.Block;
6+
import net.minecraft.item.BlockItem;
7+
import net.minecraft.item.Item;
8+
import net.minecraftforge.event.RegistryEvent;
9+
import net.minecraftforge.eventbus.api.SubscribeEvent;
10+
import net.minecraftforge.fml.common.Mod;
11+
import net.minecraftforge.registries.ObjectHolder;
12+
13+
@SuppressWarnings("unused")
14+
public class OverworldDenseOresBlocks {
15+
16+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_COAL_ORE)
17+
public static Block DENSE_COAL_ORE;
18+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_COPPER_ORE)
19+
public static Block DENSE_COPPER_ORE;
20+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_DIAMOND_ORE)
21+
public static Block DENSE_DIAMOND_ORE;
22+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_EMERALD_ORE)
23+
public static Block DENSE_EMERALD_ORE;
24+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_GOLD_ORE)
25+
public static Block DENSE_GOLD_ORE;
26+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_IRON_ORE)
27+
public static Block DENSE_IRON_ORE;
28+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_LAPIS_ORE)
29+
public static Block DENSE_LAPIS_ORE;
30+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_REDSTONE_ORE)
31+
public static Block DENSE_REDSTONE_ORE;
32+
@ObjectHolder(Registries.MODID + ":" + Registries.DENSE_TIN_ORE)
33+
public static Block DENSE_TIN_ORE;
34+
35+
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
36+
public static class RegistryEvents {
37+
@SubscribeEvent
38+
public static void onBlocksRegistry(final RegistryEvent.Register<Block> event) {
39+
event.getRegistry().register(new BasicOre(Registries.DENSE_COAL_ORE, 1));
40+
event.getRegistry().register(new BasicOre(Registries.DENSE_COPPER_ORE, 1));
41+
event.getRegistry().register(new BasicOre(Registries.DENSE_DIAMOND_ORE, 2));
42+
event.getRegistry().register(new BasicOre(Registries.DENSE_EMERALD_ORE, 2));
43+
event.getRegistry().register(new BasicOre(Registries.DENSE_GOLD_ORE, 2));
44+
event.getRegistry().register(new BasicOre(Registries.DENSE_IRON_ORE, 1));
45+
event.getRegistry().register(new BasicOre(Registries.DENSE_LAPIS_ORE, 2));
46+
event.getRegistry().register(new RedstoneOre(Registries.DENSE_REDSTONE_ORE));
47+
event.getRegistry().register(new BasicOre(Registries.DENSE_TIN_ORE, 1));
48+
}
49+
50+
@SubscribeEvent
51+
public static void onItemsRegistry(final RegistryEvent.Register<Item> event) {
52+
Item.Properties properties = new Item.Properties().group(JANOEO.setup.janoeoOreGroup);
53+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_COAL_ORE, properties).setRegistryName(Registries.DENSE_COAL_ORE));
54+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_COPPER_ORE, properties).setRegistryName(Registries.DENSE_COPPER_ORE));
55+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_DIAMOND_ORE, properties).setRegistryName(Registries.DENSE_DIAMOND_ORE));
56+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_EMERALD_ORE, properties).setRegistryName(Registries.DENSE_EMERALD_ORE));
57+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_GOLD_ORE, properties).setRegistryName(Registries.DENSE_GOLD_ORE));
58+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_IRON_ORE, properties).setRegistryName(Registries.DENSE_IRON_ORE));
59+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_LAPIS_ORE, properties).setRegistryName(Registries.DENSE_LAPIS_ORE));
60+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_REDSTONE_ORE, properties).setRegistryName(Registries.DENSE_REDSTONE_ORE));
61+
event.getRegistry().register(new BlockItem(OverworldDenseOresBlocks.DENSE_TIN_ORE, properties).setRegistryName(Registries.DENSE_TIN_ORE));
62+
}
63+
}
64+
65+
}

0 commit comments

Comments
 (0)