- Inventory Slot Id Minecraft Servers
- Inventory Slot Id Minecraft 1.12.2
- Im building a project with commands. How to add / testfor @a Inventory: Slot: 100b, id: minecraft: diamondboots if it has a specific tag, for example: Ski?
- Minecraft id and places a block from it under the turtle function selectandplacedown (minecraftid) for slot = 1, 16 do item = turtle. GetItemDetail (slot).
You may obtain the IDs either by calling GetInventorySlotInfo, ContainerIDToInventoryID, or from the table below. Note that you should never use these values in AddOns, since they may change. Use GetInventorySlotInfo (invSlotName) to get the current mapping.
Inventory Slot Id Minecraft Servers
Inventory Slot Id Minecraft 1.12.2
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