(ItemStack stack)
| 331 | } |
| 332 | |
| 333 | public boolean hasEffect(ItemStack stack) |
| 334 | { |
| 335 | List<PotionEffect> list = this.getEffects(stack); |
| 336 | return list != null && !list.isEmpty(); |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * returns a list of items with the same ID, but different meta (eg: dye returns 16 items) |
nothing calls this directly
no test coverage detected