Class SmeltItem

java.lang.Object
com.vk2gpz.autosell.object.SmeltItem

public class SmeltItem extends Object
This class represents an item that can be smelted in the AutoSell plugin. It contains the material type, data value for the item to be broken, and the material type and data value for the item to be returned.
  • Constructor Details

    • SmeltItem

      public SmeltItem(org.bukkit.Material breakMaterial, int breakData, org.bukkit.Material returnMaterial, int returnData)
      Constructor to initialize the SmeltItem object with material types and data values.
      Parameters:
      breakMaterial - The material type of the item to be broken.
      breakData - The data value of the item to be broken.
      returnMaterial - The material type of the item to be returned.
      returnData - The data value of the item to be returned.
  • Method Details

    • getBreakMaterial

      public org.bukkit.Material getBreakMaterial()
    • setBreakMaterial

      public void setBreakMaterial(org.bukkit.Material breakMaterial)
    • getBreakData

      public int getBreakData()
    • setBreakData

      public void setBreakData(int breakData)
    • getReturnMaterial

      public org.bukkit.Material getReturnMaterial()
    • setReturnMaterial

      public void setReturnMaterial(org.bukkit.Material returnMaterial)
    • getReturnData

      public int getReturnData()
    • setReturnData

      public void setReturnData(int returnData)