Led light replacement of a 300wat halogen

You need a high power LED driver. These are constant-current power supplies specifically designed to provide large amounts of constant current. They are far more efficient than using a simple resistor, for example. There are drivers designed to work directly off of mains.

Try starting your search with "220v led driver".