Package net.minecraft.inventory
Class SlotFurnaceFuel
- java.lang.Object
-
- net.minecraft.inventory.Slot
-
- net.minecraft.inventory.SlotFurnaceFuel
-
public class SlotFurnaceFuel extends Slot
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
-
Fields inherited from class net.minecraft.inventory.Slot
inventory, slotNumber, xDisplayPosition, yDisplayPosition
-
-
Constructor Summary
Constructors Constructor Description SlotFurnaceFuel(IInventory inventoryIn, int slotIndex, int xPosition, int yPosition)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getItemStackLimit(ItemStack itemstack)
static boolean
isBucket(ItemStack parItemStack)
boolean
isItemValid(ItemStack itemstack)
+ Check if the stack is a valid item for this slot.-
Methods inherited from class net.minecraft.inventory.Slot
canBeHovered, canTakeStack, decrStackSize, getHasStack, getSlotStackLimit, getSlotTexture, getStack, isHere, onCrafting, onCrafting, onPickupFromSlot, onSlotChange, onSlotChanged, putStack
-
-
-
-
Constructor Detail
-
SlotFurnaceFuel
public SlotFurnaceFuel(IInventory inventoryIn, int slotIndex, int xPosition, int yPosition)
-
-
Method Detail
-
isItemValid
public boolean isItemValid(ItemStack itemstack)
+ Check if the stack is a valid item for this slot. Always true beside for the armor slots.- Overrides:
isItemValid
in classSlot
-
getItemStackLimit
public int getItemStackLimit(ItemStack itemstack)
- Overrides:
getItemStackLimit
in classSlot
-
isBucket
public static boolean isBucket(ItemStack parItemStack)
-
-