- Enclosing class:
HeldItemSwaps
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
boolean
sameItem(net.minecraft.world.item.ItemStack shown,
net.minecraft.world.item.ItemStack next)
Whether the stack shown and the one now held are to be seen as the same item, with no swap between them.