package Ġnet . b ms . y ester days . cap Ċ Ċ import Ġnet . minecraft . nbt . NBT Base Ċ import Ġnet . minecraft . nbt . NBT Tag Compound Ċ import Ġnet . minecraft . util . Enum Facing Ċ import Ġnet . minecraftforge . common . capabilities . Capability Ċ Ċ class ĠS oul Storage : ĠCap ability . I Storage < IS oul > Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġwrite NBT ( capability : ĠCap ability < IS oul > ?, Ġinstance : ĠIS oul ?, Ġside : ĠEnum Facing ?): ĠN BT Base ? Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġn bt Ġ= ĠN BT Tag Compound () ĊĠĠĠĠĠĠĠ Ġn bt . set Boolean (" has Reached M ok sha ", Ġinstance !!. has Reached M ok sha ) ĊĠĠĠĠĠĠĠ Ġn bt . set Integer (" li ves L ived ", Ġinstance . li ves L ived ) ĊĠĠĠĠĠĠĠ Ġn bt . set Integer (" karma Score ", Ġinstance . karma Score ) ĊĠĠĠĠĠĠĠ Ġn bt . set Integer (" so ul Type ", Ġinstance . so ul Type ) ĊĠĠĠĠĠĠĠ Ġn bt . set Boolean (" can He al ", Ġinstance . can He al ) ĊĠĠĠĠĠĠĠ Ġn bt . set Integer (" he al Cooldown ", Ġinstance . he al Cooldown ) ĊĠĠĠĠĠĠĠ Ġreturn Ġn bt ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġread NBT ( capability : ĠCap ability < IS oul > ?, Ġinstance : ĠIS oul ?, Ġside : ĠEnum Facing ?, Ġn bt : ĠN BT Base ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcompound Ġ= Ġn bt Ġas ĠN BT Tag Compound ĊĠĠĠĠĠĠĠ Ġinstance ?. has Reached M ok sha Ġ= Ġcompound . getBoolean (" has Reached M ok sha ") ĊĠĠĠĠĠĠĠ Ġinstance ?. li ves L ived Ġ= Ġcompound . getInteger (" li ved L ived ") ĊĠĠĠĠĠĠĠ Ġinstance ?. karma Score Ġ= Ġcompound . getInteger (" karma Score ") ĊĠĠĠĠĠĠĠ Ġinstance ?. so ul Type Ġ= Ġcompound . getInteger (" so ul Type ") ĊĠĠĠĠĠĠĠ Ġinstance ?. can He al Ġ= Ġcompound . getBoolean (" can He al ") ĊĠĠĠĠĠĠĠ Ġinstance ?. he al Cooldown Ġ= Ġcompound . getInteger (" he al Cooldown ") ĊĠĠĠ Ġ} Ċ Ċ }