package Ġpf ister . qu icker craft ing Ċ Ċ import Ġnet . minecraftforge . common . config . Config Ċ import Ġnet . minecraftforge . common . config . Config Manager Ċ import Ġnet . minecraftforge . fml . common . Loader Ċ import Ġnet . minecraftforge . fml . common . Mod Ċ import Ġnet . minecraftforge . fml . common . Side d Proxy Ċ import Ġnet . minecraftforge . fml . common . event .* Ċ import Ġorg . apache . logging . log 4 j . Logger Ċ import Ġpf ister . qu icker craft ing . common . Common Proxy Ċ import Ġpf ister . qu icker craft ing . common . command . Command Refresh Recipe Cache Ċ Ċ // ĠSome Ġconstants Ġrelated Ġto Ġfor ge Ċ const Ġval ĠMOD _ ID Ġ= Ġ" qu icker craft ing " Ċ const Ġval ĠMOD _ NAME Ġ= Ġ" Qu icker ĠCraft ing " Ċ const Ġval ĠVERSION Ġ= Ġ" 0 . 9 . 2 " Ċ // Ċ Ċ // ĠOur Ġlogger Ġ< 3 Ċ late init Ġvar ĠLOG : ĠLogger ĊĊ Ċ @ Mod ( mod id Ġ= ĠMOD _ ID , Ġname Ġ= ĠMOD _ NAME , Ġversion Ġ= ĠVERSION , Ġmod Language Adapter Ġ= Ġ" net . shadow facts . forge lin . Kotlin Adapter ", Ġdependencies Ġ= Ġ" after : inventory tweak s ; after : m ou set weak s ; after : ba uble s ; required - after : forge lin @ [ 1 . 8 . 4 , )") Ċ object ĠQu icker Craft ing Ġ{ ĊĠĠĠ Ġ@ Side d Proxy ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġclient Side Ġ= Ġ" pf ister . qu icker craft ing . client . Client Proxy ", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġserver Side Ġ= Ġ" pf ister . qu icker craft ing . common . Common Proxy ") ĊĊĠĠĠ Ġ// ĠReference Ġto Ġour Ġproxy ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġproxy : ĠCommon Proxy ĊĊĠĠĠ Ġvar ĠInv T weak s Loaded : ĠBoolean Ġ= Ġfalse ĊĠĠĠ Ġvar ĠBa uble s Loaded : ĠBoolean Ġ= Ġfalse ĊĊĠĠĠ Ġ@ Mod . EventHandler ĊĠĠĠ Ġfun Ġpre Init ( event : ĠF ML Pre Initialization Event ) Ġ{ ĊĠĠĠĠĠĠĠ ĠLOG Ġ= Ġevent . mod Log ĊĠĠĠĠĠĠĠ ĠInv T weak s Loaded Ġ= ĠLoader . is Mod Loaded (" inventory tweak s ") ĊĠĠĠĠĠĠĠ ĠBa uble s Loaded Ġ= ĠLoader . is Mod Loaded (" ba uble s ") ĊĠĠĠĠĠĠĠ Ġproxy . pre Init ( event ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Mod . EventHandler ĊĠĠĠ Ġfun Ġinit ( event : ĠF ML Initialization Event ) Ġ{ ĊĠĠĠĠĠĠĠ ĠConfig Manager . sync ( MOD _ ID , ĠConfig . Type . INSTANCE ) ĊĠĠĠĠĠĠĠ Ġproxy . init ( event ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Mod . EventHandler ĊĠĠĠ Ġfun Ġpost Init ( event : ĠF ML Post Initialization Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġproxy . post Init ( event ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Mod . EventHandler ĊĠĠĠ Ġfun Ġload Complete ( event : ĠF ML Load Complete Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġproxy . load Complete ( event ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Mod . EventHandler ĊĠĠĠ Ġfun Ġserver Start ( event : ĠF ML Server Starting Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġevent . register Server Command ( Command Refresh Recipe Cache ()) ĊĠĠĠ Ġ} Ċ Ċ } Ċ