package Ġex ni hi lo fabric o . api . registry Ċ Ċ import Ġex ni hi lo fabric o . api . craft ing . Item Ingredient Ċ import Ġex ni hi lo fabric o . api . craft ing . Lo ot able Ċ import Ġex ni hi lo fabric o . api . recipes . Tool Recipe Ċ import Ġnet . minecraft . item . Item Ċ import Ġnet . minecraft . item . Item Convert ible Ċ import Ġnet . minecraft . item . ItemStack Ċ import Ġnet . minecraft . tag . Tag Ċ import Ġnet . minecraft . util . Identifier Ċ import Ġnet . minecraft . util . registry . Registry Ċ import Ġjava . util .* Ċ Ċ interface ĠI Tool Registry : ĠI Registry < Tool Recipe > Ġ{ ĊĠĠĠ Ġfun Ġregister ( target : ĠItem Ingredient , Ġlo ot : ĠCollection < Lo ot able >) Ġ= Ġregister ( Tool Recipe ( target , Ġlo ot . to Mutable List ())) ĊĠĠĠ Ġfun Ġregister ( target : ĠIdentifier , Ġlo ot : ĠCollection < Lo ot able >) Ġ= Ġregister ( Registry . BLOCK [ target ], Ġlo ot ) ĊĠĠĠ Ġfun Ġregister ( target : ĠIdentifier , Ġvar arg Ġlo ot : ĠL oot able ) Ġ= Ġregister ( Registry . BLOCK [ target ], Ġlo ot . toList ()) ĊĠĠĠ Ġfun Ġregister ( target : ĠItem Ingredient , Ġvar arg Ġlo ot : ĠL oot able ) Ġ= Ġregister ( target , Ġlo ot . toList ()) ĊĠĠĠ Ġfun Ġregister ( target : ĠItem Convert ible , Ġlo ot : ĠCollection < Lo ot able >) Ġ= Ġregister ( Item Ingredient ( target . as Item ()), Ġlo ot ) ĊĠĠĠ Ġfun Ġregister ( target : ĠItem Convert ible , Ġvar arg Ġlo ot : ĠL oot able ) Ġ= Ġregister ( Item Ingredient ( target . as Item ()), Ġlo ot . toList ()) ĊĠĠĠ Ġfun Ġregister ( target : ĠItem Convert ible , Ġresult : ĠItem Convert ible ) Ġ= Ġregister ( Item Ingredient ( target . as Item ()), Lo ot able ( result , Ġ 1 . 0 )) ĊĠĠĠ Ġfun Ġregister ( target : ĠItem Convert ible , Ġresult : ĠItem Convert ible , Ġvar arg Ġch ances : ĠDouble ) Ġ= ĊĠĠĠĠĠĠĠ Ġregister ( Item Ingredient ( target . as Item ()), ĠL oot able ( result , Ġ* ch ances )) ĊĊĠĠĠ Ġfun Ġregister ( target : ĠTag < Item >, Ġlo ot : ĠCollection < Lo ot able >) Ġ= Ġregister ( Item Ingredient ( target ), Ġlo ot ) ĊĠĠĠ Ġfun Ġregister ( target : ĠTag < Item >, Ġvar arg Ġlo ot : ĠL oot able ) Ġ= Ġregister ( Item Ingredient ( target ), Ġlo ot . toList ()) ĊĊĠĠĠ Ġfun Ġis Registered ( target : ĠItem Convert ible ): ĠBoolean ĊĊĠĠĠ Ġfun Ġget Result ( target : ĠItem Convert ible , Ġrand : ĠRandom ): ĠMutable List < ItemStack > ĊĠĠĠ Ġfun ĠgetAll Results ( target : ĠItem Convert ible ): ĠList < Lo ot able > ĊĊĠĠĠ Ġ// ĠAll Ġrecipes , Ġchunk ed / broken Ġup Ġfor Ġpagination ĊĠĠĠ Ġfun Ġget RE I Recipes (): ĠCollection < Tool Recipe > Ċ }