Class FurnaceResultSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.FurnaceResultSlot
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFurnaceResultSlot(Player player, Container container, int slot, int x, int y) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckTakeAchievements(ItemStack carried) booleanCheck if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.protected voidonQuickCraft(ItemStack picked, int count) Typically increases an internal count, then callsonCrafting(item).voidremove(int amount) Decrease the size of the stack in slot (first int arg) by the amount of the second int arg.Methods inherited from class Slot
allowModification, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, mayPickup, onQuickCraft, onSwapCraft, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
Field Details
-
player
-
removeCount
private int removeCount
-
-
Constructor Details
-
FurnaceResultSlot
-
-
Method Details
-
mayPlace
-
remove
-
onTake
-
onQuickCraft
Typically increases an internal count, then callsonCrafting(item).- Overrides:
onQuickCraftin classSlot- Parameters:
picked- the output - ie, iron ingots, and pickaxes, not ore and wood.
-
checkTakeAchievements
- Overrides:
checkTakeAchievementsin classSlot- Parameters:
carried- the output - ie, iron ingots, and pickaxes, not ore and wood.
-