Solved Custom Items.

Discussion in 'Spigot Plugin Development' started by iCodinqs, Apr 16, 2017.

Thread Status:
Not open for further replies.
  1. Hello,

    So I want to make a custom item, what my aim is to do is make "RottenFlesh" smeltable into "Flesh" what will restore 5 hunger points.

    How would I go about this, as I want to make sure it doesn't restore 5 hunger points for the normal rotten flesh. And to also remove the effect that the rottenflesh gives you

    Should I check for the name? Eg, pl.getInventory().getItemInMainHand().getItemMeta().getDisplayName().equalsIgnoreCase("BlahBlah");
    then run the restoreHunger and remove the effect?

  2. First of all make a furnace recipe, and set the input and the output, then do a consume event and snake it restore 10 food
    • Informative Informative x 1
  3. How would I remove the "Hunger" effect?

    EDIT: Figured how to do it
    #3 iCodinqs, Apr 16, 2017
    Last edited: Apr 16, 2017
Thread Status:
Not open for further replies.