mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 19:15:13 +00:00
Added an entity field to the
CNPC natural spawn event.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user