net.minecraft.entity.attribute.EntityAttributeModifier Java Examples

The following examples show how to use net.minecraft.entity.attribute.EntityAttributeModifier. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EntityAttributeInstanceAccessor.java    From Galacticraft-Rewoven with MIT License 4 votes vote down vote up
@Invoker
void callAddModifier(EntityAttributeModifier modifier);
 
Example #2
Source File: IForgeItem.java    From patchwork-api with GNU Lesser General Public License v2.1 4 votes vote down vote up
/**
 * ItemStack sensitive version of {@link Item#getModifiers}.
 */
default Multimap<String, EntityAttributeModifier> getAttributeModifiers(EquipmentSlot slot, ItemStack stack) {
	return getItem().getModifiers(slot);
}