The open source code for the forge mod player-shops
Don't ask about the BlockEntityClass quick move functions, I don't wan't to talk about it