package Ġworld s . greg s . hest ia . core . entity . npc . logic . systems . chunk Ċ Ċ import Ġnet . most ly original . api . event . common . Event System Ċ import Ġworld s . greg s . hest ia . core . entity . npc . api . Npc Ċ import Ġworld s . greg s . hest ia . core . entity . npc . model . events . Npc Chunk Changed Ċ import Ġworld s . greg s . hest ia . core . world . movement . api . systems . Chunk Subscription Ċ Ċ class ĠNpc Chunk Subscription System Ġ: ĠChunk Subscription ( Npc :: class ) Ġ{ ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġes : ĠEvent System ĊĊĠĠĠ Ġoverride Ġfun Ġchanged Chunk ( entityId : ĠInt , Ġfrom : ĠInt ?, Ġto : ĠInt ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġes . dispatch ( Npc Chunk Changed ( entityId , Ġfrom , Ġto )) ĊĠĠĠ Ġ} Ċ }