public interface IArmorApiaristHelper
| Modifier and Type | Method and Description |
|---|---|
boolean |
isArmorApiarist(net.minecraft.item.ItemStack stack,
net.minecraft.entity.EntityLivingBase entity,
java.lang.String cause,
boolean doProtect)
Called when the apiarist's armor acts as protection against an attack.
|
int |
wearsItems(net.minecraft.entity.EntityLivingBase entity,
java.lang.String cause,
boolean doProtect)
Called when the apiarist's armor acts as protection against an attack.
|
boolean isArmorApiarist(net.minecraft.item.ItemStack stack,
net.minecraft.entity.EntityLivingBase entity,
java.lang.String cause,
boolean doProtect)
stack - ItemStack to checkentity - Entity being attackedcause - Optional cause of attack, such as a bee effect identifierdoProtect - Whether or not to actually do the side effects of protectionint wearsItems(net.minecraft.entity.EntityLivingBase entity,
java.lang.String cause,
boolean doProtect)
entity - Entity being attackedcause - Optional cause of attack, such as a bee effect identifierdoProtect - Whether or not to actually do the side effects of protection