@Override public void registerOreTypes(OreTypeRegistry registry) { registry.register( new OreType(w -> w.provider.getDimension() == 0, OreTypeRegistry.OVERWORLD, b -> b.getBlock() == Blocks.STONE && b.getValue(BlockStone.VARIANT) == EnumType.STONE), new OreType(w -> w.provider.getDimension() == 1, OreTypeRegistry.END, b -> b.getBlock() == Blocks.END_STONE), new OreType(w -> w.provider.getDimension() == -1, OreTypeRegistry.NETHER, b -> b.getBlock() == Blocks.NETHERRACK) ); registry.register(new DefaultOreTypeGenerator()); }