@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
13 lines (12 loc) • 448 B
TypeScript
import IComponent from "../IComponent";
import InventorySlot from "../InventorySlot";
import NbtBinaryTag from "../NbtBinaryTag";
import ComponentBase from "../ComponentBase";
export default class EntityInventoryComponent extends ComponentBase implements IComponent {
slots: {
[slotIndex: number]: InventorySlot;
};
constructor();
ensureSlot(slotIndex: number): InventorySlot;
loadFromNbtTag(tag: NbtBinaryTag): void;
}