package Ġes . head be . tex nes . registry . items Ċ Ċ import Ġnet . minecraft . entity . player . Player Entity Ċ import Ġnet . minecraft . item . Item Ċ import Ġnet . minecraft . item . ItemStack Ċ import Ġnet . minecraft . sound . Sound Events Ċ import Ġnet . minecraft . util . Hand Ċ import Ġnet . minecraft . util . Typed ActionResult Ċ import Ġnet . minecraft . world . World Ċ Ċ class ĠCr yst als Item ( settings : ĠSettings ) Ġ: ĠItem ( settings ) Ġ{ ĊĊĊĠĠĠ Ġoverride Ġfun Ġuse ( world : ĠWorld , Ġplayer Entity : ĠPlayer Entity , Ġhand : ĠHand ): ĠTyped ActionResult < ItemStack > Ġ{ ĊĠĠĠĠĠĠĠ Ġplayer Entity . play Sound ( Sound Events . BLOCK _ AME TH Y ST _ BLOCK _ CH IME , Ġ 0 . 9 f , Ġ 1 . 0 f ) ĊĠĠĠĠĠĠĠ Ġreturn ĠTyped ActionResult . success ( player Entity . get Stack In Hand ( hand )) ĊĠĠĠ Ġ} Ċ }