public class ArmorApiaristHelper extends java.lang.Object implements IArmorApiaristHelper
| Constructor and Description |
|---|
ArmorApiaristHelper() |
| 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.
|
public boolean isArmorApiarist(net.minecraft.item.ItemStack stack,
net.minecraft.entity.EntityLivingBase entity,
java.lang.String cause,
boolean doProtect)
IArmorApiaristHelperisArmorApiarist in interface IArmorApiaristHelperstack - 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 protectionpublic int wearsItems(net.minecraft.entity.EntityLivingBase entity,
java.lang.String cause,
boolean doProtect)
IArmorApiaristHelperwearsItems in interface IArmorApiaristHelperentity - Entity being attackedcause - Optional cause of attack, such as a bee effect identifierdoProtect - Whether or not to actually do the side effects of protection