Interface IWorkbenchItem
- All Known Implementing Classes:
BattleMageArmorItem,BlankScrollItem,SageArmorItem,ScrollItem,WandItem,WarlockArmorItem,WizardArmorItem
public interface IWorkbenchItem
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.item.ItemStackapplyUpgrade(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.ItemStack upgrade) default booleancanPlace(net.minecraft.world.item.ItemStack stack) intgetSpellSlotCount(net.minecraft.world.item.ItemStack stack) default booleanbooleanonApplyButtonPressed(net.minecraft.world.entity.player.Player player, net.minecraft.world.inventory.Slot centre, net.minecraft.world.inventory.Slot crystals, net.minecraft.world.inventory.Slot upgrade, net.minecraft.world.inventory.Slot[] spellBooks) default voidonClearButtonPressed(net.minecraft.world.entity.player.Player player, net.minecraft.world.inventory.Slot centre, net.minecraft.world.inventory.Slot crystals, net.minecraft.world.inventory.Slot upgrade, net.minecraft.world.inventory.Slot[] spellBooks) booleanshowTooltip(net.minecraft.world.item.ItemStack stack)
-
Method Details
-
canPlace
default boolean canPlace(net.minecraft.world.item.ItemStack stack) -
getSpellSlotCount
int getSpellSlotCount(net.minecraft.world.item.ItemStack stack) -
onApplyButtonPressed
boolean onApplyButtonPressed(net.minecraft.world.entity.player.Player player, net.minecraft.world.inventory.Slot centre, net.minecraft.world.inventory.Slot crystals, net.minecraft.world.inventory.Slot upgrade, net.minecraft.world.inventory.Slot[] spellBooks) -
onClearButtonPressed
default void onClearButtonPressed(net.minecraft.world.entity.player.Player player, net.minecraft.world.inventory.Slot centre, net.minecraft.world.inventory.Slot crystals, net.minecraft.world.inventory.Slot upgrade, net.minecraft.world.inventory.Slot[] spellBooks) -
isClearable
default boolean isClearable() -
showTooltip
boolean showTooltip(net.minecraft.world.item.ItemStack stack) -
applyUpgrade
default net.minecraft.world.item.ItemStack applyUpgrade(@Nullable net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.ItemStack upgrade)
-