Package vazkii.botania.api.mana
Interface CompositableLensItem
- All Superinterfaces:
BasicLensItem,LensEffectItem
- All Known Implementing Classes:
LensItem
Have an Item implement this to be counted as a lens that can be combined with a LensItem.
-
Method Summary
Modifier and TypeMethodDescriptionintgetProps(net.minecraft.world.item.ItemStack stack) Returns the properties of the itemstack, used to check if two lenses can combine.booleanisCombinable(net.minecraft.world.item.ItemStack stack) Checks if the lens is combinable.Methods inherited from interface vazkii.botania.api.mana.BasicLensItem
canCombineLenses, getCompositeLens, getLensColor, setCompositeLensMethods inherited from interface vazkii.botania.api.mana.LensEffectItem
apply, collideBurst, doParticles, getManaToTransfer, updateBurst
-
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.
-