mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 06:37:34 +00:00
16 lines
281 B
Java
16 lines
281 B
Java
package net.minecraft.entity;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
public class NPCEntityHelper {
|
|
|
|
public static Item getDropItem(EntityLiving entity){
|
|
return entity.getDropItem();
|
|
}
|
|
|
|
public static void setRecentlyHit(EntityLivingBase entity){
|
|
entity.recentlyHit = 100;
|
|
}
|
|
|
|
}
|