public class Inventory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
id |
protected com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack[] |
items |
protected boolean |
open |
protected int |
size |
protected String |
title |
protected com.github.steveice10.mc.protocol.data.game.window.WindowType |
windowType |
| Constructor and Description |
|---|
Inventory(int id,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
int size) |
Inventory(String title,
int id,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
int size) |
| Modifier and Type | Method and Description |
|---|---|
com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack |
getItem(int slot) |
protected int id
protected boolean open
protected com.github.steveice10.mc.protocol.data.game.window.WindowType windowType
protected int size
protected String title
protected com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack[] items
public Inventory(int id,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
int size)
public Inventory(String title, int id, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, int size)
Copyright © 2020 GeyserMC. All rights reserved.