MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Inventory

Method Inventory

server/player/state/playerEntity.go:87–89  ·  view source on GitHub ↗

*func (p *PlayerEntity) RecipeBook() level.RecipeBook { return p.recipeBook.Get() } func (p *PlayerEntity) SetRecipeBook(book level.RecipeBook) { p.recipeBook.Set(book) }*/

()

Source from the content-addressed store, hash-verified

85}*/
86
87func (p *PlayerEntity) Inventory() *container.Container {
88 return p.inventory
89}
90
91// if negative, returns 0 and if over 8, returns 8
92func (p *PlayerEntity) SelectedItemSlot() int32 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected