Added an entity field to the

CNPC natural spawn event.
This commit is contained in:
Luis C.M. committed 2024-08-05 19:35:58 -05:00
1 parent 7489396198
commit 1182370ec0
1 file changed
+4
@@ -3,6 +3,7 @@ package noppes.npcs.api.event;
import cpw.mods.fml.common.eventhandler.Cancelable;
import noppes.npcs.api.IPos;
import noppes.npcs.api.IWorld;
import noppes.npcs.api.entity.IEntityLivingBase;
import noppes.npcs.api.handler.data.INaturalSpawn;
public interface ICustomNPCsEvent {
@@ -11,6 +12,9 @@ public interface ICustomNPCsEvent {
@Cancelable
interface CNPCNaturalSpawnEvent extends ICustomNPCsEvent {
IEntityLivingBase<?> getEntity();
INaturalSpawn getNaturalSpawn();
void setAttemptPosition(IPos attemptPosition);