package Ġorg . eln 2 . utils Ċ Ċ import Ġnet . minecraft . block . Blocks Ċ import Ġnet . minecraft . util . Resource Location Ċ import Ġnet . minecraft . util . registry . Registry Ċ import Ġnet . minecraft . util . registry . World Gen Regist ries Ċ import Ġnet . minecraft . world . gen . Generation Stage Ċ import Ġnet . minecraft . world . gen . feature . Configured Feature Ċ import Ġnet . minecraft . world . gen . feature . Feature Ċ import Ġnet . minecraft . world . gen . feature . O re Feature Config Ċ import Ġnet . minecraftforge . event . world . Bio me Loading Event Ċ import Ġnet . minecraftforge . fml . common . Mod Ċ import Ġorg . eln 2 . Mod Blocks Ċ Ċ /** Ċ Ġ* ĠHandles Ġo re Ġgeneration Ġfor ĠE ln 2 Ċ Ġ*/ Ċ @ Mod . EventBus Subscriber Ċ object ĠO re Gen Ġ{ ĊĊĠĠĠ Ġprivate Ġvar Ġo res : ĠList < Configured Feature < *, Ġ* >> Ġ= Ġmutable ListOf () ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠConfig ures Ġo re Ġgeneration Ġin Ġthe Ġworld . ĠRegisters Ġagainst ĠFor ge . ĊĠĠĠĠ Ġ*/ ĊĊĠĠĠ Ġfun Ġsetup O re Generation () Ġ{ ĊĠĠĠĠĠĠĠĠ Ġo res Ġ= ĠMod Blocks . values (). map Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFeature . ORE . with Configuration ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠO re Feature Config ( O re Feature Config . Fill er BlockType . BASE _ ST ONE _ OVER WORLD , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġit . block . default State , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ 4 ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ). range ( 6 4 ). square (). func _ 2 4 2 7 3 1 _ b ( 1 2 0 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġbio me Modification ( event : ĠBio me Loading Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġo res . forEach { ĊĠĠĠĠĠĠĠĠĠĠĠ Ġevent . generation . with Feature ( Generation Stage . Decoration . UNDER GROUND _ O RES , Ġit ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġprint ( event . generation . get Features ( Generation Stage . Decoration . UNDER GROUND _ O RES )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ