New answers tagged

-1

I think you can use this: if(heldItem.getItem() instanceof ItemAxe){ //do something }



Top 50 recent answers are included