Class FurnaceFuelSlotExtended
java.lang.Object
net.minecraft.world.inventory.Slot
org.cyclops.integrateddynamics.inventory.slot.FurnaceFuelSlotExtended
public class FurnaceFuelSlotExtended
extends net.minecraft.world.inventory.Slot
A
FurnaceFuelSlot that does not put restrictions on the used tile entity.-
Field Summary
Fields inherited from class net.minecraft.world.inventory.Slot
container, index, x, y -
Constructor Summary
ConstructorsConstructorDescriptionFurnaceFuelSlotExtended(net.minecraft.world.Container inventory, int index, int xPosition, int yPosition, Supplier<net.minecraft.world.level.block.entity.FuelValues> fuelValuesSupplier) -
Method Summary
Modifier and TypeMethodDescriptionintgetMaxStackSize(net.minecraft.world.item.ItemStack itemStack) booleanmayPlace(net.minecraft.world.item.ItemStack itemStack) Methods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, mayPickup, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
Constructor Details
-
FurnaceFuelSlotExtended
public FurnaceFuelSlotExtended(net.minecraft.world.Container inventory, int index, int xPosition, int yPosition, Supplier<net.minecraft.world.level.block.entity.FuelValues> fuelValuesSupplier)
-
-
Method Details
-
mayPlace
public boolean mayPlace(net.minecraft.world.item.ItemStack itemStack) - Overrides:
mayPlacein classnet.minecraft.world.inventory.Slot
-
getMaxStackSize
public int getMaxStackSize(net.minecraft.world.item.ItemStack itemStack) - Overrides:
getMaxStackSizein classnet.minecraft.world.inventory.Slot
-