Paste: MixinItemElytra

Author: 通哥
Mode: java
Date: Mon, 17 Jan 2022 13:14:56
Plain Text |
@Mixin(ItemElytra.class)
public class MixinItemElytra extends Item implements IElytra
{

	@Override
	public boolean isUsableBy(EntityLivingBase e, ItemStack stack)
	{
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public void doDamage(ItemStack stack, int amount, EntityLivingBase entityIn)
	{
		// TODO Auto-generated method stub
		stack.damageItem(amount, entityIn);
	}

}

New Annotation

Summary:
Author:
Mode:
Body: