package Ġcom . jam ies wh ites hir t . responsive inventory . client . item diff . state Ċ Ċ import Ġnet . minecraft . client . entity . Entity Player SP Ċ Ċ data Ġclass ĠPlayer State ( ĊĠĠĠĠĠĠĠ Ġval Ġinventory : ĠPlayer Inventory State , ĊĠĠĠĠĠĠĠ Ġval Ġopen Container : ĠContainer State ? Ċ ) Ġ{ ĊĠĠĠ Ġconstructor ( player : ĠEntity Player SP ) Ġ: Ġthis ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPlayer Inventory State ( player . inventory ), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġplayer . open Container ?. let (:: Container State ) ĊĠĠĠ Ġ) Ċ } Ċ