FourKit 1469f90c
The LCE C# Server Plugin API
Loading...
Searching...
No Matches
Minecraft.Server.FourKit.Inventory Namespace Reference

Classes

class  BeaconInventory
 Represents the inventory of a Beacon. Single slot at index 0. More...
class  DoubleChestInventory
 Represents the inventory of a Double Chest. 54 slots total — left side is slots 0–26, right side is slots 27–53. More...
class  EnchantingInventory
 Represents the inventory of an Enchanting Table. Single slot at index 0. More...
class  FurnaceInventory
 Represents the inventory of a Furnace. Slot layout: 0 = smelting input, 1 = fuel, 2 = result. More...
class  HorseInventory
 Represents the inventory of a Horse. Slot layout: 0 = saddle, 1 = armor, 2+ = chest slots. More...
class  Inventory
 Represents an inventory containing items. Behavior relating to Material.AIR is unspecified. More...
interface  InventoryHolder
class  InventoryTypeExtensions
 Provides default size and title information for each InventoryType.
class  InventoryView
 Represents a view linking two inventories and a single player (whose inventory may or may not be one of the two). More...
class  InventoryViewPropertyExtensions
 Extension methods for InventoryView.Property.
class  ItemStack
 Represents a stack of items. More...
class  PlayerInventory
 Represents a player's inventory, including armor slots and the held item. More...

Enumerations

enum  InventoryType {
  CHEST , DISPENSER , DROPPER , FURNACE ,
  WORKBENCH , CRAFTING , ENCHANTING , BREWING ,
  PLAYER , CREATIVE , MERCHANT , ENDER_CHEST ,
  ANVIL , BEACON , HOPPER
}
 Represents the different types of inventories available. More...
enum  SlotType {
  RESULT , CRAFTING , ARMOR , CONTAINER ,
  QUICKBAR , OUTSIDE , FUEL
}
 Represents a slot type within an inventory. More...

Enumeration Type Documentation

◆ InventoryType

Represents the different types of inventories available.

Enumerator
CHEST 

A chest inventory, with 0, 9, 18, 27, 36, 45, or 54 slots of type CONTAINER.

DISPENSER 

A dispenser inventory, with 9 slots of type CONTAINER.

DROPPER 

A dropper inventory, with 9 slots of type CONTAINER.

FURNACE 

A furnace inventory, with a RESULT slot, a CRAFTING slot, and a FUEL slot.

WORKBENCH 

A workbench inventory, with 9 CRAFTING slots and a RESULT slot.

CRAFTING 

A player's crafting inventory, with 4 CRAFTING slots and a RESULT slot.

ENCHANTING 

An enchantment table inventory, with one CRAFTING slot and three enchanting buttons.

BREWING 

A brewing stand inventory, with one FUEL slot and three CRAFTING slots.

PLAYER 

A player's inventory, with 9 QUICKBAR slots, 27 CONTAINER slots, and 4 ARMOR slots.

CREATIVE 

The creative mode inventory, with only 9 QUICKBAR slots and nothing else.

MERCHANT 

The merchant inventory, with 2 TRADE-IN slots, and 1 RESULT slot.

ENDER_CHEST 

The ender chest inventory, with 27 slots.

ANVIL 

An anvil inventory, with 2 CRAFTING slots and 1 RESULT slot.

BEACON 

A beacon inventory, with 1 CRAFTING slot.

HOPPER 

A hopper inventory, with 5 slots of type CONTAINER.

◆ SlotType

Represents a slot type within an inventory.

Enumerator
RESULT 

A result slot in a furnace or crafting inventory.

CRAFTING 

A slot in the crafting matrix, or the input slot in a furnace inventory, the potion slot in the brewing stand, or the enchanting slot.

ARMOR 

An armour slot in the player's inventory.

CONTAINER 

A regular slot in the container or the player's inventory.

QUICKBAR 

A slot in the bottom row or quickbar.

OUTSIDE 

A pseudo-slot representing the area outside the inventory window.

FUEL 

The fuel slot in a furnace inventory, or the ingredient slot in a brewing stand inventory.