>surface

/ one block
type=block,ID=lucky:lucky_block_emerald@chance=500

/ lucky structure
group(type=structure,ID=emerald_gen_good;type=block,ID=lucky:lucky_block_emerald,posy=#bPosY+1,tileEntity=(Luck=75))@chance=500

/ unlucky structure
group(type=structure,ID=emerald_ruins_natural;type=block,ID=lucky:lucky_block_emerald,posy=#bPosY+1,tileEntity=(Luck=-75))@chance=500

>nether
type=block,ID=lucky:lucky_block_emerald,tileEntity=(Luck=-80)@chance=50

>end
type=block,ID=lucky:lucky_block_emerald,tileEntity=(Luck=50)@chance=30

/ endercrystal structure
group(type=structure,ID=ender_crystal_enderman,rotation=#rand(0,3))@chance=50