Interface CompositableLensItem

All Superinterfaces:
BasicLensItem, LensEffectItem
All Known Implementing Classes:
LensItem

public interface CompositableLensItem extends BasicLensItem
Have an Item implement this to be counted as a lens that can be combined with a LensItem.
  • Method Details

    • getProps

      int getProps(net.minecraft.world.item.ItemStack stack)
      Returns the properties of the itemstack, used to check if two lenses can combine.
    • isCombinable

      boolean isCombinable(net.minecraft.world.item.ItemStack stack)
      Checks if the lens is combinable.