- Set slot 0 of player's inventory to compass named '&a&lServer Selector &7&l(Right-Click)' #2 ShaneBee, Mar 2, 2017. Moderator Resource Staff Supporter.
- A brewing stand 's bottom slots are numbered 0 to 2 from left to right, its top slot is 3 and the fuel slot is 4. A furnace 's slots are numbered 0 for the input slot, 1 for the fuel slot, and 2 for the output slot. Other blocks which hold items but don't have inventory GUIs (flower pots and jukeboxes) can only be changed with / data.
- Set slot 0 of player's inventory to compass named '&a&lServer Selector &7&l(Right-Click)' #2 ShaneBee, Mar 2, 2017. Moderator Resource Staff Supporter.
- A brewing stand 's bottom slots are numbered 0 to 2 from left to right, its top slot is 3 and the fuel slot is 4. A furnace 's slots are numbered 0 for the input slot, 1 for the fuel slot, and 2 for the output slot. Other blocks which hold items but don't have inventory GUIs (flower pots and jukeboxes) can only be changed with / data.
-
Field Summary
FieldsModifier and Type Field Description private int
amount
private CraftingInventory
craftingInv
private PlayerEntity
player
Fields inherited from class net.minecraft.inventory.slot.Slot
id, inventory, xPosition, yPosition
Constructor Summary
ConstructorsConstructor Description CraftingResultSlot(PlayerEntity player, CraftingInventory craftingInv, Inventory inventory, int invSlot, int xPosition, int yPosition)
Method Summary
All MethodsInstance MethodsConcrete MethodsModifier and Type Method Description boolean
canInsert(ItemStack stack)
protected void
onCrafted(ItemStack stack)
protected void
onCrafted(ItemStack stack, int amount)
void
onTakeItem(PlayerEntity player, ItemStack stack)
ItemStack
takeStack(int amount)
Methods inherited from class net.minecraft.inventory.slot.Slot
canTakeItems, doDrawHoveringEffect, getMaxStackAmount, getMaxStackAmount, getStack, hasStack, markDirty, method_8155, method_8163, onStackChanged, setStack
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Inventory Slot Id Minecraft 1.12
Inventory slot ids. Discussion in 'Plugin Development' started by Baummann, Jun 24, 2011. Thread Status: Not open for further replies. Offline Baummann. In Bukkit, inventory view slots are referenced by slot IDs. However, there are many types of inventory views, which can lead to confusion of which ID belongs to which slot. This page shows all raw slot IDs of all inventory views for ease of reference. Inventory views are sorted alphabetically. Specifies the item to be placed in the block or entity's inventory slot. Must be an item id, or a block id for which an item exists (for example, minecraft:goldensword). Minecraft Ids 1.12.2 amount (BE: amount: int) (optional) Specifies the number of items to be placed in the block or entity's inventory slot.