Flamezzz Posted October 3, 2015 Posted October 3, 2015 For an arbitrary item name? What exactly are you trying to do here? :p
Mocro Posted October 3, 2015 Author Posted October 3, 2015 this gives me the amount in my inventory : this.getInventory().getAmount("Cowhide"); i want the ID if i do "CowHide"
Mocro Posted October 3, 2015 Author Posted October 3, 2015 inventory.getItem("your item").getId() do i need to have that item in my inventory?
Flamezzz Posted October 3, 2015 Posted October 3, 2015 do i need to have that item in my inventory? Yes