@ file : Suppress (" NOTH ING _ TO _ INLINE ") Ċ Ċ package Ġsol ace . sponge . item . inventory Ċ Ċ import Ġorg . spongepowered . api . item . inventory . Inventory Ċ import Ġorg . spongepowered . api . item . inventory . Inventory Property Ċ import Ġorg . spongepowered . api . item . inventory . ItemStack Ċ import Ġorg . spongepowered . api . item . inventory . Slot Ċ import Ġorg . spongepowered . api . item . inventory . property . Slot Index Ċ import Ġorg . spongepowered . api . item . inventory . property . Slot Pos Ċ import Ġorg . spongepowered . api . item . inventory . query . Query Operation Types Ċ Ċ inline Ġfun Ġ< re ified ĠT Ġ: ĠInventory > ĠInventory . narrow (): ĠT Ġ= Ġthis . query ( Query Operation Types . IN VENT ORY _ TYPE . of ( T :: class . java )) Ċ Ċ inline Ġoperator Ġfun ĠInventory . get ( var arg Ġproperties : ĠInventory Property < *, Ġ* >): ĠInventory Ġ= ĊĠĠĠĠĠĠĠ Ġthis . query (* properties . map Ġ{ ĠQuery Operation Types . IN VENT ORY _ PROPERTY . of ( it ) Ġ}. to Typed Array ()) Ċ Ċ inline Ġoperator Ġfun ĠInventory . get ( index : ĠInt ): ĠSlot ? Ġ= Ġthis [ Slot Index ( index )] Ġas ? ĠSlot Ċ Ċ inline Ġoperator Ġfun ĠInventory . get ( x : ĠInt , Ġy : ĠInt ): ĠSlot ? Ġ= Ġthis [ Slot Pos ( x , Ġy )] Ġas ? ĠSlot Ċ Ċ inline Ġoperator Ġfun ĠInventory . plus Assign ( item : ĠItemStack ) Ġ{ ĊĠĠĠ Ġthis . offer ( item ) Ċ }