diff --git a/README.md b/README.md index 08aebe6a7..84a04e02f 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,8 @@ This mod is an ***update*** to CustomNPC and not an add-on. Do not install Custo ## 🔗 Want to check out my other projects? +[MorePlayerModels+](https://github.com/KAMKEEL/MorePlayerModels-Plus) is a continuation on the 1.7.10 MorePlayerModels version. It is not intended to be as polished as CustomNPC+. It will feature Alex, Steve64x64 skins. Hiding Body Parts. Advanced URL Selector. 3D Skins. + [Plugin Mod](https://github.com/KAMKEEL/Plugin-Mod) is a mod designed to add more aesthetic items for RPG and storytelling. It is compatible with CustomNPC+ and has many items intended to be used and wielded by created NPCs. [RPG Messenger](https://github.com/KAMKEEL/RPGMessenger) is a bukkit plugin designed to allow operators to create messagable NPCs for RPG Servers. Allows a 'RPG Controller' to reply quickly as NPCs, form groupchats, and messagable parties. diff --git a/build.gradle b/build.gradle index b8c70f839..58bc3728f 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ buildscript { apply plugin: 'forge' -version = "1.6" +version = "1.6.1" group= "com.kamkeel.customnpc-plus" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "CustomNPC-Plus" diff --git a/docs/allclasses-frame.html b/docs/allclasses-frame.html index c16856f59..48934553c 100644 --- a/docs/allclasses-frame.html +++ b/docs/allclasses-frame.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -13,6 +13,7 @@
diff --git a/docs/allclasses-noframe.html b/docs/allclasses-noframe.html index 38750bb95..0ed5f5418 100644 --- a/docs/allclasses-noframe.html +++ b/docs/allclasses-noframe.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -13,6 +13,7 @@
diff --git a/docs/constant-values.html b/docs/constant-values.html index 17a876561..d5d6464e6 100644 --- a/docs/constant-values.html +++ b/docs/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + @@ -71,6 +71,253 @@

Constant Field Values

Contents

+ +
+
+ + +

noppes.npcs.*

+
diff --git a/docs/deprecated-list.html b/docs/deprecated-list.html index 6caebc17b..80a5fc73a 100644 --- a/docs/deprecated-list.html +++ b/docs/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List - + @@ -87,10 +87,10 @@ -noppes.npcs.scripted.interfaces.IWorld.createEntityParticle(String) +noppes.npcs.scripted.interfaces.AbstractNpcAPI.createEntityParticle(String) -noppes.npcs.scripted.interfaces.AbstractNpcAPI.createEntityParticle(String) +noppes.npcs.scripted.interfaces.IWorld.createEntityParticle(String) noppes.npcs.scripted.event.NpcEvent.RangedLaunchedEvent.getTarget()  @@ -104,6 +104,15 @@ noppes.npcs.scripted.event.NpcEvent.DialogClosedEvent.isClosing()  + +noppes.npcs.scripted.interfaces.IParticle.spawnInWorld(IWorld) + + +noppes.npcs.scripted.interfaces.IParticle.spawnInWorld(IWorld, double, double, double) + + +noppes.npcs.scripted.interfaces.IParticle.spawnOnEntity(IEntity) + diff --git a/docs/help-doc.html b/docs/help-doc.html index 004d305ec..3d8853461 100644 --- a/docs/help-doc.html +++ b/docs/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/docs/index-files/index-1.html b/docs/index-files/index-1.html index 0bafc56f5..2646fb927 100644 --- a/docs/index-files/index-1.html +++ b/docs/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + @@ -173,8 +173,14 @@
 
amount - Variable in class noppes.npcs.scripted.event.PlayerEvent.PickupXPEvent
 
+
ANIMAL - Static variable in class noppes.npcs.scripted.constants.EntityType
+
 
animalSpawnPassed - Variable in class noppes.npcs.scripted.event.CustomNPCsEvent.CNPCNaturalSpawnEvent
 
+
AnimationType - Class in noppes.npcs.scripted.constants
+
 
+
AnimationType() - Constructor for class noppes.npcs.scripted.constants.AnimationType
+
 
API - Variable in class noppes.npcs.scripted.event.CustomNPCsEvent
 
areAllPlayersAsleep() - Method in interface noppes.npcs.scripted.interfaces.IWorld
@@ -187,9 +193,11 @@
 
attackedByMobs() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IFaction
 
+
AttackedEvent(IPlayer, Entity, float, DamageSource) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.AttackedEvent
+
 
AttackEvent(IItemCustom, IEntity, int, Object) - Constructor for class noppes.npcs.scripted.event.ItemEvent.AttackEvent
 
-
AttackEvent(IPlayer, int, Object) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.AttackEvent
+
AttackEvent(IPlayer, Entity, float, DamageSource) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.AttackEvent
 
attemptPosition - Variable in class noppes.npcs.scripted.event.CustomNPCsEvent.CNPCNaturalSpawnEvent
 
diff --git a/docs/index-files/index-10.html b/docs/index-files/index-10.html index 3ef29ab41..fd90c1761 100644 --- a/docs/index-files/index-10.html +++ b/docs/index-files/index-10.html @@ -2,9 +2,9 @@ - + J-Index - + @@ -73,6 +73,10 @@

J

+
JobType - Class in noppes.npcs.scripted.constants
+
 
+
JobType() - Constructor for class noppes.npcs.scripted.constants.JobType
+
 
JumpEvent(IPlayer) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.JumpEvent
 
diff --git a/docs/index-files/index-11.html b/docs/index-files/index-11.html index 8b4dbb379..cee3bcd39 100644 --- a/docs/index-files/index-11.html +++ b/docs/index-files/index-11.html @@ -2,9 +2,9 @@ - + K-Index - + @@ -81,6 +81,10 @@
 
keysDown - Variable in class noppes.npcs.scripted.event.PlayerEvent.KeyPressedEvent
 
+
keysDown - Variable in class noppes.npcs.scripted.event.PlayerEvent.MouseClickedEvent
+
 
+
kick(String) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
kill() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
Kill the npc, doesnt't despawn it
diff --git a/docs/index-files/index-12.html b/docs/index-files/index-12.html index 99575b0ae..4ca329f9a 100644 --- a/docs/index-files/index-12.html +++ b/docs/index-files/index-12.html @@ -2,9 +2,9 @@ - + L-Index - + @@ -83,10 +83,14 @@
 
list() - Method in interface noppes.npcs.scripted.interfaces.handler.IFactionHandler
 
+
LIVING - Static variable in class noppes.npcs.scripted.constants.EntityType
+
 
LoginEvent(IPlayer) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.LoginEvent
 
LogoutEvent(IPlayer) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.LogoutEvent
 
+
LYING - Static variable in class noppes.npcs.scripted.constants.AnimationType
+
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
diff --git a/docs/index-files/index-13.html b/docs/index-files/index-13.html index 0cfa4a6b0..86e85bade 100644 --- a/docs/index-files/index-13.html +++ b/docs/index-files/index-13.html @@ -2,9 +2,9 @@ - + M-Index - + @@ -73,17 +73,21 @@

M

+
MAILMAN - Static variable in class noppes.npcs.scripted.constants.RoleType
+
 
maxTicks(int) - Method in interface noppes.npcs.scripted.interfaces.ITimers
 
MeleeAttackEvent(ICustomNpc, float, EntityLivingBase) - Constructor for class noppes.npcs.scripted.event.NpcEvent.MeleeAttackEvent
 
message - Variable in class noppes.npcs.scripted.event.PlayerEvent.ChatEvent
 
+
MONSTER - Static variable in class noppes.npcs.scripted.constants.EntityType
+
 
monsterSpawnPassed - Variable in class noppes.npcs.scripted.event.CustomNPCsEvent.CNPCNaturalSpawnEvent
 
mountEntity(Entity) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
-
MouseClickedEvent(IPlayer, int, int, boolean) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.MouseClickedEvent
+
MouseClickedEvent(IPlayer, int, int, boolean, boolean, boolean, boolean, boolean, int[]) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.MouseClickedEvent
 
mouseWheel - Variable in class noppes.npcs.scripted.event.PlayerEvent.MouseClickedEvent
 
diff --git a/docs/index-files/index-14.html b/docs/index-files/index-14.html index 0044b17f9..9fcb772f6 100644 --- a/docs/index-files/index-14.html +++ b/docs/index-files/index-14.html @@ -2,9 +2,9 @@ - + N-Index - + @@ -81,6 +81,8 @@
 
navigateTo(double, double, double, double) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLiving
 
+
noppes.npcs.scripted.constants - package noppes.npcs.scripted.constants
+
 
noppes.npcs.scripted.event - package noppes.npcs.scripted.event
 
noppes.npcs.scripted.interfaces - package noppes.npcs.scripted.interfaces
@@ -101,6 +103,8 @@
 
noppes.npcs.scripted.interfaces.roles - package noppes.npcs.scripted.interfaces.roles
 
+
NORMAL - Static variable in class noppes.npcs.scripted.constants.AnimationType
+
 
normalize() - Method in interface noppes.npcs.scripted.interfaces.IPos
Returns a normalized vector of this block's position, calculated by:
@@ -111,6 +115,8 @@
north(int) - Method in interface noppes.npcs.scripted.interfaces.IPos
 
+
NPC - Static variable in class noppes.npcs.scripted.constants.EntityType
+
 
npc - Variable in class noppes.npcs.scripted.event.NpcEvent
 
NpcEvent - Class in noppes.npcs.scripted.event
diff --git a/docs/index-files/index-15.html b/docs/index-files/index-15.html index 08af94108..c046e8f0d 100644 --- a/docs/index-files/index-15.html +++ b/docs/index-files/index-15.html @@ -2,9 +2,9 @@ - + O-Index - + diff --git a/docs/index-files/index-16.html b/docs/index-files/index-16.html index b086531bc..358ddf064 100644 --- a/docs/index-files/index-16.html +++ b/docs/index-files/index-16.html @@ -2,9 +2,9 @@ - + P-Index - + @@ -73,6 +73,12 @@

P

+
pauseSounds() - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
+
 
+
pauseSounds() - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
+
pauseSounds() - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
PickedUpEvent(IItemCustom, IPlayer) - Constructor for class noppes.npcs.scripted.event.ItemEvent.PickedUpEvent
 
PickUpEvent(IPlayer, IItemStack) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.PickUpEvent
@@ -81,6 +87,8 @@
 
pitch - Variable in class noppes.npcs.scripted.event.PlayerEvent.SoundEvent
 
+
PLAYER - Static variable in class noppes.npcs.scripted.constants.EntityType
+
 
player - Variable in class noppes.npcs.scripted.event.CustomGuiEvent
 
player - Variable in class noppes.npcs.scripted.event.DialogEvent
@@ -117,6 +125,8 @@
 
PlayerEvent.Achievement - Class in noppes.npcs.scripted.event
 
+
PlayerEvent.AttackedEvent - Class in noppes.npcs.scripted.event
+
 
PlayerEvent.AttackEvent - Class in noppes.npcs.scripted.event
 
PlayerEvent.Bonemeal - Class in noppes.npcs.scripted.event
@@ -197,8 +207,14 @@
 
playerStatus(IPlayer) - Method in interface noppes.npcs.scripted.interfaces.handler.data.IFaction
 
+
playSound(int, ISound) - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
+
 
playSound(String, float, float) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
+
playSound(int, ISound) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
+
playSound(int, ISound) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
playSoundAtEntity(IEntity, String, float, float) - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
 
playSoundAtEntity(IEntity, String, float, float) - Method in interface noppes.npcs.scripted.interfaces.IWorld
@@ -209,6 +225,8 @@
 
points - Variable in class noppes.npcs.scripted.event.FactionEvent.FactionPoints
 
+
PUPPET - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  diff --git a/docs/index-files/index-17.html b/docs/index-files/index-17.html index 3525e90f4..a97895b66 100644 --- a/docs/index-files/index-17.html +++ b/docs/index-files/index-17.html @@ -2,9 +2,9 @@ - + Q-Index - + diff --git a/docs/index-files/index-18.html b/docs/index-files/index-18.html index e679356be..819a4a689 100644 --- a/docs/index-files/index-18.html +++ b/docs/index-files/index-18.html @@ -2,9 +2,9 @@ - + R-Index - + @@ -79,14 +79,34 @@
 
RangedLaunchedEvent(IPlayer, ItemStack, int) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.RangedLaunchedEvent
 
+
rayCastBlock(double[], double[], int, boolean, boolean, boolean) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
+
starting at the start position, draw a line in the lookVector direction until a block is detected
+
rayCastBlock(double[], double[], int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
-
-
starting at the start position, draw a line in the lookVector direction until a block is detected
-
+
 
+
rayCastBlock(IPos, IPos, int, boolean, boolean, boolean) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
rayCastBlock(IPos, IPos, int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
-
-
starting at the start position, draw a line in the lookVector direction until a block is detected
-
+
 
+
rayCastEntities(double[], double[], int, double, double, boolean, boolean, boolean) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
rayCastEntities(IPos, IPos, int, double, double, boolean, boolean, boolean) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
rayCastEntities(double[], double[], int, double, double) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
rayCastEntities(IPos, IPos, int, double, double) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
rayCastPos(double[], double[], int, boolean, boolean, boolean) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
rayCastPos(double[], double[], int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
rayCastPos(IPos, IPos, int, boolean, boolean, boolean) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
rayCastPos(IPos, IPos, int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
readDialog(IDialog) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
readDialog(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
readDialog(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerDialogData
@@ -137,10 +157,12 @@
 
removeMail(IPlayerMail) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerMailData
 
-
removeQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
removeQuest(IQuest) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
Removes the quest from active and finished quest list
+
removeQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
removeQuest(int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.IAvailability
 
removeQuest(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerQuestData
@@ -169,6 +191,8 @@
 
renderGradual() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialog
 
+
repeats() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
repeats(int) - Method in interface noppes.npcs.scripted.interfaces.ITimers
 
reset() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
@@ -197,6 +221,10 @@
 
result - Variable in class noppes.npcs.scripted.event.PlayerEvent.FillBucket
 
+
RoleType - Class in noppes.npcs.scripted.constants
+
 
+
RoleType() - Constructor for class noppes.npcs.scripted.constants.RoleType
+
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  diff --git a/docs/index-files/index-19.html b/docs/index-files/index-19.html index 32d14e388..f0fd66c1c 100644 --- a/docs/index-files/index-19.html +++ b/docs/index-files/index-19.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -273,6 +273,8 @@
 
setEntity(IEntity, int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.INaturalSpawn
 
+
setEntity(IEntity) - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
setEV(int, int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPixelmon
 
setExpLevel(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
@@ -539,6 +541,8 @@
 
setNickname(String) - Method in interface noppes.npcs.scripted.interfaces.entity.IPixelmon
 
+
setNoClip(boolean) - Method in interface noppes.npcs.scripted.interfaces.IParticle
+
 
setNpcName(String) - Method in interface noppes.npcs.scripted.interfaces.handler.data.IQuest
 
setNpcOffset(int, int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialog
@@ -567,6 +571,8 @@
 
setPitch(float) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntity
 
+
setPitch(float) - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
setPoints(int, int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerFactionData
 
setPokeball(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPixelmon
@@ -585,6 +591,10 @@
 
setPosition(int, int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialogImage
 
+
setPosition(IPos) - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
+
setPosition(float, float, float) - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
setPosition(int, int, int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.ITransportLocation
 
setPosition(double, double, double) - Method in interface noppes.npcs.scripted.interfaces.IParticle
@@ -609,7 +619,7 @@
 
setRangedBurst(int) - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
-
setRangedRage(int) - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
+
setRangedRange(int) - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
setRangedSpeed(int) - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
@@ -619,6 +629,10 @@
 
setRelease(byte) - Method in interface noppes.npcs.scripted.interfaces.entity.IDBCPlayer
 
+
setRepeat(boolean) - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
+
setRepeatDelay(int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
setRepeats(int, boolean) - Method in interface noppes.npcs.scripted.interfaces.ITimers
Sets whether the timer with the given id repeats or not.
@@ -901,6 +915,8 @@
 
setVisibleType(int) - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
+
setVolume(float) - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
setWeight(int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.INaturalSpawn
 
setWidthHeight(int, int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialogImage
@@ -933,6 +949,10 @@
 
showCustomOverlay(ICustomOverlay) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
+
showDialog(IDialog) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
+
showDialog(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
showOptionLine(boolean) - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialog
 
showOptionLine() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialog
@@ -943,6 +963,8 @@
 
showPreviousBlocks() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialog
 
+
SITTING - Static variable in class noppes.npcs.scripted.constants.AnimationType
+
 
size() - Method in interface noppes.npcs.scripted.interfaces.handler.IOverlayHandler
 
size() - Method in interface noppes.npcs.scripted.interfaces.ITimers
@@ -959,12 +981,16 @@
 
slotId - Variable in class noppes.npcs.scripted.event.CustomGuiEvent.SlotEvent
 
+
SNEAKING - Static variable in class noppes.npcs.scripted.constants.AnimationType
+
 
SoundEvent(IPlayer, String, float, float) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.SoundEvent
 
source - Variable in class noppes.npcs.scripted.event.NpcEvent.DamagedEvent
 
source - Variable in class noppes.npcs.scripted.event.NpcEvent.DiedEvent
 
+
source - Variable in class noppes.npcs.scripted.event.PlayerEvent.AttackedEvent
+
 
source - Variable in class noppes.npcs.scripted.event.PlayerEvent.DamagedEvent
 
source - Variable in class noppes.npcs.scripted.event.PlayerEvent.DiedEvent
@@ -975,30 +1001,48 @@
south(int) - Method in interface noppes.npcs.scripted.interfaces.IPos
 
+
spawn(double, double, double, int, String, IWorld, boolean) - Method in interface noppes.npcs.scripted.interfaces.handler.ICloneHandler
+
 
spawn(double, double, double, int, String, IWorld) - Method in interface noppes.npcs.scripted.interfaces.handler.ICloneHandler
 
-
spawnClone(int, int, int, int, String) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
spawn(IEntity) - Method in interface noppes.npcs.scripted.interfaces.IParticle
+
 
+
spawn(IWorld) - Method in interface noppes.npcs.scripted.interfaces.IParticle
+
 
+
spawn(IWorld, double, double, double) - Method in interface noppes.npcs.scripted.interfaces.IParticle
+
 
+
spawnClone(int, int, int, int, String, boolean) - Method in interface noppes.npcs.scripted.interfaces.IWorld
Lets you spawn a server side cloned entity
+
spawnClone(int, int, int, int, String) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
spawnedFromSoulStone() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
spawnEntity(int) - Method in interface noppes.npcs.scripted.interfaces.jobs.IJobSpawner
 
spawnEntityInWorld(IEntity) - Method in interface noppes.npcs.scripted.interfaces.IWorld
 
+
SPAWNER - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
SpawnEvent(IItemCustom, IEntity) - Constructor for class noppes.npcs.scripted.event.ItemEvent.SpawnEvent
 
-
spawnInWorld(ScriptWorld) - Method in interface noppes.npcs.scripted.interfaces.IParticle
-
 
-
spawnInWorld(ScriptWorld, double, double, double) - Method in interface noppes.npcs.scripted.interfaces.IParticle
-
 
+
spawnInWorld(IWorld) - Method in interface noppes.npcs.scripted.interfaces.IParticle
+
+
Deprecated.
+
+
spawnInWorld(IWorld, double, double, double) - Method in interface noppes.npcs.scripted.interfaces.IParticle
+
+
Deprecated.
+
spawnNPC(World, int, int, int) - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
Spawns a new NPC in the world at the given coordinates and returns an ICustomNpc object of it.
spawnOnEntity(IEntity) - Method in interface noppes.npcs.scripted.interfaces.IParticle
-
 
+
+
Deprecated.
+
spawnParticle(IParticle) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntity
 
spawnParticle(String, double, double, double, double, double, double, double, int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
@@ -1029,10 +1073,12 @@
Adds a timer to the NPC or player with the given attributes.
-
startQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
startQuest(IQuest) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
Add the quest from active quest list
+
startQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
startQuest(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerQuestData
 
StartUsingItem(IItemCustom, IPlayer, int) - Constructor for class noppes.npcs.scripted.event.ItemEvent.StartUsingItem
@@ -1043,14 +1089,28 @@
Stops the timer with the given id
-
stopQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
stopQuest(IQuest) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
Removes the quest from active quest list
+
stopQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
stopQuest(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerQuestData
 
stopServer() - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
 
+
stopSound(int) - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
+
 
+
stopSound(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
+
stopSound(int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
stopSounds() - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
+
 
+
stopSounds() - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
+
stopSounds() - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
StopUsingItem(IItemCustom, IPlayer, int) - Constructor for class noppes.npcs.scripted.event.ItemEvent.StopUsingItem
 
StopUsingItem(IPlayer, ItemStack, int) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.StopUsingItem
diff --git a/docs/index-files/index-2.html b/docs/index-files/index-2.html index eca58f2d9..105c54b9b 100644 --- a/docs/index-files/index-2.html +++ b/docs/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + @@ -73,6 +73,10 @@

B

+
BANK - Static variable in class noppes.npcs.scripted.constants.RoleType
+
 
+
BARD - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
block - Variable in class noppes.npcs.scripted.event.PlayerEvent.Bonemeal
 
block - Variable in class noppes.npcs.scripted.event.PlayerEvent.BreakEvent
diff --git a/docs/index-files/index-20.html b/docs/index-files/index-20.html index 48f304850..881c7aba2 100644 --- a/docs/index-files/index-20.html +++ b/docs/index-files/index-20.html @@ -2,9 +2,9 @@ - + T-Index - + @@ -119,14 +119,16 @@
 
TossEvent(IPlayer, IItemStack) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.TossEvent
 
+
TRADER - Static variable in class noppes.npcs.scripted.constants.RoleType
+
 
+
TRANSPORTER - Static variable in class noppes.npcs.scripted.constants.RoleType
+
 
type - Variable in class noppes.npcs.scripted.event.ItemEvent.AttackEvent
 
type - Variable in class noppes.npcs.scripted.event.ItemEvent.InteractEvent
 
type - Variable in class noppes.npcs.scripted.event.NpcEvent.DiedEvent
 
-
type - Variable in class noppes.npcs.scripted.event.PlayerEvent.AttackEvent
-
 
type - Variable in class noppes.npcs.scripted.event.PlayerEvent.DiedEvent
 
type - Variable in class noppes.npcs.scripted.event.PlayerEvent.InteractEvent
diff --git a/docs/index-files/index-21.html b/docs/index-files/index-21.html index de20eabae..8e6372d33 100644 --- a/docs/index-files/index-21.html +++ b/docs/index-files/index-21.html @@ -2,9 +2,9 @@ - + U-Index - + @@ -75,6 +75,14 @@
UnfocusedEvent(IPlayer, ICustomGui, int) - Constructor for class noppes.npcs.scripted.event.CustomGuiEvent.UnfocusedEvent
 
+
UNKNOWN - Static variable in class noppes.npcs.scripted.constants.EntityType
+
 
+
UNKNOWN - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
+
UNKNOWN - Static variable in class noppes.npcs.scripted.constants.RoleType
+
 
+
unreadDialog(IDialog) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
unreadDialog(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
unreadDialog(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerDialogData
diff --git a/docs/index-files/index-22.html b/docs/index-files/index-22.html index 79e95f6ab..77cf0a626 100644 --- a/docs/index-files/index-22.html +++ b/docs/index-files/index-22.html @@ -2,9 +2,9 @@ - + V-Index - + diff --git a/docs/index-files/index-23.html b/docs/index-files/index-23.html index 48ff366c4..6a5fcf6af 100644 --- a/docs/index-files/index-23.html +++ b/docs/index-files/index-23.html @@ -2,9 +2,9 @@ - + W-Index - + diff --git a/docs/index-files/index-24.html b/docs/index-files/index-24.html index 63da59c51..5e3c8a94f 100644 --- a/docs/index-files/index-24.html +++ b/docs/index-files/index-24.html @@ -2,9 +2,9 @@ - + X-Index - + diff --git a/docs/index-files/index-25.html b/docs/index-files/index-25.html index 95f3bd128..58848913e 100644 --- a/docs/index-files/index-25.html +++ b/docs/index-files/index-25.html @@ -2,9 +2,9 @@ - + Y-Index - + diff --git a/docs/index-files/index-26.html b/docs/index-files/index-26.html index 684ba8f53..c40e8ecc9 100644 --- a/docs/index-files/index-26.html +++ b/docs/index-files/index-26.html @@ -2,9 +2,9 @@ - + Z-Index - + diff --git a/docs/index-files/index-3.html b/docs/index-files/index-3.html index 73dfc7e51..b2ef846dd 100644 --- a/docs/index-files/index-3.html +++ b/docs/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -81,6 +81,10 @@
 
canBlockSeeTheSky(int, int, int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
 
+
canCollide(double) - Method in interface noppes.npcs.scripted.interfaces.IBlock
+
 
+
canCollide() - Method in interface noppes.npcs.scripted.interfaces.IBlock
+
 
canFly() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
canHarvestBlock(IBlock) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
@@ -177,6 +181,14 @@
 
ContainerOpen(IPlayer, IContainer) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.ContainerOpen
 
+
continueSounds() - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
+
 
+
continueSounds() - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
+
continueSounds() - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
CONVERSATION - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
count(IItemStack, boolean, boolean) - Method in interface noppes.npcs.scripted.interfaces.IContainer
 
countEntities(IEntity) - Method in interface noppes.npcs.scripted.interfaces.IWorld
@@ -213,6 +225,8 @@
 
createSkinOverlay(String) - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
 
+
createSound(String) - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
+
 
createSpawn() - Method in interface noppes.npcs.scripted.interfaces.handler.INaturalSpawnsHandler
 
current - Variable in class noppes.npcs.scripted.event.PlayerEvent.FillBucket
diff --git a/docs/index-files/index-4.html b/docs/index-files/index-4.html index fa9225eef..ef715d1f1 100644 --- a/docs/index-files/index-4.html +++ b/docs/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + @@ -79,6 +79,10 @@
 
damage - Variable in class noppes.npcs.scripted.event.NpcEvent.RangedLaunchedEvent
 
+
damage - Variable in class noppes.npcs.scripted.event.PlayerEvent.AttackedEvent
+
 
+
damage - Variable in class noppes.npcs.scripted.event.PlayerEvent.AttackEvent
+
 
damage - Variable in class noppes.npcs.scripted.event.PlayerEvent.DamagedEntityEvent
 
damage - Variable in class noppes.npcs.scripted.event.PlayerEvent.DamagedEvent
@@ -95,12 +99,18 @@
 
damageSource - Variable in class noppes.npcs.scripted.event.NpcEvent.DiedEvent
 
+
damageSource - Variable in class noppes.npcs.scripted.event.PlayerEvent.AttackedEvent
+
 
+
damageSource - Variable in class noppes.npcs.scripted.event.PlayerEvent.AttackEvent
+
 
damageSource - Variable in class noppes.npcs.scripted.event.PlayerEvent.DamagedEntityEvent
 
damageSource - Variable in class noppes.npcs.scripted.event.PlayerEvent.DamagedEvent
 
damageSource - Variable in class noppes.npcs.scripted.event.PlayerEvent.DiedEvent
 
+
DANCING - Static variable in class noppes.npcs.scripted.constants.AnimationType
+
 
decrease - Variable in class noppes.npcs.scripted.event.FactionEvent.FactionPoints
 
delete() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IRecipe
diff --git a/docs/index-files/index-5.html b/docs/index-files/index-5.html index 5f98f8baf..a626e4b2d 100644 --- a/docs/index-files/index-5.html +++ b/docs/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + @@ -113,6 +113,10 @@
 
EntityEvent(EntityEvent, IEntity) - Constructor for class noppes.npcs.scripted.event.ForgeEvent.EntityEvent
 
+
EntityType - Class in noppes.npcs.scripted.constants
+
 
+
EntityType() - Constructor for class noppes.npcs.scripted.constants.EntityType
+
 
event - Variable in class noppes.npcs.scripted.event.ForgeEvent
 
events() - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
diff --git a/docs/index-files/index-6.html b/docs/index-files/index-6.html index cb0efaf81..ee9b8e1d9 100644 --- a/docs/index-files/index-6.html +++ b/docs/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + @@ -87,16 +87,22 @@
 
FillBucket(IPlayer, ItemStack, ItemStack) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.FillBucket
 
-
finishQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
finishQuest(IQuest) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
Add the quest from finished quest list
+
finishQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
finishQuest(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerQuestData
 
FinishUsingItem(IItemCustom, IPlayer, int) - Constructor for class noppes.npcs.scripted.event.ItemEvent.FinishUsingItem
 
FinishUsingItem(IPlayer, ItemStack, int) - Constructor for class noppes.npcs.scripted.event.PlayerEvent.FinishUsingItem
 
+
FOLLOWER - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
+
FOLLOWER - Static variable in class noppes.npcs.scripted.constants.RoleType
+
 
forceStart(int, int, boolean) - Method in interface noppes.npcs.scripted.interfaces.ITimers
Adds a timer to the NPC or player with the given attributes.
diff --git a/docs/index-files/index-7.html b/docs/index-files/index-7.html index 36c90abb8..7fa3b379a 100644 --- a/docs/index-files/index-7.html +++ b/docs/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -351,8 +351,14 @@
 
getEnemyFactions() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IFaction
 
+
getEntitiesNear(IPos, double) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
+
getEntitiesNear(double, double, double, double) - Method in interface noppes.npcs.scripted.interfaces.IWorld
+
 
getEntity(IWorld, int) - Method in interface noppes.npcs.scripted.interfaces.handler.data.INaturalSpawn
 
+
getEntity() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
getEntityByID(int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
 
getEntityId() - Method in interface noppes.npcs.scripted.interfaces.entity.IEntity
@@ -639,7 +645,18 @@
 
getLong(String) - Method in interface noppes.npcs.scripted.interfaces.INbt
 
-
getLookingAtBlock(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
getLookingAtBlock(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLivingBase
+
 
+
getLookingAtEntities(int, double, double, boolean, boolean, boolean) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLivingBase
+
 
+
getLookingAtEntities(int, double, double) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLivingBase
+
 
+
getLookingAtPos(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLivingBase
+
+
Returns an IPos object corresponding to the final obstructed point following along the + entity's look vector.
+
+
getLookVector() - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLivingBase
 
getLootChance(int) - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
@@ -673,10 +690,6 @@
 
getMCBlock() - Method in interface noppes.npcs.scripted.interfaces.IBlock
 
-
getMCBlockPos() - Method in interface noppes.npcs.scripted.interfaces.IPos
-
 
-
getMCBlockPos(int, int, int) - Method in interface noppes.npcs.scripted.interfaces.IWorld
-
 
getMCContainer() - Method in interface noppes.npcs.scripted.interfaces.IContainer
 
getMCDamageSource() - Method in interface noppes.npcs.scripted.interfaces.IDamageSource
@@ -795,6 +808,8 @@
 
getNickname() - Method in interface noppes.npcs.scripted.interfaces.entity.IPixelmon
 
+
getNoClip() - Method in interface noppes.npcs.scripted.interfaces.IParticle
+
 
getNpc() - Method in interface noppes.npcs.scripted.interfaces.jobs.IJob
 
getNpcName() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IQuest
@@ -849,6 +864,8 @@
 
getPitch() - Method in interface noppes.npcs.scripted.interfaces.entity.IEntity
 
+
getPitch() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
getPixelmonData() - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
Requires pixelmon to be installed
@@ -865,6 +882,8 @@
 
getPlayerInvY() - Method in interface noppes.npcs.scripted.interfaces.gui.ICustomGui
 
+
getPlayerNames() - Method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
+
 
getPlayerNames() - Method in interface noppes.npcs.scripted.interfaces.IWorld
 
getPoints(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerFactionData
@@ -919,7 +938,7 @@
getRangedBurst() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
-
getRangedRage() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
+
getRangedRange() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
getRangedSpeed() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
@@ -935,6 +954,8 @@
 
getRelease() - Method in interface noppes.npcs.scripted.interfaces.entity.IDBCPlayer
 
+
getRepeatDelay() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
getRespawnCycle() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
getRespawnTime() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
@@ -1295,6 +1316,8 @@
 
getVisibleType() - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
+
getVolume() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
getWeight() - Method in interface noppes.npcs.scripted.interfaces.handler.data.INaturalSpawn
 
getWidth() - Method in interface noppes.npcs.scripted.interfaces.entity.IEntity
@@ -1333,6 +1356,8 @@
 
getX() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialogImage
 
+
getX() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
getX() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ITransportLocation
 
getX() - Method in interface noppes.npcs.scripted.interfaces.IBlock
@@ -1353,6 +1378,8 @@
 
getY() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IDialogImage
 
+
getY() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
getY() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ITransportLocation
 
getY() - Method in interface noppes.npcs.scripted.interfaces.IBlock
@@ -1373,6 +1400,8 @@
 
getZ() - Method in interface noppes.npcs.scripted.interfaces.entity.IEntity
 
+
getZ() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ISound
+
 
getZ() - Method in interface noppes.npcs.scripted.interfaces.handler.data.ITransportLocation
 
getZ() - Method in interface noppes.npcs.scripted.interfaces.IBlock
@@ -1389,6 +1418,8 @@
 
giveItems(IPlayer) - Method in interface noppes.npcs.scripted.interfaces.jobs.IJobItemGiver
 
+
GUARD - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
gui - Variable in class noppes.npcs.scripted.event.CustomGuiEvent
 
diff --git a/docs/index-files/index-8.html b/docs/index-files/index-8.html index 3bb986e34..631fbb15a 100644 --- a/docs/index-files/index-8.html +++ b/docs/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + @@ -81,6 +81,8 @@
 
hasAchievement(String) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
+
hasActiveQuest(IQuest) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
hasActiveQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
hasActiveQuest(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerQuestData
@@ -97,6 +99,8 @@
 
hasEnchant(int) - Method in interface noppes.npcs.scripted.interfaces.item.IItemStack
 
+
hasFinishedQuest(IQuest) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
hasFinishedQuest(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
hasFinishedQuest(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerQuestData
@@ -121,6 +125,8 @@
 
hasQuest() - Method in interface noppes.npcs.scripted.interfaces.handler.data.IPlayerMail
 
+
hasReadDialog(IDialog) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
hasReadDialog(int) - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
 
hasReadDialog(int) - Method in interface noppes.npcs.scripted.interfaces.handler.IPlayerDialogData
@@ -145,10 +151,14 @@
 
heal(IEntityLivingBase, float) - Method in interface noppes.npcs.scripted.interfaces.jobs.IJobHealer
 
+
HEALER - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
hideKilledBody(boolean) - Method in interface noppes.npcs.scripted.interfaces.entity.ICustomNpc
 
hoe - Variable in class noppes.npcs.scripted.event.PlayerEvent.UseHoe
 
+
HUGGING - Static variable in class noppes.npcs.scripted.constants.AnimationType
+
 
hurt(float) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLivingBase
 
hurt(float, IEntity) - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLivingBase
diff --git a/docs/index-files/index-9.html b/docs/index-files/index-9.html index 83cc42b4a..b275c23f0 100644 --- a/docs/index-files/index-9.html +++ b/docs/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + @@ -281,6 +281,8 @@
 
isAltPressed - Variable in class noppes.npcs.scripted.event.PlayerEvent.KeyPressedEvent
 
+
isAltPressed - Variable in class noppes.npcs.scripted.event.PlayerEvent.MouseClickedEvent
+
 
isAttacking() - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLivingBase
 
IsAvailable() - Static method in class noppes.npcs.scripted.interfaces.AbstractNpcAPI
@@ -319,6 +321,8 @@
 
isCtrlPressed - Variable in class noppes.npcs.scripted.event.PlayerEvent.KeyPressedEvent
 
+
isCtrlPressed - Variable in class noppes.npcs.scripted.event.PlayerEvent.MouseClickedEvent
+
 
isCustomGUI() - Method in interface noppes.npcs.scripted.interfaces.IContainer
 
isDay() - Method in interface noppes.npcs.scripted.interfaces.IWorld
@@ -347,10 +351,14 @@
isMetaPressed - Variable in class noppes.npcs.scripted.event.PlayerEvent.KeyPressedEvent
 
+
isMetaPressed - Variable in class noppes.npcs.scripted.event.PlayerEvent.MouseClickedEvent
+
 
isMultiSelect() - Method in interface noppes.npcs.scripted.interfaces.gui.IScroll
 
isNavigating() - Method in interface noppes.npcs.scripted.interfaces.entity.IEntityLiving
 
+
ISound - Interface in noppes.npcs.scripted.interfaces.handler.data
+
 
isPlayerNotUsingContainer(IPlayer) - Method in interface noppes.npcs.scripted.interfaces.IContainer
 
isProjectile() - Method in interface noppes.npcs.scripted.interfaces.IDamageSource
@@ -361,8 +369,12 @@
 
isRange() - Method in class noppes.npcs.scripted.event.NpcEvent.RangedLaunchedEvent
 
+
isScriptingDev() - Method in interface noppes.npcs.scripted.interfaces.entity.IPlayer
+
 
isShiftPressed - Variable in class noppes.npcs.scripted.event.PlayerEvent.KeyPressedEvent
 
+
isShiftPressed - Variable in class noppes.npcs.scripted.event.PlayerEvent.MouseClickedEvent
+
 
isSlotEnabled(int) - Method in interface noppes.npcs.scripted.interfaces.roles.IRoleTrader
 
isSlotEnabled(int, IPlayer) - Method in interface noppes.npcs.scripted.interfaces.roles.IRoleTrader
@@ -421,6 +433,8 @@
 
ItemEvent.UsingItem - Class in noppes.npcs.scripted.event
 
+
ITEMGIVER - Static variable in class noppes.npcs.scripted.constants.JobType
+
 
itemRewards - Variable in class noppes.npcs.scripted.event.QuestEvent.QuestTurnedInEvent
 
items - Variable in class noppes.npcs.scripted.event.PlayerEvent.DropEvent
diff --git a/docs/index.html b/docs/index.html index 89b5fe82e..b544f5a69 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) + + + + + +
+ + + + + + + +
+ + + +
+
noppes.npcs.scripted.constants
+

Class AnimationType

+
+
+ +
+
    +
  • +
    +
    +
    public class AnimationType
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static intDANCING 
      static intHUGGING 
      static intLYING 
      static intNORMAL 
      static intSITTING 
      static intSNEAKING 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AnimationType() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/noppes/npcs/scripted/constants/EntityType.html b/docs/noppes/npcs/scripted/constants/EntityType.html new file mode 100644 index 000000000..3c6a632ea --- /dev/null +++ b/docs/noppes/npcs/scripted/constants/EntityType.html @@ -0,0 +1,360 @@ + + + + + +EntityType + + + + + + + + +
+ + + + + + + +
+ + + +
+
noppes.npcs.scripted.constants
+

Class EntityType

+
+
+ +
+
    +
  • +
    +
    +
    public class EntityType
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static intANIMAL 
      static intLIVING 
      static intMONSTER 
      static intNPC 
      static intPLAYER 
      static intUNKNOWN 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      EntityType() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/noppes/npcs/scripted/constants/JobType.html b/docs/noppes/npcs/scripted/constants/JobType.html new file mode 100644 index 000000000..4baf563d8 --- /dev/null +++ b/docs/noppes/npcs/scripted/constants/JobType.html @@ -0,0 +1,411 @@ + + + + + +JobType + + + + + + + + +
+ + + + + + + +
+ + + +
+
noppes.npcs.scripted.constants
+

Class JobType

+
+
+ +
+
    +
  • +
    +
    +
    public class JobType
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      JobType() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/noppes/npcs/scripted/constants/RoleType.html b/docs/noppes/npcs/scripted/constants/RoleType.html new file mode 100644 index 000000000..f038f524b --- /dev/null +++ b/docs/noppes/npcs/scripted/constants/RoleType.html @@ -0,0 +1,360 @@ + + + + + +RoleType + + + + + + + + +
+ + + + + + + +
+ + + +
+
noppes.npcs.scripted.constants
+

Class RoleType

+
+
+ +
+
    +
  • +
    +
    +
    public class RoleType
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static intBANK 
      static intFOLLOWER 
      static intMAILMAN 
      static intTRADER 
      static intTRANSPORTER 
      static intUNKNOWN 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RoleType() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/noppes/npcs/scripted/constants/package-frame.html b/docs/noppes/npcs/scripted/constants/package-frame.html new file mode 100644 index 000000000..633519e21 --- /dev/null +++ b/docs/noppes/npcs/scripted/constants/package-frame.html @@ -0,0 +1,23 @@ + + + + + +noppes.npcs.scripted.constants + + + + + +

noppes.npcs.scripted.constants

+
+

Classes

+ +
+ + diff --git a/docs/noppes/npcs/scripted/entity/package-summary.html b/docs/noppes/npcs/scripted/constants/package-summary.html similarity index 58% rename from docs/noppes/npcs/scripted/entity/package-summary.html rename to docs/noppes/npcs/scripted/constants/package-summary.html index df99dd2f2..7bc1c4f60 100644 --- a/docs/noppes/npcs/scripted/entity/package-summary.html +++ b/docs/noppes/npcs/scripted/constants/package-summary.html @@ -2,9 +2,9 @@ - -noppes.npcs.scripted.entity - + +noppes.npcs.scripted.constants + @@ -12,7 +12,7 @@ + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package noppes.npcs.scripted.constants

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/noppes/npcs/scripted/entity/ScriptAnimal.html b/docs/noppes/npcs/scripted/entity/ScriptAnimal.html deleted file mode 100644 index e38e1debf..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptAnimal.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - - -ScriptAnimal - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptAnimal<T extends net.minecraft.entity.passive.EntityAnimal>

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptAnimal

        -
        public ScriptAnimal(T entity)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getType

        -
        public int getType()
        -
        -
        Specified by:
        -
        getType in interface IEntity
        -
        Specified by:
        -
        getType in interface IEntityLivingBase
        -
        Overrides:
        -
        getType in class ScriptLivingBase<T extends net.minecraft.entity.passive.EntityAnimal>
        -
        Returns:
        -
        Returns the EntityType of this entity
        -
        See Also:
        -
        EntityType
        -
        -
      • -
      - - - -
        -
      • -

        typeOf

        -
        public boolean typeOf(int type)
        -
        -
        Specified by:
        -
        typeOf in interface IEntity
        -
        Specified by:
        -
        typeOf in interface IEntityLivingBase
        -
        Overrides:
        -
        typeOf in class ScriptLivingBase<T extends net.minecraft.entity.passive.EntityAnimal>
        -
        Parameters:
        -
        type - @EntityType to check
        -
        Returns:
        -
        Returns whether the entity is type of the given @EntityType
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/ScriptDBCPlayer.html b/docs/noppes/npcs/scripted/entity/ScriptDBCPlayer.html deleted file mode 100644 index bfbc4cccf..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptDBCPlayer.html +++ /dev/null @@ -1,1312 +0,0 @@ - - - - - -ScriptDBCPlayer - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptDBCPlayer<T extends net.minecraft.entity.player.EntityPlayerMP>

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        player

        -
        public T extends net.minecraft.entity.player.EntityPlayerMP player
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptDBCPlayer

        -
        public ScriptDBCPlayer(T player)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setStat

        -
        public void setStat(java.lang.String stat,
        -                    int value)
        -
        -
        Specified by:
        -
        setStat in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getStat

        -
        public int getStat(java.lang.String stat)
        -
        -
        Specified by:
        -
        getStat in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        addBonusAttribute

        -
        public void addBonusAttribute(java.lang.String stat,
        -                              java.lang.String bonusID,
        -                              java.lang.String operation,
        -                              double attributeValue)
        -
        -
        Specified by:
        -
        addBonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        addBonusAttribute

        -
        public void addBonusAttribute(java.lang.String stat,
        -                              java.lang.String bonusID,
        -                              java.lang.String operation,
        -                              double attributeValue,
        -                              boolean endOfTheList)
        -
        -
        Specified by:
        -
        addBonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        addToBonusAttribute

        -
        public void addToBonusAttribute(java.lang.String stat,
        -                                java.lang.String bonusID,
        -                                java.lang.String operation,
        -                                double attributeValue)
        -
        -
        Specified by:
        -
        addToBonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setBonusAttribute

        -
        public void setBonusAttribute(java.lang.String stat,
        -                              java.lang.String bonusID,
        -                              java.lang.String operation,
        -                              double attributeValue)
        -
        -
        Specified by:
        -
        setBonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getBonusAttribute

        -
        public void getBonusAttribute(java.lang.String stat,
        -                              java.lang.String bonusID)
        -
        -
        Specified by:
        -
        getBonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        removeBonusAttribute

        -
        public void removeBonusAttribute(java.lang.String stat,
        -                                 java.lang.String bonusID)
        -
        -
        Specified by:
        -
        removeBonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        clearBonusAttribute

        -
        public void clearBonusAttribute(java.lang.String stat)
        -
        -
        Specified by:
        -
        clearBonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        bonusAttribute

        -
        public java.lang.String bonusAttribute(java.lang.String action,
        -                                       java.lang.String stat,
        -                                       java.lang.String bonusID)
        -
        -
        Specified by:
        -
        bonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        bonusAttribute

        -
        public java.lang.String bonusAttribute(java.lang.String action,
        -                                       java.lang.String stat,
        -                                       java.lang.String bonusID,
        -                                       java.lang.String operation,
        -                                       double attributeValue,
        -                                       boolean endOfTheList)
        -
        -
        Specified by:
        -
        bonusAttribute in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setRelease

        -
        public void setRelease(byte release)
        -
        -
        Specified by:
        -
        setRelease in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getRelease

        -
        public byte getRelease()
        -
        -
        Specified by:
        -
        getRelease in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public void setBody(int body)
        -
        -
        Specified by:
        -
        setBody in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getBody

        -
        public int getBody()
        -
        -
        Specified by:
        -
        getBody in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setStamina

        -
        public void setStamina(int stamina)
        -
        -
        Specified by:
        -
        setStamina in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getStamina

        -
        public int getStamina()
        -
        -
        Specified by:
        -
        getStamina in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setKi

        -
        public void setKi(int ki)
        -
        -
        Specified by:
        -
        setKi in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getKi

        -
        public int getKi()
        -
        -
        Specified by:
        -
        getKi in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setTP

        -
        public void setTP(int tp)
        -
        -
        Specified by:
        -
        setTP in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getTP

        -
        public int getTP()
        -
        -
        Specified by:
        -
        getTP in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setGravity

        -
        public void setGravity(float gravity)
        -
        -
        Specified by:
        -
        setGravity in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getGravity

        -
        public float getGravity()
        -
        -
        Specified by:
        -
        getGravity in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        isBlocking

        -
        public boolean isBlocking()
        -
        -
        Specified by:
        -
        isBlocking in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setHairCode

        -
        public void setHairCode(java.lang.String hairCode)
        -
        -
        Specified by:
        -
        setHairCode in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getHairCode

        -
        public java.lang.String getHairCode()
        -
        -
        Specified by:
        -
        getHairCode in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setExtraCode

        -
        public void setExtraCode(java.lang.String extraCode)
        -
        -
        Specified by:
        -
        setExtraCode in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getExtraCode

        -
        public java.lang.String getExtraCode()
        -
        -
        Specified by:
        -
        getExtraCode in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setItem

        -
        public void setItem(IItemStack itemStack,
        -                    byte slot,
        -                    boolean vanity)
        -
        -
        Specified by:
        -
        setItem in interface IDBCPlayer
        -
        Parameters:
        -
        itemStack - The item stack to be set into the slot. Set to null to remove the stack in that slot.
        -
        slot - The DBC extra inventory slot the item stack parameter will go into: - 0 - Weight - 1 - Body - 2 - Head - 3 - 4th Vanity Slot Down to the left - 4 - 3rd Vanity Slot Down to the left - 5 - 2nd Vanity Slot Down to the left - 6 - 1st Vanity Slot Down to the left - 7 - 4th Vanity Slot Down to the right - 8 - 3rd Vanity Slot Down to the right - 9 - 2nd Vanity Slot Down to the right - 10 - 1st Vanity Slot Down to the right
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        setForm

        -
        public void setForm(byte form)
        -
        -
        Specified by:
        -
        setForm in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getForm

        -
        public byte getForm()
        -
        -
        Specified by:
        -
        getForm in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setForm2

        -
        public void setForm2(byte form2)
        -
        -
        Specified by:
        -
        setForm2 in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getForm2

        -
        public byte getForm2()
        -
        -
        Specified by:
        -
        getForm2 in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setPowerPoints

        -
        public void setPowerPoints(int points)
        -
        -
        Specified by:
        -
        setPowerPoints in interface IDBCPlayer
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setAuraColor

        -
        public void setAuraColor(int color)
        -
        -
        Specified by:
        -
        setAuraColor in interface IDBCPlayer
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setFormLevel

        -
        public void setFormLevel(int level)
        -
        -
        Specified by:
        -
        setFormLevel in interface IDBCPlayer
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setSkills

        -
        public void setSkills(java.lang.String skills)
        -
        -
        Specified by:
        -
        setSkills in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getSkills

        -
        public java.lang.String getSkills()
        -
        -
        Specified by:
        -
        getSkills in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setJRMCSE

        -
        public void setJRMCSE(java.lang.String statusEffects)
        -
        -
        Specified by:
        -
        setJRMCSE in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getJRMCSE

        -
        public java.lang.String getJRMCSE()
        -
        -
        Specified by:
        -
        getJRMCSE in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getDBCClass

        -
        public byte getDBCClass()
        -
        -
        Specified by:
        -
        getDBCClass in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setDBCClass

        -
        public void setDBCClass(byte dbcClass)
        -
        -
        Specified by:
        -
        setDBCClass in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getRace

        -
        public int getRace()
        -
        -
        Specified by:
        -
        getRace in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setRace

        -
        public void setRace(byte race)
        -
        -
        Specified by:
        -
        setRace in interface IDBCPlayer
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setPowerType

        -
        public void setPowerType(byte powerType)
        -
        -
        Specified by:
        -
        setPowerType in interface IDBCPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getKillCount

        -
        public int getKillCount(java.lang.String type)
        -
        -
        Specified by:
        -
        getKillCount in interface IDBCPlayer
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/ScriptEntity.html b/docs/noppes/npcs/scripted/entity/ScriptEntity.html deleted file mode 100644 index 98c938177..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptEntity.html +++ /dev/null @@ -1,2039 +0,0 @@ - - - - - -ScriptEntity - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptEntity<T extends net.minecraft.entity.Entity>

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    IEntity
    -
    -
    -
    Direct Known Subclasses:
    -
    ScriptLivingBase
    -
    -
    -
    -
    public class ScriptEntity<T extends net.minecraft.entity.Entity>
    -extends java.lang.Object
    -implements IEntity
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ScriptEntity(T entity) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethod and Description
      voidclearStoredData() -
      Remove all stored data
      -
      voidclearTempData() -
      Remove all tempdata
      -
      voiddespawn() -
      Despawns this entity.
      -
      voiddropItem(IItemStack item) 
      voidextinguish() -
      Removes fire from this entity
      -
      longgetAge() 
      INbtgetAllNbt() 
      intgetBlockX() 
      intgetBlockY() 
      intgetBlockZ() 
      intgetDimension() 
      intgetEntityId() 
      doublegetHeight() 
      TgetMCEntity() 
      doublegetMotionX() 
      doublegetMotionY() 
      doublegetMotionZ() 
      IEntitygetMount() 
      INbtgetNbt() 
      floatgetPitch() 
      IPosgetPos() 
      IEntitygetRider() 
      floatgetRotation() 
      java.lang.ObjectgetStoredData(java.lang.String key) 
      IEntity[]getSurroundingEntities(int range) 
      IEntity[]getSurroundingEntities(int range, - int type) 
      java.lang.ObjectgetTempData(java.lang.String key) 
      intgetType() 
      java.lang.StringgetTypeName() 
      java.lang.StringgetUniqueID() 
      doublegetWidth() 
      IWorldgetWorld() 
      doublegetX() 
      doublegetY() 
      doublegetYOffset() 
      doublegetZ() 
      booleanhasCollided() 
      booleanhasStoredData(java.lang.String key) 
      booleanhasTempData(java.lang.String key) 
      booleaninFire() 
      booleaninLava() 
      booleaninWater() 
      booleanisAirborne() 
      booleanisAlive() 
      booleanisBurning() 
      booleanisSneaking() 
      booleanisSprinting() 
      voidknockback(int power, - float direction) 
      voidknockback(int xpower, - int ypower, - int zpower, - float direction) 
      voidplaySound(java.lang.String name, - float volume, - float pitch) 
      voidremoveStoredData(java.lang.String key) 
      voidremoveTempData(java.lang.String key) 
      voidsetBurning(int ticks) 
      voidsetImmune(int ticks) 
      voidsetInvisible(boolean invisible) 
      voidsetMotion(double x, - double y, - double z) 
      voidsetMotionX(double x) 
      voidsetMotionY(double y) 
      voidsetMotionZ(double z) 
      voidsetMount(IEntity entity) 
      voidsetNbt(INbt nbt) 
      voidsetPitch(float pitch) 
      voidsetPos(IPos pos) 
      voidsetPosition(double x, - double y, - double z) 
      voidsetRider(IEntity entity) 
      voidsetRotation(float rotation) 
      voidsetSneaking(boolean sneaking) 
      voidsetSprinting(boolean sprinting) 
      voidsetStoredData(java.lang.String key, - int[] array) 
      voidsetStoredData(java.lang.String key, - java.lang.Object value) -
      Stored data persists through world restart.
      -
      voidsetTempData(java.lang.String key, - java.lang.Object value) -
      Tempdata gets cleared when the entity gets unloaded or the world restarts
      -
      voidsetX(double x) 
      voidsetY(double y) 
      voidsetZ(double z) 
      voidspawnParticle(IParticle entityParticle) 
      voidspawnParticle(java.lang.String directory, - int HEXcolor, - int amount, - int maxAge) -
      Deprecated. 
      -
      voidspawnParticle(java.lang.String directory, - int HEXcolor, - int amount, - int maxAge, - double x, - double y, - double z) -
      Deprecated. 
      -
      voidspawnParticle(java.lang.String directory, - int HEXcolor, - int amount, - int maxAge, - double x, - double y, - double z, - double motionX, - double motionY, - double motionZ, - float gravity) -
      Deprecated. 
      -
      voidspawnParticle(java.lang.String directory, - int HEXcolor, - int amount, - int maxAge, - double x, - double y, - double z, - double motionX, - double motionY, - double motionZ, - float gravity, - float scale1, - float scale2, - float scaleRate, - int scaleRateStart) -
      Deprecated. 
      -
      voidspawnParticle(java.lang.String directory, - int HEXcolor, - int amount, - int maxAge, - double x, - double y, - double z, - double motionX, - double motionY, - double motionZ, - float gravity, - float scale1, - float scale2, - float scaleRate, - int scaleRateStart, - float alpha1, - float alpha2, - float alphaRate, - int alphaRateStart) -
      Deprecated. 
      -
      voidspawnParticle(java.lang.String directory, - int HEXcolor, - int amount, - int maxAge, - double x, - double y, - double z, - double motionX, - double motionY, - double motionZ, - float gravity, - float scale1, - float scale2, - float scaleRate, - int scaleRateStart, - float alpha1, - float alpha2, - float alphaRate, - int alphaRateStart, - float rotation1, - float rotation2, - float rotationRate, - int rotationRateStart, - float rotationX1, - float rotationX2, - float rotationXRate, - int rotationXRateStart, - float rotationY1, - float rotationY2, - float rotationYRate, - int rotationYRateStart, - float rotationZ1, - float rotationZ2, - float rotationZRate, - int rotationZRateStart) -
      Deprecated. 
      -
      voidstoreAsClone(int tab, - java.lang.String name) 
      booleantypeOf(int type) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptEntity

        -
        public ScriptEntity(T entity)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        spawnParticle

        -
        @Deprecated
        -public void spawnParticle(java.lang.String directory,
        -                                       int HEXcolor,
        -                                       int amount,
        -                                       int maxAge,
        -                                       double x,
        -                                       double y,
        -                                       double z,
        -                                       double motionX,
        -                                       double motionY,
        -                                       double motionZ,
        -                                       float gravity,
        -                                       float scale1,
        -                                       float scale2,
        -                                       float scaleRate,
        -                                       int scaleRateStart,
        -                                       float alpha1,
        -                                       float alpha2,
        -                                       float alphaRate,
        -                                       int alphaRateStart,
        -                                       float rotation1,
        -                                       float rotation2,
        -                                       float rotationRate,
        -                                       int rotationRateStart,
        -                                       float rotationX1,
        -                                       float rotationX2,
        -                                       float rotationXRate,
        -                                       int rotationXRateStart,
        -                                       float rotationY1,
        -                                       float rotationY2,
        -                                       float rotationYRate,
        -                                       int rotationYRateStart,
        -                                       float rotationZ1,
        -                                       float rotationZ2,
        -                                       float rotationZRate,
        -                                       int rotationZRateStart)
        -
        Deprecated. 
        -
        -
        Parameters:
        -
        directory - The particle's directory. Use only forward slashes when writing a directory. Example: "customnpcs:textures/particle/tail.png"
        -
        HEXcolor - The particle's color as a HEX integer
        -
        amount - The amount of particles to spawn
        -
        maxAge - The particle's maximum age in MC ticks
        -
        x - The particle's x position
        -
        y - The particle's y position
        -
        z - The particle's z position
        -
        motionX - The particle's speed in the x axis
        -
        motionY - The particle's speed in the y axis
        -
        motionZ - The particle's speed in the z axis
        -
        gravity - The particle's gravity
        -
        scale1 - The particle's starting scale
        -
        scale2 - The particle's ending scale
        -
        scaleRate - Multiplier for the particle's scale growth rate
        -
        scaleRateStart - The time at which the particle begins growing/shrinking
        -
        alpha1 - The particle's starting transparency
        -
        alpha2 - The particle's ending transparency
        -
        scaleRate - Multiplier for the particle's transparency growth rate
        -
        alphaRateStart - The time at which the particle begins appearing/fading
        -
        -
      • -
      - - - -
        -
      • -

        spawnParticle

        -
        @Deprecated
        -public void spawnParticle(java.lang.String directory,
        -                                       int HEXcolor,
        -                                       int amount,
        -                                       int maxAge,
        -                                       double x,
        -                                       double y,
        -                                       double z,
        -                                       double motionX,
        -                                       double motionY,
        -                                       double motionZ,
        -                                       float gravity,
        -                                       float scale1,
        -                                       float scale2,
        -                                       float scaleRate,
        -                                       int scaleRateStart,
        -                                       float alpha1,
        -                                       float alpha2,
        -                                       float alphaRate,
        -                                       int alphaRateStart)
        -
        Deprecated. 
        -
      • -
      - - - -
        -
      • -

        spawnParticle

        -
        @Deprecated
        -public void spawnParticle(java.lang.String directory,
        -                                       int HEXcolor,
        -                                       int amount,
        -                                       int maxAge,
        -                                       double x,
        -                                       double y,
        -                                       double z,
        -                                       double motionX,
        -                                       double motionY,
        -                                       double motionZ,
        -                                       float gravity,
        -                                       float scale1,
        -                                       float scale2,
        -                                       float scaleRate,
        -                                       int scaleRateStart)
        -
        Deprecated. 
        -
      • -
      - - - -
        -
      • -

        spawnParticle

        -
        @Deprecated
        -public void spawnParticle(java.lang.String directory,
        -                                       int HEXcolor,
        -                                       int amount,
        -                                       int maxAge,
        -                                       double x,
        -                                       double y,
        -                                       double z,
        -                                       double motionX,
        -                                       double motionY,
        -                                       double motionZ,
        -                                       float gravity)
        -
        Deprecated. 
        -
      • -
      - - - -
        -
      • -

        spawnParticle

        -
        @Deprecated
        -public void spawnParticle(java.lang.String directory,
        -                                       int HEXcolor,
        -                                       int amount,
        -                                       int maxAge,
        -                                       double x,
        -                                       double y,
        -                                       double z)
        -
        Deprecated. 
        -
      • -
      - - - -
        -
      • -

        spawnParticle

        -
        @Deprecated
        -public void spawnParticle(java.lang.String directory,
        -                                       int HEXcolor,
        -                                       int amount,
        -                                       int maxAge)
        -
        Deprecated. 
        -
      • -
      - - - - - - - -
        -
      • -

        getEntityId

        -
        public int getEntityId()
        -
        -
        Specified by:
        -
        getEntityId in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getUniqueID

        -
        public java.lang.String getUniqueID()
        -
        -
        Specified by:
        -
        getUniqueID in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getYOffset

        -
        public double getYOffset()
        -
        -
        Specified by:
        -
        getYOffset in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getWidth

        -
        public double getWidth()
        -
        -
        Specified by:
        -
        getWidth in interface IEntity
        -
        Returns:
        -
        The entities width
        -
        -
      • -
      - - - -
        -
      • -

        getHeight

        -
        public double getHeight()
        -
        -
        Specified by:
        -
        getHeight in interface IEntity
        -
        Returns:
        -
        The entities height
        -
        -
      • -
      - - - -
        -
      • -

        getX

        -
        public double getX()
        -
        -
        Specified by:
        -
        getX in interface IEntity
        -
        Returns:
        -
        The entities x position
        -
        -
      • -
      - - - -
        -
      • -

        setX

        -
        public void setX(double x)
        -
        -
        Specified by:
        -
        setX in interface IEntity
        -
        Parameters:
        -
        x - The entities x position
        -
        -
      • -
      - - - -
        -
      • -

        getY

        -
        public double getY()
        -
        -
        Specified by:
        -
        getY in interface IEntity
        -
        Returns:
        -
        The entities y position
        -
        -
      • -
      - - - -
        -
      • -

        setY

        -
        public void setY(double y)
        -
        -
        Specified by:
        -
        setY in interface IEntity
        -
        Parameters:
        -
        y - The entities y position
        -
        -
      • -
      - - - -
        -
      • -

        getZ

        -
        public double getZ()
        -
        -
        Specified by:
        -
        getZ in interface IEntity
        -
        Returns:
        -
        The entities x position
        -
        -
      • -
      - - - -
        -
      • -

        setZ

        -
        public void setZ(double z)
        -
        -
        Specified by:
        -
        setZ in interface IEntity
        -
        Parameters:
        -
        z - The entities x position
        -
        -
      • -
      - - - -
        -
      • -

        getMotionX

        -
        public double getMotionX()
        -
        -
        Specified by:
        -
        getMotionX in interface IEntity
        -
        Returns:
        -
        The entities z motion
        -
        -
      • -
      - - - -
        -
      • -

        setMotionX

        -
        public void setMotionX(double x)
        -
        -
        Specified by:
        -
        setMotionX in interface IEntity
        -
        Parameters:
        -
        x - The entities x motion
        -
        -
      • -
      - - - -
        -
      • -

        getMotionY

        -
        public double getMotionY()
        -
        -
        Specified by:
        -
        getMotionY in interface IEntity
        -
        Returns:
        -
        The entities x motion
        -
        -
      • -
      - - - -
        -
      • -

        setMotionY

        -
        public void setMotionY(double y)
        -
        -
        Specified by:
        -
        setMotionY in interface IEntity
        -
        Parameters:
        -
        y - The entities y motion
        -
        -
      • -
      - - - -
        -
      • -

        getMotionZ

        -
        public double getMotionZ()
        -
        -
        Specified by:
        -
        getMotionZ in interface IEntity
        -
        Returns:
        -
        The entities y motion
        -
        -
      • -
      - - - -
        -
      • -

        setMotionZ

        -
        public void setMotionZ(double z)
        -
        -
        Specified by:
        -
        setMotionZ in interface IEntity
        -
        Parameters:
        -
        z - The entities z motion
        -
        -
      • -
      - - - -
        -
      • -

        setMotion

        -
        public void setMotion(double x,
        -                      double y,
        -                      double z)
        -
        -
        Specified by:
        -
        setMotion in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        isAirborne

        -
        public boolean isAirborne()
        -
        -
        Specified by:
        -
        isAirborne in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getBlockX

        -
        public int getBlockX()
        -
        -
        Specified by:
        -
        getBlockX in interface IEntity
        -
        Returns:
        -
        The block x position
        -
        -
      • -
      - - - -
        -
      • -

        getBlockY

        -
        public int getBlockY()
        -
        -
        Specified by:
        -
        getBlockY in interface IEntity
        -
        Returns:
        -
        The block y position
        -
        -
      • -
      - - - -
        -
      • -

        getBlockZ

        -
        public int getBlockZ()
        -
        -
        Specified by:
        -
        getBlockZ in interface IEntity
        -
        Returns:
        -
        The block z position
        -
        -
      • -
      - - - -
        -
      • -

        setPosition

        -
        public void setPosition(double x,
        -                        double y,
        -                        double z)
        -
        -
        Specified by:
        -
        setPosition in interface IEntity
        -
        Parameters:
        -
        x - The x position
        -
        y - The y position
        -
        z - The z position
        -
        -
      • -
      - - - -
        -
      • -

        getPos

        -
        public IPos getPos()
        -
        -
        Specified by:
        -
        getPos in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        setPos

        -
        public void setPos(IPos pos)
        -
        -
        Specified by:
        -
        setPos in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getDimension

        -
        public int getDimension()
        -
        -
        Specified by:
        -
        getDimension in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getSurroundingEntities

        -
        public IEntity[] getSurroundingEntities(int range)
        -
        -
        Specified by:
        -
        getSurroundingEntities in interface IEntity
        -
        Parameters:
        -
        range - The search range for entities around this entity
        -
        Returns:
        -
        Array of entities within range
        -
        -
      • -
      - - - -
        -
      • -

        getSurroundingEntities

        -
        public IEntity[] getSurroundingEntities(int range,
        -                                        int type)
        -
        -
        Specified by:
        -
        getSurroundingEntities in interface IEntity
        -
        Parameters:
        -
        range - The search range for entities around this entity
        -
        type - The EntityType you want to find
        -
        Returns:
        -
        Array of entities within range
        -
        -
      • -
      - - - -
        -
      • -

        isAlive

        -
        public boolean isAlive()
        -
        -
        Specified by:
        -
        isAlive in interface IEntity
        -
        Returns:
        -
        Whether the entity is alive or not
        -
        -
      • -
      - - - -
        -
      • -

        getTempData

        -
        public java.lang.Object getTempData(java.lang.String key)
        -
        -
        Specified by:
        -
        getTempData in interface IEntity
        -
        Parameters:
        -
        key - Get temp data for this key
        -
        Returns:
        -
        Returns the stored temp data
        -
        -
      • -
      - - - -
        -
      • -

        setTempData

        -
        public void setTempData(java.lang.String key,
        -                        java.lang.Object value)
        -
        Tempdata gets cleared when the entity gets unloaded or the world restarts
        -
        -
        Specified by:
        -
        setTempData in interface IEntity
        -
        Parameters:
        -
        key - The key for the data stored
        -
        value - The data stored
        -
        -
      • -
      - - - -
        -
      • -

        hasTempData

        -
        public boolean hasTempData(java.lang.String key)
        -
        -
        Specified by:
        -
        hasTempData in interface IEntity
        -
        Parameters:
        -
        key - The key thats going to be tested against the temp data
        -
        Returns:
        -
        Whether or not temp data containes the key
        -
        -
      • -
      - - - -
        -
      • -

        removeTempData

        -
        public void removeTempData(java.lang.String key)
        -
        -
        Specified by:
        -
        removeTempData in interface IEntity
        -
        Parameters:
        -
        key - The key for the temp data to be removed
        -
        -
      • -
      - - - -
        -
      • -

        clearTempData

        -
        public void clearTempData()
        -
        Remove all tempdata
        -
        -
        Specified by:
        -
        clearTempData in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getStoredData

        -
        public java.lang.Object getStoredData(java.lang.String key)
        -
        -
        Specified by:
        -
        getStoredData in interface IEntity
        -
        Parameters:
        -
        key - The key of the data to be returned
        -
        Returns:
        -
        Returns the stored data
        -
        -
      • -
      - - - -
        -
      • -

        setStoredData

        -
        public void setStoredData(java.lang.String key,
        -                          java.lang.Object value)
        -
        Stored data persists through world restart. Unlike tempdata only Strings and Numbers can be saved
        -
        -
        Specified by:
        -
        setStoredData in interface IEntity
        -
        Parameters:
        -
        key - The key for the data stored
        -
        value - The data stored. This data can be either a Number or a String. Other data is not stored
        -
        -
      • -
      - - - -
        -
      • -

        setStoredData

        -
        public void setStoredData(java.lang.String key,
        -                          int[] array)
        -
      • -
      - - - -
        -
      • -

        hasStoredData

        -
        public boolean hasStoredData(java.lang.String key)
        -
        -
        Specified by:
        -
        hasStoredData in interface IEntity
        -
        Parameters:
        -
        key - The key of the data to be checked
        -
        Returns:
        -
        Returns whether or not the stored data contains the key
        -
        -
      • -
      - - - -
        -
      • -

        removeStoredData

        -
        public void removeStoredData(java.lang.String key)
        -
        -
        Specified by:
        -
        removeStoredData in interface IEntity
        -
        Parameters:
        -
        key - The key of the data to be removed
        -
        -
      • -
      - - - -
        -
      • -

        clearStoredData

        -
        public void clearStoredData()
        -
        Remove all stored data
        -
        -
        Specified by:
        -
        clearStoredData in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getAge

        -
        public long getAge()
        -
        -
        Specified by:
        -
        getAge in interface IEntity
        -
        Returns:
        -
        The age of this entity in ticks
        -
        -
      • -
      - - - -
        -
      • -

        despawn

        -
        public void despawn()
        -
        Despawns this entity. Removes it permanently
        -
        -
        Specified by:
        -
        despawn in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        inWater

        -
        public boolean inWater()
        -
        -
        Specified by:
        -
        inWater in interface IEntity
        -
        Returns:
        -
        Return whether or not this entity is standing in water
        -
        -
      • -
      - - - -
        -
      • -

        inLava

        -
        public boolean inLava()
        -
        -
        Specified by:
        -
        inLava in interface IEntity
        -
        Returns:
        -
        Return whether or not this entity is standing in lava
        -
        -
      • -
      - - - -
        -
      • -

        inFire

        -
        public boolean inFire()
        -
        -
        Specified by:
        -
        inFire in interface IEntity
        -
        Returns:
        -
        Return whether or not this entity is standing in fire
        -
        -
      • -
      - - - -
        -
      • -

        isBurning

        -
        public boolean isBurning()
        -
        -
        Specified by:
        -
        isBurning in interface IEntity
        -
        Returns:
        -
        Return whether or not this entity is on fire
        -
        -
      • -
      - - - -
        -
      • -

        setBurning

        -
        public void setBurning(int ticks)
        -
        -
        Specified by:
        -
        setBurning in interface IEntity
        -
        Parameters:
        -
        ticks - Amount of world ticks this entity will burn. 20 ticks equals 1 second
        -
        -
      • -
      - - - -
        -
      • -

        extinguish

        -
        public void extinguish()
        -
        Removes fire from this entity
        -
        -
        Specified by:
        -
        extinguish in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getTypeName

        -
        public java.lang.String getTypeName()
        -
        -
        Specified by:
        -
        getTypeName in interface IEntity
        -
        Returns:
        -
        Name as which it's registered in minecraft
        -
        -
      • -
      - - - -
        -
      • -

        playSound

        -
        public void playSound(java.lang.String name,
        -                      float volume,
        -                      float pitch)
        -
      • -
      - - - -
        -
      • -

        dropItem

        -
        public void dropItem(IItemStack item)
        -
        -
        Specified by:
        -
        dropItem in interface IEntity
        -
        Parameters:
        -
        item - Item to be dropped
        -
        -
      • -
      - - - -
        -
      • -

        getRider

        -
        public IEntity getRider()
        -
        -
        Specified by:
        -
        getRider in interface IEntity
        -
        Returns:
        -
        Return the rider
        -
        -
      • -
      - - - -
        -
      • -

        setRider

        -
        public void setRider(IEntity entity)
        -
        -
        Specified by:
        -
        setRider in interface IEntity
        -
        Parameters:
        -
        entity - The entity to ride this entity
        -
        -
      • -
      - - - -
        -
      • -

        getMount

        -
        public IEntity getMount()
        -
        -
        Specified by:
        -
        getMount in interface IEntity
        -
        Returns:
        -
        Return the entity, this entity is riding
        -
        -
      • -
      - - - -
        -
      • -

        setMount

        -
        public void setMount(IEntity entity)
        -
        -
        Specified by:
        -
        setMount in interface IEntity
        -
        Parameters:
        -
        entity - The entity this entity will mount
        -
        -
      • -
      - - - -
        -
      • -

        getType

        -
        public int getType()
        -
        -
        Specified by:
        -
        getType in interface IEntity
        -
        Returns:
        -
        Returns the EntityType of this entity
        -
        See Also:
        -
        EntityType
        -
        -
      • -
      - - - -
        -
      • -

        typeOf

        -
        public boolean typeOf(int type)
        -
        -
        Specified by:
        -
        typeOf in interface IEntity
        -
        Parameters:
        -
        type - @EntityType to check
        -
        Returns:
        -
        Returns whether the entity is type of the given @EntityType
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        setRotation

        -
        public void setRotation(float rotation)
        -
        -
        Specified by:
        -
        setRotation in interface IEntity
        -
        Parameters:
        -
        rotation - The rotation to be set (0-360)
        -
        -
      • -
      - - - -
        -
      • -

        getRotation

        -
        public float getRotation()
        -
        -
        Specified by:
        -
        getRotation in interface IEntity
        -
        Returns:
        -
        Current rotation of the entity
        -
        -
      • -
      - - - -
        -
      • -

        setPitch

        -
        public void setPitch(float pitch)
        -
        -
        Specified by:
        -
        setPitch in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        getPitch

        -
        public float getPitch()
        -
        -
        Specified by:
        -
        getPitch in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        knockback

        -
        public void knockback(int power,
        -                      float direction)
        -
        -
        Specified by:
        -
        knockback in interface IEntity
        -
        Parameters:
        -
        power - How strong the knockback is
        -
        direction - The direction in which he flies back (0-360). Usually based on getRotation()
        -
        -
      • -
      - - - -
        -
      • -

        knockback

        -
        public void knockback(int xpower,
        -                      int ypower,
        -                      int zpower,
        -                      float direction)
        -
        -
        Specified by:
        -
        knockback in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        setImmune

        -
        public void setImmune(int ticks)
        -
        -
        Specified by:
        -
        setImmune in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        setInvisible

        -
        public void setInvisible(boolean invisible)
        -
        -
        Specified by:
        -
        setInvisible in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        setSneaking

        -
        public void setSneaking(boolean sneaking)
        -
        -
        Specified by:
        -
        setSneaking in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        setSprinting

        -
        public void setSprinting(boolean sprinting)
        -
        -
        Specified by:
        -
        setSprinting in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        hasCollided

        -
        public boolean hasCollided()
        -
        -
        Specified by:
        -
        hasCollided in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        isSneaking

        -
        public boolean isSneaking()
        -
        -
        Specified by:
        -
        isSneaking in interface IEntity
        -
        Returns:
        -
        Returns whether or not this entity is sneaking
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        isSprinting

        -
        public boolean isSprinting()
        -
        -
        Specified by:
        -
        isSprinting in interface IEntity
        -
        Returns:
        -
        Returns whether or not this entity is sprinting
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        getMCEntity

        -
        public T getMCEntity()
        -
        -
        Specified by:
        -
        getMCEntity in interface IEntity
        -
        Returns:
        -
        Returns minecrafts entity
        -
        Since:
        -
        1.7.10c - Expert users only
        -
        -
      • -
      - - - -
        -
      • -

        getNbt

        -
        public INbt getNbt()
        -
        -
        Specified by:
        -
        getNbt in interface IEntity
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setNbt

        -
        public void setNbt(INbt nbt)
        -
        -
        Specified by:
        -
        setNbt in interface IEntity
        -
        -
      • -
      - - - -
        -
      • -

        storeAsClone

        -
        public void storeAsClone(int tab,
        -                         java.lang.String name)
        -
        -
        Specified by:
        -
        storeAsClone in interface IEntity
        -
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/ScriptLiving.html b/docs/noppes/npcs/scripted/entity/ScriptLiving.html deleted file mode 100644 index 82ef1044b..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptLiving.html +++ /dev/null @@ -1,468 +0,0 @@ - - - - - -ScriptLiving - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptLiving<T extends net.minecraft.entity.EntityLiving>

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptLiving

        -
        public ScriptLiving(T entity)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - - - - - -
        -
      • -

        navigateTo

        -
        public void navigateTo(double x,
        -                       double y,
        -                       double z,
        -                       double speed)
        -
        Start path finding toward this target
        -
        -
        Specified by:
        -
        navigateTo in interface IEntityLiving
        -
        Parameters:
        -
        x - Destination x position
        -
        y - Destination x position
        -
        z - Destination x position
        -
        speed - Walking speed of the entity 0.7 is default
        -
        -
      • -
      - - - -
        -
      • -

        clearNavigation

        -
        public void clearNavigation()
        -
        Stop navigating wherever this npc was walking to
        -
        -
        Specified by:
        -
        clearNavigation in interface IEntityLiving
        -
        -
      • -
      - - - -
        -
      • -

        isNavigating

        -
        public boolean isNavigating()
        -
        -
        Specified by:
        -
        isNavigating in interface IEntityLiving
        -
        Returns:
        -
        Whether or not this entity is navigating somewhere
        -
        -
      • -
      - - - -
        -
      • -

        canSeeEntity

        -
        public boolean canSeeEntity(IEntity entity)
        -
        -
        Specified by:
        -
        canSeeEntity in interface IEntityLivingBase
        -
        Overrides:
        -
        canSeeEntity in class ScriptLivingBase<T extends net.minecraft.entity.EntityLiving>
        -
        Parameters:
        -
        entity - Entity to check
        -
        Returns:
        -
        Whether or not this entity can see the given entity
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/ScriptLivingBase.html b/docs/noppes/npcs/scripted/entity/ScriptLivingBase.html deleted file mode 100644 index 3af4192b8..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptLivingBase.html +++ /dev/null @@ -1,771 +0,0 @@ - - - - - -ScriptLivingBase - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptLivingBase<T extends net.minecraft.entity.EntityLivingBase>

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptLivingBase

        -
        public ScriptLivingBase(T entity)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getHealth

        -
        public float getHealth()
        -
        -
        Specified by:
        -
        getHealth in interface IEntityLivingBase
        -
        Returns:
        -
        The entity's current health
        -
        -
      • -
      - - - -
        -
      • -

        setHealth

        -
        public void setHealth(float health)
        -
        -
        Specified by:
        -
        setHealth in interface IEntityLivingBase
        -
        Parameters:
        -
        health - The new health of this entity
        -
        -
      • -
      - - - -
        -
      • -

        hurt

        -
        public void hurt(float damage)
        -
        -
        Specified by:
        -
        hurt in interface IEntityLivingBase
        -
        -
      • -
      - - - - - - - -
        -
      • -

        hurt

        -
        public void hurt(float damage,
        -                 noppes.npcs.scripted.ScriptDamageSource damageSource)
        -
        -
        Specified by:
        -
        hurt in interface IEntityLivingBase
        -
        -
      • -
      - - - -
        -
      • -

        getMaxHealth

        -
        public double getMaxHealth()
        -
        -
        Specified by:
        -
        getMaxHealth in interface IEntityLivingBase
        -
        Returns:
        -
        Entity's max health
        -
        -
      • -
      - - - -
        -
      • -

        isAttacking

        -
        public boolean isAttacking()
        -
        -
        Specified by:
        -
        isAttacking in interface IEntityLivingBase
        -
        Returns:
        -
        Whether or not this entity is attacking something
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        getType

        -
        public int getType()
        -
        -
        Specified by:
        -
        getType in interface IEntity
        -
        Specified by:
        -
        getType in interface IEntityLivingBase
        -
        Overrides:
        -
        getType in class ScriptEntity<T extends net.minecraft.entity.EntityLivingBase>
        -
        Returns:
        -
        Returns the EntityType of this entity
        -
        See Also:
        -
        EntityType
        -
        -
      • -
      - - - -
        -
      • -

        typeOf

        -
        public boolean typeOf(int type)
        -
        -
        Specified by:
        -
        typeOf in interface IEntity
        -
        Specified by:
        -
        typeOf in interface IEntityLivingBase
        -
        Overrides:
        -
        typeOf in class ScriptEntity<T extends net.minecraft.entity.EntityLivingBase>
        -
        Parameters:
        -
        type - @EntityType to check
        -
        Returns:
        -
        Returns whether the entity is type of the given @EntityType
        -
        -
      • -
      - - - -
        -
      • -

        canSeeEntity

        -
        public boolean canSeeEntity(IEntity entity)
        -
        -
        Specified by:
        -
        canSeeEntity in interface IEntityLivingBase
        -
        Parameters:
        -
        entity - Entity to check
        -
        Returns:
        -
        Whether or not this entity can see the given entity
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getMinecraftEntity

        -
        public T getMinecraftEntity()
        -
      • -
      - - - -
        -
      • -

        swingHand

        -
        public void swingHand()
        -
        Makes the entity swing its hand
        -
        -
        Specified by:
        -
        swingHand in interface IEntityLivingBase
        -
        -
      • -
      - - - -
        -
      • -

        getLookVec

        -
        public java.lang.String getLookVec()
        -
      • -
      - - - -
        -
      • -

        addPotionEffect

        -
        public void addPotionEffect(int effect,
        -                            int duration,
        -                            int strength,
        -                            boolean hideParticles)
        -
        Works the same as the /effect command
        -
        -
        Specified by:
        -
        addPotionEffect in interface IEntityLivingBase
        -
        Parameters:
        -
        effect -
        -
        duration - The duration in seconds
        -
        strength - The amplifier of the potion effect
        -
        hideParticles - Whether or not you want to hide potion particles
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getPotionEffect

        -
        public int getPotionEffect(int effect)
        -
        -
        Specified by:
        -
        getPotionEffect in interface IEntityLivingBase
        -
        Parameters:
        -
        effect - Potion effect to check
        -
        Returns:
        -
        Returns -1 if its not active. Otherwise returns the strenght of the potion
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        getHeldItem

        -
        public IItemStack getHeldItem()
        -
        Note not all Living Entities support this
        -
        -
        Specified by:
        -
        getHeldItem in interface IEntityLivingBase
        -
        Returns:
        -
        The item the entity is holding
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        setHeldItem

        -
        public void setHeldItem(IItemStack item)
        -
        Note not all Living Entities support this
        -
        -
        Specified by:
        -
        setHeldItem in interface IEntityLivingBase
        -
        Parameters:
        -
        item - The item to be set
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        getArmor

        -
        public IItemStack getArmor(int slot)
        -
        Note not all Living Entities support this
        -
        -
        Specified by:
        -
        getArmor in interface IEntityLivingBase
        -
        Parameters:
        -
        slot - Slot of what armor piece to get, 0:boots, 1:pants, 2:body, 3:head
        -
        Returns:
        -
        The item in the given slot
        -
        -
      • -
      - - - -
        -
      • -

        setArmor

        -
        public void setArmor(int slot,
        -                     IItemStack item)
        -
        Note not all Living Entities support this
        -
        -
        Specified by:
        -
        setArmor in interface IEntityLivingBase
        -
        Parameters:
        -
        slot - Slot of what armor piece to set, 0:boots, 1:pants, 2:body, 3:head
        -
        item - Item to be set
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/ScriptMonster.html b/docs/noppes/npcs/scripted/entity/ScriptMonster.html deleted file mode 100644 index 3ff435810..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptMonster.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - -ScriptMonster - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptMonster<T extends net.minecraft.entity.monster.EntityMob>

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptMonster

        -
        public ScriptMonster(T entity)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getType

        -
        public int getType()
        -
        -
        Specified by:
        -
        getType in interface IEntity
        -
        Specified by:
        -
        getType in interface IEntityLivingBase
        -
        Overrides:
        -
        getType in class ScriptLivingBase<T extends net.minecraft.entity.monster.EntityMob>
        -
        Returns:
        -
        Returns the EntityType of this entity
        -
        See Also:
        -
        EntityType
        -
        -
      • -
      - - - -
        -
      • -

        typeOf

        -
        public boolean typeOf(int type)
        -
        -
        Specified by:
        -
        typeOf in interface IEntity
        -
        Specified by:
        -
        typeOf in interface IEntityLivingBase
        -
        Overrides:
        -
        typeOf in class ScriptLivingBase<T extends net.minecraft.entity.monster.EntityMob>
        -
        Parameters:
        -
        type - @EntityType to check
        -
        Returns:
        -
        Returns whether the entity is type of the given @EntityType
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/ScriptNpc.html b/docs/noppes/npcs/scripted/entity/ScriptNpc.html deleted file mode 100644 index cc06bd419..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptNpc.html +++ /dev/null @@ -1,3687 +0,0 @@ - - - - - -ScriptNpc - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptNpc<T extends noppes.npcs.entity.EntityNPCInterface>

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        npc

        -
        public noppes.npcs.entity.EntityNPCInterface npc
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptNpc

        -
        public ScriptNpc(T npc)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getSize

        -
        public int getSize()
        -
        -
        Specified by:
        -
        getSize in interface ICustomNpc
        -
        Returns:
        -
        Returns the current npcs size
        -
        -
      • -
      - - - -
        -
      • -

        setSize

        -
        public void setSize(int size)
        -
        -
        Specified by:
        -
        setSize in interface ICustomNpc
        -
        Parameters:
        -
        size - The size of the npc. Default is 5
        -
        -
      • -
      - - - -
        -
      • -

        getModelType

        -
        public int getModelType()
        -
        -
        Specified by:
        -
        getModelType in interface ICustomNpc
        -
        Returns:
        -
        Returns the current npcs modelType of the NPC
        -
        -
      • -
      - - - -
        -
      • -

        setModelType

        -
        public void setModelType(int modelType)
        -
        -
        Specified by:
        -
        setModelType in interface ICustomNpc
        -
        Parameters:
        -
        modelType - The modelType of the NPC. 0: Steve, 1: Steve64, 2: Alex
        -
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        -
        Specified by:
        -
        getName in interface ICustomNpc
        -
        Returns:
        -
        The npcs name
        -
        -
      • -
      - - - -
        -
      • -

        setRotation

        -
        public void setRotation(float rotation)
        -
        -
        Specified by:
        -
        setRotation in interface ICustomNpc
        -
        Specified by:
        -
        setRotation in interface IEntity
        -
        Overrides:
        -
        setRotation in class ScriptEntity<T extends noppes.npcs.entity.EntityNPCInterface>
        -
        Parameters:
        -
        rotation - The rotation to be set (0-360)
        -
        -
      • -
      - - - -
        -
      • -

        setRotationType

        -
        public void setRotationType(int rotationType)
        -
        -
        Specified by:
        -
        setRotationType in interface ICustomNpc
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setName

        -
        public void setName(java.lang.String name)
        -
        -
        Specified by:
        -
        setName in interface ICustomNpc
        -
        Parameters:
        -
        name - The name of the npc
        -
        -
      • -
      - - - -
        -
      • -

        getTitle

        -
        public java.lang.String getTitle()
        -
        -
        Specified by:
        -
        getTitle in interface ICustomNpc
        -
        Returns:
        -
        The npcs title
        -
        Since:
        -
        1.7.10
        -
        -
      • -
      - - - -
        -
      • -

        setTitle

        -
        public void setTitle(java.lang.String title)
        -
        -
        Specified by:
        -
        setTitle in interface ICustomNpc
        -
        Parameters:
        -
        title - The title of the npc
        -
        Since:
        -
        1.7.10
        -
        -
      • -
      - - - -
        -
      • -

        getTexture

        -
        public java.lang.String getTexture()
        -
        -
        Specified by:
        -
        getTexture in interface ICustomNpc
        -
        Returns:
        -
        The npcs texture
        -
        -
      • -
      - - - -
        -
      • -

        setTexture

        -
        public void setTexture(java.lang.String texture)
        -
        -
        Specified by:
        -
        setTexture in interface ICustomNpc
        -
        Parameters:
        -
        texture - The texture of the npc
        -
        -
      • -
      - - - -
        -
      • -

        getHomeX

        -
        public int getHomeX()
        -
        -
        Specified by:
        -
        getHomeX in interface ICustomNpc
        -
        Returns:
        -
        Home position x
        -
        -
      • -
      - - - -
        -
      • -

        setHomeX

        -
        public void setHomeX(int x)
        -
        -
        Specified by:
        -
        setHomeX in interface ICustomNpc
        -
        Parameters:
        -
        x - The home x position
        -
        -
      • -
      - - - -
        -
      • -

        getHomeY

        -
        public int getHomeY()
        -
        -
        Specified by:
        -
        getHomeY in interface ICustomNpc
        -
        Returns:
        -
        Home position x
        -
        -
      • -
      - - - -
        -
      • -

        setHomeY

        -
        public void setHomeY(int y)
        -
        -
        Specified by:
        -
        setHomeY in interface ICustomNpc
        -
        Parameters:
        -
        y - The home y position
        -
        -
      • -
      - - - -
        -
      • -

        getHomeZ

        -
        public int getHomeZ()
        -
        -
        Specified by:
        -
        getHomeZ in interface ICustomNpc
        -
        Returns:
        -
        Home position x
        -
        -
      • -
      - - - -
        -
      • -

        setHomeZ

        -
        public void setHomeZ(int z)
        -
        -
        Specified by:
        -
        setHomeZ in interface ICustomNpc
        -
        Parameters:
        -
        z - The home x position
        -
        -
      • -
      - - - -
        -
      • -

        setHome

        -
        public void setHome(int x,
        -                    int y,
        -                    int z)
        -
        -
        Specified by:
        -
        setHome in interface ICustomNpc
        -
        Parameters:
        -
        x - The home x position
        -
        y - The home y position
        -
        z - The home z position
        -
        -
      • -
      - - - -
        -
      • -

        setMaxHealth

        -
        public void setMaxHealth(double health)
        -
        -
        Specified by:
        -
        setMaxHealth in interface ICustomNpc
        -
        Parameters:
        -
        health - New max health
        -
        -
      • -
      - - - -
        -
      • -

        setReturnToHome

        -
        public void setReturnToHome(boolean bo)
        -
        -
        Specified by:
        -
        setReturnToHome in interface ICustomNpc
        -
        Parameters:
        -
        bo - Whether or not the npc will try to return to his home position
        -
        -
      • -
      - - - -
        -
      • -

        getReturnToHome

        -
        public boolean getReturnToHome()
        -
        -
        Specified by:
        -
        getReturnToHome in interface ICustomNpc
        -
        Returns:
        -
        Whether or not the npc returns home
        -
        -
      • -
      - - - -
        -
      • -

        getFaction

        -
        public noppes.npcs.scripted.ScriptFaction getFaction()
        -
        -
        Specified by:
        -
        getFaction in interface ICustomNpc
        -
        Returns:
        -
        The faction of the npc
        -
        -
      • -
      - - - -
        -
      • -

        setFaction

        -
        public void setFaction(int id)
        -
        -
        Specified by:
        -
        setFaction in interface ICustomNpc
        -
        Parameters:
        -
        id - The id of the new faction
        -
        -
      • -
      - - - -
        -
      • -

        setAttackFactions

        -
        public void setAttackFactions(boolean attackOtherFactions)
        -
        -
        Specified by:
        -
        setAttackFactions in interface ICustomNpc
        -
        Parameters:
        -
        attackOtherFactions - True if you want the NPC to attack other factions, false otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        getAttackFactions

        -
        public boolean getAttackFactions()
        -
        -
        Specified by:
        -
        getAttackFactions in interface ICustomNpc
        -
        Returns:
        -
        Returns true if the NPC attacks other factions, false otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        setDefendFaction

        -
        public void setDefendFaction(boolean defendFaction)
        -
        -
        Specified by:
        -
        setDefendFaction in interface ICustomNpc
        -
        Parameters:
        -
        defendFaction - True if the NPC should defend faction members, false otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        getDefendFaction

        -
        public boolean getDefendFaction()
        -
        -
        Specified by:
        -
        getDefendFaction in interface ICustomNpc
        -
        Returns:
        -
        Returns true if the NPC should defend faction members, false otherwise.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        typeOf

        -
        public boolean typeOf(int type)
        -
        -
        Specified by:
        -
        typeOf in interface ICustomNpc
        -
        Specified by:
        -
        typeOf in interface IEntity
        -
        Specified by:
        -
        typeOf in interface IEntityLivingBase
        -
        Overrides:
        -
        typeOf in class ScriptLivingBase<T extends noppes.npcs.entity.EntityNPCInterface>
        -
        Parameters:
        -
        type - @EntityType to check
        -
        Returns:
        -
        Returns whether the entity is type of the given @EntityType
        -
        -
      • -
      - - - -
        -
      • -

        shootItem

        -
        public void shootItem(IEntityLivingBase target,
        -                      IItemStack item,
        -                      int accuracy)
        -
        -
        Specified by:
        -
        shootItem in interface ICustomNpc
        -
        Parameters:
        -
        target - The targeted npc
        -
        item - The item you want to shoot
        -
        accuracy - Accuracy of the shot (0-100)
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        say

        -
        public void say(java.lang.String message)
        -
        -
        Specified by:
        -
        say in interface ICustomNpc
        -
        Parameters:
        -
        message - The message the npc will say
        -
        -
      • -
      - - - -
        -
      • -

        say

        -
        public void say(IPlayer player,
        -                java.lang.String message)
        -
        -
        Specified by:
        -
        say in interface ICustomNpc
        -
        Parameters:
        -
        message - The message the npc will say
        -
        -
      • -
      - - - -
        -
      • -

        kill

        -
        public void kill()
        -
        Kill the npc, doesnt't despawn it
        -
        -
        Specified by:
        -
        kill in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        reset

        -
        public void reset()
        -
        Basically completely resets the npc. This will also call the Init script
        -
        -
        Specified by:
        -
        reset in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getRole

        -
        public noppes.npcs.scripted.roles.ScriptRoleInterface getRole()
        -
        -
        Specified by:
        -
        getRole in interface ICustomNpc
        -
        Returns:
        -
        Returns the npcs current role
        -
        -
      • -
      - - - -
        -
      • -

        setRole

        -
        public void setRole(int role)
        -
        -
        Specified by:
        -
        setRole in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getJob

        -
        public noppes.npcs.scripted.roles.ScriptJobInterface getJob()
        -
        -
        Specified by:
        -
        getJob in interface ICustomNpc
        -
        Returns:
        -
        Returns the npcs current job
        -
        -
      • -
      - - - -
        -
      • -

        setJob

        -
        public void setJob(int job)
        -
        -
        Specified by:
        -
        setJob in interface ICustomNpc
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setRightItem

        -
        public void setRightItem(IItemStack item)
        -
        -
        Specified by:
        -
        setRightItem in interface ICustomNpc
        -
        Parameters:
        -
        item - Item to be held in the right hand
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setLeftItem

        -
        public void setLeftItem(IItemStack item)
        -
        -
        Specified by:
        -
        setLeftItem in interface ICustomNpc
        -
        Parameters:
        -
        item - Item to be held in the left hand
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setProjectileItem

        -
        public void setProjectileItem(IItemStack item)
        -
        -
        Specified by:
        -
        setProjectileItem in interface ICustomNpc
        -
        Parameters:
        -
        item - Item to be used as projectile
        -
        -
      • -
      - - - -
        -
      • -

        canAimWhileShooting

        -
        public boolean canAimWhileShooting()
        -
        -
        Specified by:
        -
        canAimWhileShooting in interface ICustomNpc
        -
        Returns:
        -
        Returns true if the NPC can aim while shooting.
        -
        -
      • -
      - - - -
        -
      • -

        aimWhileShooting

        -
        public void aimWhileShooting(boolean aimWhileShooting)
        -
        -
        Specified by:
        -
        aimWhileShooting in interface ICustomNpc
        -
        Parameters:
        -
        aimWhileShooting - Set to true if you want the NPC to aim while shooting, false otherwise.
        -
        -
      • -
      - - - - - - - - - - - - - - - - - - - -
        -
      • -

        setRangedRage

        -
        public void setRangedRage(int rangedRange)
        -
        -
        Specified by:
        -
        setRangedRage in interface ICustomNpc
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setFireRate

        -
        public void setFireRate(int rate)
        -
        -
        Specified by:
        -
        setFireRate in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getFireRate

        -
        public int getFireRate()
        -
        -
        Specified by:
        -
        getFireRate in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setBurstCount

        -
        public void setBurstCount(int burstCount)
        -
        -
        Specified by:
        -
        setBurstCount in interface ICustomNpc
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setShotCount

        -
        public void setShotCount(int shotCount)
        -
        -
        Specified by:
        -
        setShotCount in interface ICustomNpc
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setAccuracy

        -
        public void setAccuracy(int accuracy)
        -
        -
        Specified by:
        -
        setAccuracy in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getAccuracy

        -
        public int getAccuracy()
        -
        -
        Specified by:
        -
        getAccuracy in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getFireSound

        -
        public java.lang.String getFireSound()
        -
        -
        Specified by:
        -
        getFireSound in interface ICustomNpc
        -
        Returns:
        -
        The directory of the sound that plays when a projectile is shot
        -
        -
      • -
      - - - -
        -
      • -

        setFireSound

        -
        public void setFireSound(java.lang.String fireSound)
        -
        -
        Specified by:
        -
        setFireSound in interface ICustomNpc
        -
        Parameters:
        -
        fireSound - The new directory of the sound that plays when a projectile is shot
        -
        -
      • -
      - - - -
        -
      • -

        getArmor

        -
        public IItemStack getArmor(int slot)
        -
        Description copied from class: ScriptLivingBase
        -
        Note not all Living Entities support this
        -
        -
        Specified by:
        -
        getArmor in interface ICustomNpc
        -
        Specified by:
        -
        getArmor in interface IEntityLivingBase
        -
        Overrides:
        -
        getArmor in class ScriptLivingBase<T extends noppes.npcs.entity.EntityNPCInterface>
        -
        Parameters:
        -
        slot - The armor slot to return. 0:head, 1:body, 2:legs, 3:boots
        -
        Returns:
        -
        Returns the worn armor in slot
        -
        -
      • -
      - - - -
        -
      • -

        setArmor

        -
        public void setArmor(int slot,
        -                     IItemStack item)
        -
        Description copied from class: ScriptLivingBase
        -
        Note not all Living Entities support this
        -
        -
        Specified by:
        -
        setArmor in interface ICustomNpc
        -
        Specified by:
        -
        setArmor in interface IEntityLivingBase
        -
        Overrides:
        -
        setArmor in class ScriptLivingBase<T extends noppes.npcs.entity.EntityNPCInterface>
        -
        Parameters:
        -
        slot - The armor slot to set. 0:head, 1:body, 2:legs, 3:boots
        -
        item - Item to be set as armor
        -
        -
      • -
      - - - -
        -
      • -

        getLootItem

        -
        public IItemStack getLootItem(int slot)
        -
        -
        Specified by:
        -
        getLootItem in interface ICustomNpc
        -
        Parameters:
        -
        slot - The slot from the NPC's drop list to return (0-8)
        -
        Returns:
        -
        -
      • -
      - - - -
        -
      • -

        setLootItem

        -
        public void setLootItem(int slot,
        -                        IItemStack item)
        -
        -
        Specified by:
        -
        setLootItem in interface ICustomNpc
        -
        Parameters:
        -
        slot - The slot from the NPC's drop list to change
        -
        item - The item the drop list slot will be changed to
        -
        -
      • -
      - - - -
        -
      • -

        getLootChance

        -
        public double getLootChance(int slot)
        -
        -
        Specified by:
        -
        getLootChance in interface ICustomNpc
        -
        Parameters:
        -
        slot - The slot from the NPC's drop list to return (0-8)
        -
        Returns:
        -
        The chance of dropping the item in this slot. Returns 100 if the slot is not found.
        -
        -
      • -
      - - - -
        -
      • -

        setLootChance

        -
        public void setLootChance(int slot,
        -                          double chance)
        -
        -
        Specified by:
        -
        setLootChance in interface ICustomNpc
        -
        Parameters:
        -
        slot - The slot from the NPC's drop list to change
        -
        chance - The new chance of dropping the item in this slot
        -
        -
      • -
      - - - -
        -
      • -

        getLootMode

        -
        public int getLootMode()
        -
        -
        Specified by:
        -
        getLootMode in interface ICustomNpc
        -
        Returns:
        -
        The NPC's loot mode. 0 = Normal, 1 = Auto Pickup
        -
        -
      • -
      - - - -
        -
      • -

        setLootMode

        -
        public void setLootMode(int lootMode)
        -
        -
        Specified by:
        -
        setLootMode in interface ICustomNpc
        -
        Parameters:
        -
        lootMode - The NPC's loot mode. 0 = Normal, 1 = Auto Pickup
        -
        -
      • -
      - - - -
        -
      • -

        setMinLootXP

        -
        public void setMinLootXP(int lootXP)
        -
        -
        Specified by:
        -
        setMinLootXP in interface ICustomNpc
        -
        Parameters:
        -
        lootXP - The new minimum XP gained from killing the NPC. If greater than the max XP, it will be set to it.
        -
        -
      • -
      - - - -
        -
      • -

        setMaxLootXP

        -
        public void setMaxLootXP(int lootXP)
        -
        -
        Specified by:
        -
        setMaxLootXP in interface ICustomNpc
        -
        Parameters:
        -
        lootXP - The new maximum XP gained from killing the NPC. If less than the min XP, it will be set to it.
        -
        -
      • -
      - - - -
        -
      • -

        getMinLootXP

        -
        public int getMinLootXP()
        -
        -
        Specified by:
        -
        getMinLootXP in interface ICustomNpc
        -
        Returns:
        -
        The minimum XP gained from killing the NPC.
        -
        -
      • -
      - - - -
        -
      • -

        getMaxLootXP

        -
        public int getMaxLootXP()
        -
        -
        Specified by:
        -
        getMaxLootXP in interface ICustomNpc
        -
        Returns:
        -
        The maximum XP gained from killing the NPC.
        -
        -
      • -
      - - - -
        -
      • -

        setAnimation

        -
        public void setAnimation(int type)
        -
        -
        Specified by:
        -
        setAnimation in interface ICustomNpc
        -
        Parameters:
        -
        type - The AnimationType
        -
        -
      • -
      - - - -
        -
      • -

        setTacticalVariant

        -
        public void setTacticalVariant(int variant)
        -
        -
        Specified by:
        -
        setTacticalVariant in interface ICustomNpc
        -
        Parameters:
        -
        variant - Changes the tactical variant of the NPC. - 0 - Rush - 1 - Dodge - 2 - Surround - 3 - Hit N Run - 4 - Ambush - 5 - Stalk - 6 - None
        -
        -
      • -
      - - - -
        -
      • -

        getTacticalVariant

        -
        public int getTacticalVariant()
        -
        -
        Specified by:
        -
        getTacticalVariant in interface ICustomNpc
        -
        Returns:
        -
        Returns the tactical variant of the NPC. - 0 - Rush - 1 - Dodge - 2 - Surround - 3 - Hit N Run - 4 - Ambush - 5 - Stalk - 6 - None
        -
        -
      • -
      - - - -
        -
      • -

        setTacticalVariant

        -
        public void setTacticalVariant(java.lang.String variant)
        -
        -
        Specified by:
        -
        setTacticalVariant in interface ICustomNpc
        -
        Parameters:
        -
        variant - Sets the NPC's tactical variant by name.
        -
        -
      • -
      - - - -
        -
      • -

        getTacticalVariantName

        -
        public java.lang.String getTacticalVariantName()
        -
        -
        Specified by:
        -
        getTacticalVariantName in interface ICustomNpc
        -
        Returns:
        -
        Returns the name of the NPc's tactical variant.
        -
        -
      • -
      - - - -
        -
      • -

        setTacticalRadius

        -
        public void setTacticalRadius(int tacticalRadius)
        -
        -
        Specified by:
        -
        setTacticalRadius in interface ICustomNpc
        -
        Parameters:
        -
        tacticalRadius - Sets the radius in which the tactical variant is affected, if any. Effective for all tactical variants except Rush and None.
        -
        -
      • -
      - - - -
        -
      • -

        getTacticalRadius

        -
        public int getTacticalRadius()
        -
        -
        Specified by:
        -
        getTacticalRadius in interface ICustomNpc
        -
        Returns:
        -
        Gets the radius in which the tactical variant is affected, if any. Effective for all tactical variants except Rush and None.
        -
        -
      • -
      - - - -
        -
      • -

        setIgnoreCobweb

        -
        public void setIgnoreCobweb(boolean ignore)
        -
        -
        Specified by:
        -
        setIgnoreCobweb in interface ICustomNpc
        -
        Parameters:
        -
        ignore - True if the NPC goes through cobwebs
        -
        -
      • -
      - - - -
        -
      • -

        getIgnoreCobweb

        -
        public boolean getIgnoreCobweb()
        -
        -
        Specified by:
        -
        getIgnoreCobweb in interface ICustomNpc
        -
        Returns:
        -
        True if the NPC goes through cobwebs
        -
        -
      • -
      - - - -
        -
      • -

        setOnFoundEnemy

        -
        public void setOnFoundEnemy(int onAttack)
        -
        -
        Specified by:
        -
        setOnFoundEnemy in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        onFoundEnemy

        -
        public int onFoundEnemy()
        -
        -
        Specified by:
        -
        onFoundEnemy in interface ICustomNpc
        -
        Returns:
        -
        Returns an integer representing what the NPC does when it finds an enemy. - 0 - Retaliate - 1 - Panic - 2 - Retreat - 3 - Nothing
        -
        -
      • -
      - - - -
        -
      • -

        setShelterFrom

        -
        public void setShelterFrom(int shelterFrom)
        -
        -
        Specified by:
        -
        setShelterFrom in interface ICustomNpc
        -
        Parameters:
        -
        shelterFrom - An integer representing what conditions the NPC seeks shelter under. - 0 - Darkenss - 1 - Sunlight - 2 - Disabled
        -
        -
      • -
      - - - -
        -
      • -

        getShelterFrom

        -
        public int getShelterFrom()
        -
        -
        Specified by:
        -
        getShelterFrom in interface ICustomNpc
        -
        Returns:
        -
        Returns an integer representing what conditions the NPC seeks shelter under. - 0 - Darkenss - 1 - Sunlight - 2 - Disabled
        -
        -
      • -
      - - - -
        -
      • -

        hasLivingAnimation

        -
        public boolean hasLivingAnimation()
        -
        -
        Specified by:
        -
        hasLivingAnimation in interface ICustomNpc
        -
        Returns:
        -
        Whether the NPC has a living animation
        -
        -
      • -
      - - - -
        -
      • -

        setLivingAnimation

        -
        public void setLivingAnimation(boolean livingAnimation)
        -
        -
        Specified by:
        -
        setLivingAnimation in interface ICustomNpc
        -
        Parameters:
        -
        livingAnimation - True if you want the NPC to have a living animation, false otherwise
        -
        -
      • -
      - - - -
        -
      • -

        setVisibleType

        -
        public void setVisibleType(int type)
        -
        -
        Specified by:
        -
        setVisibleType in interface ICustomNpc
        -
        Parameters:
        -
        type - The visibility type of the npc, 0:visible, 1:invisible, 2:semi-visible
        -
        -
      • -
      - - - -
        -
      • -

        getVisibleType

        -
        public int getVisibleType()
        -
        -
        Specified by:
        -
        getVisibleType in interface ICustomNpc
        -
        Returns:
        -
        The visibility type of the npc, 0:visible, 1:invisible, 2:semi-visible
        -
        -
      • -
      - - - -
        -
      • -

        setVisibleTo

        -
        public void setVisibleTo(IPlayer player,
        -                         boolean visible)
        -
        -
        Specified by:
        -
        setVisibleTo in interface ICustomNpc
        -
        Parameters:
        -
        player - The player this NPC becomes visible/invisible to
        -
        visible - True if you want the NPC to be invisible to the player, false otherwise
        -
        -
      • -
      - - - -
        -
      • -

        isVisibleTo

        -
        public boolean isVisibleTo(IPlayer player)
        -
        -
        Specified by:
        -
        isVisibleTo in interface ICustomNpc
        -
        Parameters:
        -
        player - The player this NPC is visible/invisible to
        -
        Returns:
        -
        False if the NPC has been toggled to be invisible to this player, true otherwise. - If setVisibleTo(player,visible) was not called to make this NPC invisible to the player at any point - in the NPC's life, this function will return true regardless of the value of isVisible().
        -
        -
      • -
      - - - -
        -
      • -

        setShowName

        -
        public void setShowName(int type)
        -
        -
        Specified by:
        -
        setShowName in interface ICustomNpc
        -
        Parameters:
        -
        type - The visibility type of the name, 0:visible, 1:invisible, 2:when-attacking
        -
        -
      • -
      - - - -
        -
      • -

        getShowName

        -
        public int getShowName()
        -
        -
        Specified by:
        -
        getShowName in interface ICustomNpc
        -
        Returns:
        -
        Returns the visibility type of the name, 0:visible, 1:invisible, 2:when-attacking
        -
        -
      • -
      - - - -
        -
      • -

        getShowBossBar

        -
        public int getShowBossBar()
        -
        -
        Specified by:
        -
        getShowBossBar in interface ICustomNpc
        -
        Returns:
        -
        Returns the visiblity of the boss bar, 0:invisible, 1:visible, 2:when-attacking
        -
        -
      • -
      - - - -
        -
      • -

        setShowBossBar

        -
        public void setShowBossBar(int type)
        -
        -
        Specified by:
        -
        setShowBossBar in interface ICustomNpc
        -
        Parameters:
        -
        type - The visibility type of the boss bar, 0:invisible, 1:visible, 2:when-attacking
        -
        -
      • -
      - - - -
        -
      • -

        getMeleeStrength

        -
        public float getMeleeStrength()
        -
        -
        Specified by:
        -
        getMeleeStrength in interface ICustomNpc
        -
        Returns:
        -
        The melee strength
        -
        -
      • -
      - - - -
        -
      • -

        setMeleeStrength

        -
        public void setMeleeStrength(float strength)
        -
        -
        Specified by:
        -
        setMeleeStrength in interface ICustomNpc
        -
        Parameters:
        -
        strength - The melee strength
        -
        -
      • -
      - - - -
        -
      • -

        getMeleeSpeed

        -
        public int getMeleeSpeed()
        -
        -
        Specified by:
        -
        getMeleeSpeed in interface ICustomNpc
        -
        Returns:
        -
        The melee speed
        -
        -
      • -
      - - - -
        -
      • -

        setMeleeSpeed

        -
        public void setMeleeSpeed(int speed)
        -
        -
        Specified by:
        -
        setMeleeSpeed in interface ICustomNpc
        -
        Parameters:
        -
        speed - The melee speed
        -
        -
      • -
      - - - -
        -
      • -

        getRangedStrength

        -
        public float getRangedStrength()
        -
        -
        Specified by:
        -
        getRangedStrength in interface ICustomNpc
        -
        Returns:
        -
        The ranged strength
        -
        -
      • -
      - - - -
        -
      • -

        setRangedStrength

        -
        public void setRangedStrength(float strength)
        -
        -
        Specified by:
        -
        setRangedStrength in interface ICustomNpc
        -
        Parameters:
        -
        strength - The ranged strength
        -
        -
      • -
      - - - -
        -
      • -

        getRangedSpeed

        -
        public int getRangedSpeed()
        -
        -
        Specified by:
        -
        getRangedSpeed in interface ICustomNpc
        -
        Returns:
        -
        The ranged speed
        -
        -
      • -
      - - - -
        -
      • -

        setRangedSpeed

        -
        public void setRangedSpeed(int speed)
        -
        -
        Specified by:
        -
        setRangedSpeed in interface ICustomNpc
        -
        Parameters:
        -
        speed - The ranged speed
        -
        -
      • -
      - - - -
        -
      • -

        getRangedBurst

        -
        public int getRangedBurst()
        -
        -
        Specified by:
        -
        getRangedBurst in interface ICustomNpc
        -
        Returns:
        -
        The ranged burst count
        -
        -
      • -
      - - - -
        -
      • -

        setRangedBurst

        -
        public void setRangedBurst(int count)
        -
        -
        Specified by:
        -
        setRangedBurst in interface ICustomNpc
        -
        Parameters:
        -
        count - The ranged burst count
        -
        -
      • -
      - - - -
        -
      • -

        getRespawnTime

        -
        public int getRespawnTime()
        -
        -
        Specified by:
        -
        getRespawnTime in interface ICustomNpc
        -
        Returns:
        -
        The amount of ticks before this entity respawns
        -
        -
      • -
      - - - -
        -
      • -

        setRespawnTime

        -
        public void setRespawnTime(int time)
        -
        -
        Specified by:
        -
        setRespawnTime in interface ICustomNpc
        -
        Parameters:
        -
        time - The new amount of ticks before this entity respawns
        -
        -
      • -
      - - - -
        -
      • -

        getRespawnCycle

        -
        public int getRespawnCycle()
        -
        -
        Specified by:
        -
        getRespawnCycle in interface ICustomNpc
        -
        Returns:
        -
        Respawn: 0 - Yes (Always), 1 - Day, 2 - Night, 3 - No (Dies permanently)
        -
        -
      • -
      - - - -
        -
      • -

        setRespawnCycle

        -
        public void setRespawnCycle(int cycle)
        -
        -
        Specified by:
        -
        setRespawnCycle in interface ICustomNpc
        -
        Parameters:
        -
        cycle - Sets when the NPC respawns. Respawn: 0 - Yes (Always), 1 - Day, 2 - Night, 3 - No (Dies permanently)
        -
        -
      • -
      - - - -
        -
      • -

        getHideKilledBody

        -
        public boolean getHideKilledBody()
        -
        -
        Specified by:
        -
        getHideKilledBody in interface ICustomNpc
        -
        Returns:
        -
        Whether the NPC is hidden when it dies
        -
        -
      • -
      - - - -
        -
      • -

        hideKilledBody

        -
        public void hideKilledBody(boolean hide)
        -
        -
        Specified by:
        -
        hideKilledBody in interface ICustomNpc
        -
        Parameters:
        -
        hide - True if the NPC is hidden when it dies. False otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        naturallyDespawns

        -
        public boolean naturallyDespawns()
        -
        -
        Specified by:
        -
        naturallyDespawns in interface ICustomNpc
        -
        Returns:
        -
        Returns true if the NPC naturally despawns.
        -
        -
      • -
      - - - -
        -
      • -

        setNaturallyDespawns

        -
        public void setNaturallyDespawns(boolean canDespawn)
        -
        -
        Specified by:
        -
        setNaturallyDespawns in interface ICustomNpc
        -
        Parameters:
        -
        canDespawn - True if the NPC should naturally despawn. False otherwise.
        -
        -
      • -
      - - - -
        -
      • -

        spawnedFromSoulStone

        -
        public boolean spawnedFromSoulStone()
        -
        -
        Specified by:
        -
        spawnedFromSoulStone in interface ICustomNpc
        -
        Returns:
        -
        true if this npc was spawned by a player using soulstone
        -
        -
      • -
      - - - -
        -
      • -

        getSoulStonePlayerName

        -
        public java.lang.String getSoulStonePlayerName()
        -
        -
        Specified by:
        -
        getSoulStonePlayerName in interface ICustomNpc
        -
        Returns:
        -
        the name of the player who spawned this npc using soulstone. null if not spawned by soulstone
        -
        -
      • -
      - - - -
        -
      • -

        getRefuseSoulStone

        -
        public boolean getRefuseSoulStone()
        -
        -
        Specified by:
        -
        getRefuseSoulStone in interface ICustomNpc
        -
        Returns:
        -
        does this npc refuse to be taken by soul stone
        -
        -
      • -
      - - - -
        -
      • -

        setRefuseSoulStone

        -
        public void setRefuseSoulStone(boolean refuse)
        -
        -
        Specified by:
        -
        setRefuseSoulStone in interface ICustomNpc
        -
        Parameters:
        -
        refuse - set if this npc refuses to be taken by soul stone
        -
        -
      • -
      - - - -
        -
      • -

        isSoulStoneInit

        -
        public boolean isSoulStoneInit()
        -
        -
        Specified by:
        -
        isSoulStoneInit in interface ICustomNpc
        -
        Returns:
        -
        true if npc was spawned by soul stone. becomes false after the init function is called.
        -
        -
      • -
      - - - -
        -
      • -

        getMinPointsToSoulStone

        -
        public int getMinPointsToSoulStone()
        -
        Description copied from interface: ICustomNpc
        -
        requires SoulStoneFriendlyNPCs in config to be true - -1 by default - if -1, the minimum points are the faction's friendly points
        -
        -
        Specified by:
        -
        getMinPointsToSoulStone in interface ICustomNpc
        -
        Returns:
        -
        the minimum faction points needed to soulstone this npc
        -
        -
      • -
      - - - -
        -
      • -

        setMinPointsToSoulStone

        -
        public void setMinPointsToSoulStone(int points)
        -
        Description copied from interface: ICustomNpc
        -
        requires SoulStoneFriendlyNPCs in config to be true - -1 by default - if -1, the minimum points are the faction's friendly points
        -
        -
        Specified by:
        -
        setMinPointsToSoulStone in interface ICustomNpc
        -
        Parameters:
        -
        points - the minimum faction points needed to soulstone this npc
        -
        -
      • -
      - - - -
        -
      • -

        giveItem

        -
        public void giveItem(IPlayer player,
        -                     IItemStack item)
        -
        -
        Specified by:
        -
        giveItem in interface ICustomNpc
        -
        Parameters:
        -
        player - The player to give the item to
        -
        item - The item given to the player
        -
        -
      • -
      - - - -
        -
      • -

        executeCommand

        -
        public void executeCommand(java.lang.String command)
        -
        Description copied from interface: ICustomNpc
        -
        On servers the enable-command-block option in the server.properties needs to be set to true
        -
        -
        Specified by:
        -
        executeCommand in interface ICustomNpc
        -
        Parameters:
        -
        command - The command to be executed
        -
        -
      • -
      - - - -
        -
      • -

        setHeadScale

        -
        public void setHeadScale(float x,
        -                         float y,
        -                         float z)
        -
        -
        Specified by:
        -
        setHeadScale in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setBodyScale

        -
        public void setBodyScale(float x,
        -                         float y,
        -                         float z)
        -
        -
        Specified by:
        -
        setBodyScale in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setArmsScale

        -
        public void setArmsScale(float x,
        -                         float y,
        -                         float z)
        -
        -
        Specified by:
        -
        setArmsScale in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setLegsScale

        -
        public void setLegsScale(float x,
        -                         float y,
        -                         float z)
        -
        -
        Specified by:
        -
        setLegsScale in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setExplosionResistance

        -
        public void setExplosionResistance(float resistance)
        -
        -
        Specified by:
        -
        setExplosionResistance in interface ICustomNpc
        -
        Parameters:
        -
        resistance - Explosion resistance (0-2) default is 1
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        getExplosionResistance

        -
        public float getExplosionResistance()
        -
        -
        Specified by:
        -
        getExplosionResistance in interface ICustomNpc
        -
        Returns:
        -
        Returns Explosion Resistance
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        setMeleeResistance

        -
        public void setMeleeResistance(float resistance)
        -
        -
        Specified by:
        -
        setMeleeResistance in interface ICustomNpc
        -
        Parameters:
        -
        resistance - Melee resistance (0-2) default is 1
        -
        -
      • -
      - - - -
        -
      • -

        getMeleeResistance

        -
        public float getMeleeResistance()
        -
        -
        Specified by:
        -
        getMeleeResistance in interface ICustomNpc
        -
        Returns:
        -
        Returns Melee Resistance
        -
        -
      • -
      - - - -
        -
      • -

        setArrowResistance

        -
        public void setArrowResistance(float resistance)
        -
        -
        Specified by:
        -
        setArrowResistance in interface ICustomNpc
        -
        Parameters:
        -
        resistance - Arrow resistance (0-2) default is 1
        -
        -
      • -
      - - - -
        -
      • -

        getArrowResistance

        -
        public float getArrowResistance()
        -
        -
        Specified by:
        -
        getArrowResistance in interface ICustomNpc
        -
        Returns:
        -
        Returns Arrow Resistance
        -
        -
      • -
      - - - -
        -
      • -

        setKnockbackResistance

        -
        public void setKnockbackResistance(float resistance)
        -
        -
        Specified by:
        -
        setKnockbackResistance in interface ICustomNpc
        -
        Parameters:
        -
        resistance - Knockback resistance (0-2) default is 1
        -
        -
      • -
      - - - -
        -
      • -

        getKnockbackResistance

        -
        public float getKnockbackResistance()
        -
        -
        Specified by:
        -
        getKnockbackResistance in interface ICustomNpc
        -
        Returns:
        -
        Returns Knockback Resistance
        -
        -
      • -
      - - - -
        -
      • -

        setRetaliateType

        -
        public void setRetaliateType(int type)
        -
        -
        Specified by:
        -
        setRetaliateType in interface ICustomNpc
        -
        Parameters:
        -
        type - Retaliation type. 0:normal, 1:panic, 2:retreat, 3:nothing
        -
        -
      • -
      - - - -
        -
      • -

        getCombatRegen

        -
        public float getCombatRegen()
        -
        -
        Specified by:
        -
        getCombatRegen in interface ICustomNpc
        -
        Returns:
        -
        Returns the combat health regen per second
        -
        -
      • -
      - - - -
        -
      • -

        setCombatRegen

        -
        public void setCombatRegen(float regen)
        -
        -
        Specified by:
        -
        setCombatRegen in interface ICustomNpc
        -
        Parameters:
        -
        regen - The combat health regen per second
        -
        -
      • -
      - - - -
        -
      • -

        getHealthRegen

        -
        public float getHealthRegen()
        -
        -
        Specified by:
        -
        getHealthRegen in interface ICustomNpc
        -
        Returns:
        -
        Returns the health regen per second when not in combat
        -
        -
      • -
      - - - -
        -
      • -

        setHealthRegen

        -
        public void setHealthRegen(float regen)
        -
        -
        Specified by:
        -
        setHealthRegen in interface ICustomNpc
        -
        Parameters:
        -
        regen - The health regen per second when not in combat
        -
        -
      • -
      - - - -
        -
      • -

        getCanDrown

        -
        public boolean getCanDrown()
        -
        -
        Specified by:
        -
        getCanDrown in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setCanDrown

        -
        public void setCanDrown(boolean d)
        -
        -
        Specified by:
        -
        setCanDrown in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getAge

        -
        public long getAge()
        -
        -
        Specified by:
        -
        getAge in interface ICustomNpc
        -
        Specified by:
        -
        getAge in interface IEntity
        -
        Overrides:
        -
        getAge in class ScriptEntity<T extends noppes.npcs.entity.EntityNPCInterface>
        -
        Returns:
        -
        The age of this entity in ticks
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setFly

        -
        public void setFly(int fly)
        -
        -
        Specified by:
        -
        setFly in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        canFly

        -
        public boolean canFly()
        -
        -
        Specified by:
        -
        canFly in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setFlySpeed

        -
        public void setFlySpeed(double flySpeed)
        -
        -
        Specified by:
        -
        setFlySpeed in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getFlySpeed

        -
        public double getFlySpeed(double flySpeed)
        -
        -
        Specified by:
        -
        getFlySpeed in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setFlyGravity

        -
        public void setFlyGravity(double flyGravity)
        -
        -
        Specified by:
        -
        setFlyGravity in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getFlyGravity

        -
        public double getFlyGravity(double flySpeed)
        -
        -
        Specified by:
        -
        getFlyGravity in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setFlyHeightLimit

        -
        public void setFlyHeightLimit(int flyHeightLimit)
        -
        -
        Specified by:
        -
        setFlyHeightLimit in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getFlyHeightLimit

        -
        public int getFlyHeightLimit(int flyHeightLimit)
        -
        -
        Specified by:
        -
        getFlyHeightLimit in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        limitFlyHeight

        -
        public void limitFlyHeight(boolean limit)
        -
        -
        Specified by:
        -
        limitFlyHeight in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        isFlyHeightLimited

        -
        public boolean isFlyHeightLimited(boolean limit)
        -
        -
        Specified by:
        -
        isFlyHeightLimited in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setSpeed

        -
        public void setSpeed(int speed)
        -
        -
        Specified by:
        -
        setSpeed in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getSpeed

        -
        public int getSpeed()
        -
        -
        Specified by:
        -
        getSpeed in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setSkinType

        -
        public void setSkinType(byte type)
        -
        -
        Specified by:
        -
        setSkinType in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getSkinType

        -
        public byte getSkinType()
        -
        -
        Specified by:
        -
        getSkinType in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setSkinUrl

        -
        public void setSkinUrl(java.lang.String url)
        -
        -
        Specified by:
        -
        setSkinUrl in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getSkinUrl

        -
        public java.lang.String getSkinUrl()
        -
        -
        Specified by:
        -
        getSkinUrl in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setCloakTexture

        -
        public void setCloakTexture(java.lang.String cloakTexture)
        -
        -
        Specified by:
        -
        setCloakTexture in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getCloakTexture

        -
        public java.lang.String getCloakTexture()
        -
        -
        Specified by:
        -
        getCloakTexture in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        setOverlayTexture

        -
        public void setOverlayTexture(java.lang.String overlayTexture)
        -
        -
        Specified by:
        -
        setOverlayTexture in interface ICustomNpc
        -
        -
      • -
      - - - -
        -
      • -

        getOverlayTexture

        -
        public java.lang.String getOverlayTexture()
        -
        -
        Specified by:
        -
        getOverlayTexture in interface ICustomNpc
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setCollisionType

        -
        public void setCollisionType(int type)
        -
        -
        Specified by:
        -
        setCollisionType in interface ICustomNpc
        -
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/ScriptPixelmon.html b/docs/noppes/npcs/scripted/entity/ScriptPixelmon.html deleted file mode 100644 index 992cc103e..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptPixelmon.html +++ /dev/null @@ -1,775 +0,0 @@ - - - - - -ScriptPixelmon - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptPixelmon<T extends net.minecraft.entity.passive.EntityTameable>

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptPixelmon

        -
        public ScriptPixelmon(T pixelmon)
        -
      • -
      - - - - - -
        -
      • -

        ScriptPixelmon

        -
        public ScriptPixelmon(T pixelmon,
        -                      net.minecraft.nbt.NBTTagCompound compound)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getIsShiny

        -
        public boolean getIsShiny()
        -
        -
        Specified by:
        -
        getIsShiny in interface IPixelmon
        -
        -
      • -
      - - - -
        -
      • -

        setIsShiny

        -
        public void setIsShiny(boolean bo)
        -
        -
        Specified by:
        -
        setIsShiny in interface IPixelmon
        -
        -
      • -
      - - - -
        -
      • -

        getLevel

        -
        public int getLevel()
        -
        -
        Specified by:
        -
        getLevel in interface IPixelmon
        -
        -
      • -
      - - - -
        -
      • -

        setLevel

        -
        public void setLevel(int level)
        -
        -
        Specified by:
        -
        setLevel in interface IPixelmon
        -
        -
      • -
      - - - -
        -
      • -

        getIV

        -
        public int getIV(int type)
        -
        -
        Specified by:
        -
        getIV in interface IPixelmon
        -
        Parameters:
        -
        type - 0:HP, 1:Attack, 2:Defense, 3:SpAttack, 4:SpDefense, 5:Speed
        -
        -
      • -
      - - - -
        -
      • -

        setIV

        -
        public void setIV(int type,
        -                  int value)
        -
        -
        Specified by:
        -
        setIV in interface IPixelmon
        -
        Parameters:
        -
        type - 0:HP, 1:Attack, 2:Defense, 3:SpAttack, 4:SpDefense, 5:Speed
        -
        -
      • -
      - - - -
        -
      • -

        getEV

        -
        public int getEV(int type)
        -
        -
        Specified by:
        -
        getEV in interface IPixelmon
        -
        Parameters:
        -
        type - 0:HP, 1:Attack, 2:Defense, 3:SpAttack, 4:SpDefense, 5:Speed
        -
        -
      • -
      - - - -
        -
      • -

        setEV

        -
        public void setEV(int type,
        -                  int value)
        -
        -
        Specified by:
        -
        setEV in interface IPixelmon
        -
        Parameters:
        -
        type - 0:HP, 1:Attack, 2:Defense, 3:SpAttack, 4:SpDefense, 5:Speed
        -
        -
      • -
      - - - -
        -
      • -

        getStat

        -
        public int getStat(int type)
        -
        -
        Specified by:
        -
        getStat in interface IPixelmon
        -
        Parameters:
        -
        type - 0:HP, 1:Attack, 2:Defense, 3:SpAttack, 4:SpDefense, 5:Speed
        -
        -
      • -
      - - - -
        -
      • -

        setStat

        -
        public void setStat(int type,
        -                    int value)
        -
        -
        Specified by:
        -
        setStat in interface IPixelmon
        -
        Parameters:
        -
        type - 0:HP, 1:Attack, 2:Defense, 3:SpAttack, 4:SpDefense, 5:Speed
        -
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public int getSize()
        -
        -
        Specified by:
        -
        getSize in interface IPixelmon
        -
        Returns:
        -
        type 0:Pygmy, 1:Runt, 2:Small, 3:Normal, 4:Huge, 5:Giant, 6:Enormous, 7:Ginormous, 8:Microscopic
        -
        -
      • -
      - - - -
        -
      • -

        setSize

        -
        public void setSize(int type)
        -
        -
        Specified by:
        -
        setSize in interface IPixelmon
        -
        Parameters:
        -
        type - 0:Pygmy, 1:Runt, 2:Small, 3:Normal, 4:Huge, 5:Giant, 6:Enormous, 7:Ginormous, 8:Microscopic
        -
        -
      • -
      - - - -
        -
      • -

        getHapiness

        -
        public int getHapiness()
        -
        -
        Specified by:
        -
        getHapiness in interface IPixelmon
        -
        Returns:
        -
        0-255
        -
        -
      • -
      - - - -
        -
      • -

        setHapiness

        -
        public void setHapiness(int value)
        -
        -
        Specified by:
        -
        setHapiness in interface IPixelmon
        -
        Parameters:
        -
        value - 0-255
        -
        -
      • -
      - - - -
        -
      • -

        getNature

        -
        public int getNature()
        -
        -
        Specified by:
        -
        getNature in interface IPixelmon
        -
        Returns:
        -
        0:Hardy, 1:Serious, 2:Docile, 3:Bashful, 4:Quirky, 5:Lonely, 6:Brave, 7:Adamant, 8:Naughty, 9:Bold, 10:Relaxed, 11:Impish, 12:Lax, 13:Timid, 14:Hasty, 15:Jolly, 16:Naive, 17:Modest, 18:Mild, 19:Quiet, 20:Rash, 21:Calm, 22:Gentle, 23:Sassy, 24:Careful
        -
        -
      • -
      - - - -
        -
      • -

        setNature

        -
        public void setNature(int type)
        -
        -
        Specified by:
        -
        setNature in interface IPixelmon
        -
        Parameters:
        -
        type - 0:Hardy, 1:Serious, 2:Docile, 3:Bashful, 4:Quirky, 5:Lonely, 6:Brave, 7:Adamant, 8:Naughty, 9:Bold, 10:Relaxed, 11:Impish, 12:Lax, 13:Timid, 14:Hasty, 15:Jolly, 16:Naive, 17:Modest, 18:Mild, 19:Quiet, 20:Rash, 21:Calm, 22:Gentle, 23:Sassy, 24:Careful
        -
        -
      • -
      - - - -
        -
      • -

        getPokeball

        -
        public int getPokeball()
        -
        -
        Specified by:
        -
        getPokeball in interface IPixelmon
        -
        Returns:
        -
        -1:Uncaught, 0:Pokeball, 1:GreatBall, 2:UltraBall, 3:MasterBall, 4:LevelBall, 5:MoonBall, 6:FriendBall, 7:LoveBall, 8:SafariBall, 9:HeavyBall, 10:FastBall, 11:RepeatBall, 12:TimerBall, 13:NestBall, 14:NetBall, 15:DiveBall, 16:LuxuryBall, 17:HealBall, 18:DuskBall, 19:PremierBall, 20:SportBall, 21:QuickBall, 22:ParkBall, 23:LureBall, 24:CherishBall, 25:GSBall
        -
        -
      • -
      - - - -
        -
      • -

        setPokeball

        -
        public void setPokeball(int type)
        -
        -
        Specified by:
        -
        setPokeball in interface IPixelmon
        -
        Parameters:
        -
        type - -1:Uncaught, 0:Pokeball, 1:GreatBall, 2:UltraBall, 3:MasterBall, 4:LevelBall, 5:MoonBall, 6:FriendBall, 7:LoveBall, 8:SafariBall, 9:HeavyBall, 10:FastBall, 11:RepeatBall, 12:TimerBall, 13:NestBall, 14:NetBall, 15:DiveBall, 16:LuxuryBall, 17:HealBall, 18:DuskBall, 19:PremierBall, 20:SportBall, 21:QuickBall, 22:ParkBall, 23:LureBall, 24:CherishBall, 25:GSBall
        -
        -
      • -
      - - - -
        -
      • -

        getNickname

        -
        public java.lang.String getNickname()
        -
        -
        Specified by:
        -
        getNickname in interface IPixelmon
        -
        -
      • -
      - - - -
        -
      • -

        hasNickname

        -
        public boolean hasNickname()
        -
        -
        Specified by:
        -
        hasNickname in interface IPixelmon
        -
        -
      • -
      - - - -
        -
      • -

        setNickname

        -
        public void setNickname(java.lang.String name)
        -
        -
        Specified by:
        -
        setNickname in interface IPixelmon
        -
        -
      • -
      - - - -
        -
      • -

        getMove

        -
        public java.lang.String getMove(int slot)
        -
        -
        Specified by:
        -
        getMove in interface IPixelmon
        -
        -
      • -
      - - - -
        -
      • -

        setMove

        -
        public void setMove(int slot,
        -                    java.lang.String move)
        -
        -
        Specified by:
        -
        setMove in interface IPixelmon
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/ScriptPlayer.html b/docs/noppes/npcs/scripted/entity/ScriptPlayer.html deleted file mode 100644 index 58ca3b9e0..000000000 --- a/docs/noppes/npcs/scripted/entity/ScriptPlayer.html +++ /dev/null @@ -1,1805 +0,0 @@ - - - - - -ScriptPlayer - - - - - - - - -
- - - - - - - -
- - - -
-
noppes.npcs.scripted.entity
-

Class ScriptPlayer<T extends net.minecraft.entity.player.EntityPlayerMP>

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        player

        -
        public T extends net.minecraft.entity.player.EntityPlayerMP player
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        ScriptPlayer

        -
        public ScriptPlayer(T player)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDisplayName

        -
        public java.lang.String getDisplayName()
        -
        -
        Specified by:
        -
        getDisplayName in interface IPlayer
        -
        Returns:
        -
        Returns the displayed name of the player
        -
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        -
        Specified by:
        -
        getName in interface IPlayer
        -
        Returns:
        -
        Returns the players name
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setPosition

        -
        public void setPosition(double x,
        -                        double y,
        -                        double z)
        -
        -
        Specified by:
        -
        setPosition in interface IEntity
        -
        Specified by:
        -
        setPosition in interface IPlayer
        -
        Overrides:
        -
        setPosition in class ScriptEntity<T extends net.minecraft.entity.player.EntityPlayerMP>
        -
        Parameters:
        -
        x - The x position
        -
        y - The y position
        -
        z - The z position
        -
        -
      • -
      - - - -
        -
      • -

        setPosition

        -
        public void setPosition(double x,
        -                        double y,
        -                        double z,
        -                        int dimensionId)
        -
        -
        Specified by:
        -
        setPosition in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getHunger

        -
        public int getHunger()
        -
        -
        Specified by:
        -
        getHunger in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setHunger

        -
        public void setHunger(int hunger)
        -
        -
        Specified by:
        -
        setHunger in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getSaturation

        -
        public float getSaturation()
        -
        -
        Specified by:
        -
        getSaturation in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setSaturation

        -
        public void setSaturation(float saturation)
        -
        -
        Specified by:
        -
        setSaturation in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        hasFinishedQuest

        -
        public boolean hasFinishedQuest(int id)
        -
        -
        Specified by:
        -
        hasFinishedQuest in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        hasActiveQuest

        -
        public boolean hasActiveQuest(int id)
        -
        -
        Specified by:
        -
        hasActiveQuest in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        showDialog

        -
        public void showDialog(int id)
        -
      • -
      - - - -
        -
      • -

        hasReadDialog

        -
        public boolean hasReadDialog(int id)
        -
        -
        Specified by:
        -
        hasReadDialog in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        readDialog

        -
        public void readDialog(int id)
        -
        -
        Specified by:
        -
        readDialog in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        unreadDialog

        -
        public void unreadDialog(int id)
        -
        -
        Specified by:
        -
        unreadDialog in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        startQuest

        -
        public void startQuest(int id)
        -
        Add the quest from active quest list
        -
        -
        Specified by:
        -
        startQuest in interface IPlayer
        -
        Parameters:
        -
        id - The Quest ID
        -
        -
      • -
      - - - -
        -
      • -

        finishQuest

        -
        public void finishQuest(int id)
        -
        Add the quest from finished quest list
        -
        -
        Specified by:
        -
        finishQuest in interface IPlayer
        -
        Parameters:
        -
        id - The Quest ID
        -
        -
      • -
      - - - -
        -
      • -

        stopQuest

        -
        public void stopQuest(int id)
        -
        Removes the quest from active quest list
        -
        -
        Specified by:
        -
        stopQuest in interface IPlayer
        -
        Parameters:
        -
        id - The Quest ID
        -
        -
      • -
      - - - -
        -
      • -

        removeQuest

        -
        public void removeQuest(int id)
        -
        Removes the quest from active and finished quest list
        -
        -
        Specified by:
        -
        removeQuest in interface IPlayer
        -
        Parameters:
        -
        id - The Quest ID
        -
        -
      • -
      - - - - - - - -
        -
      • -

        typeOf

        -
        public boolean typeOf(int type)
        -
        -
        Specified by:
        -
        typeOf in interface IEntity
        -
        Specified by:
        -
        typeOf in interface IEntityLivingBase
        -
        Specified by:
        -
        typeOf in interface IPlayer
        -
        Overrides:
        -
        typeOf in class ScriptLivingBase<T extends net.minecraft.entity.player.EntityPlayerMP>
        -
        Parameters:
        -
        type - @EntityType to check
        -
        Returns:
        -
        Returns whether the entity is type of the given @EntityType
        -
        -
      • -
      - - - -
        -
      • -

        addFactionPoints

        -
        public void addFactionPoints(int faction,
        -                             int points)
        -
        -
        Specified by:
        -
        addFactionPoints in interface IPlayer
        -
        Parameters:
        -
        faction - The faction id
        -
        points - The points to increase. Use negative values to decrease
        -
        -
      • -
      - - - -
        -
      • -

        setFactionPoints

        -
        public void setFactionPoints(int faction,
        -                             int points)
        -
        -
        Specified by:
        -
        setFactionPoints in interface IPlayer
        -
        Parameters:
        -
        faction - The faction id
        -
        points - The new point value for this faction
        -
        -
      • -
      - - - -
        -
      • -

        getFactionPoints

        -
        public int getFactionPoints(int faction)
        -
        -
        Specified by:
        -
        getFactionPoints in interface IPlayer
        -
        Parameters:
        -
        faction - The faction id
        -
        Returns:
        -
        points
        -
        -
      • -
      - - - -
        -
      • -

        sendMessage

        -
        public void sendMessage(java.lang.String message)
        -
        -
        Specified by:
        -
        sendMessage in interface IPlayer
        -
        Parameters:
        -
        message - The message you want to send. Compatible with formatting codes, which can be found on the attached link.
        -
        See Also:
        -
        Minecraft formatting codes
        -
        -
      • -
      - - - -
        -
      • -

        sendMessage

        -
        public void sendMessage(java.lang.String message,
        -                        java.lang.String color,
        -                        boolean bold,
        -                        boolean italic,
        -                        boolean underlined)
        -
      • -
      - - - -
        -
      • -

        sendMessage

        -
        public void sendMessage(java.lang.String message,
        -                        java.lang.String color,
        -                        boolean bold,
        -                        boolean italic,
        -                        boolean obfuscated,
        -                        boolean strikethrough,
        -                        boolean underlined)
        -
      • -
      - - - -
        -
      • -

        getMode

        -
        public int getMode()
        -
        -
        Specified by:
        -
        getMode in interface IPlayer
        -
        Returns:
        -
        Return gamemode. 0: Survival, 1: Creative, 2: Adventure
        -
        -
      • -
      - - - -
        -
      • -

        setMode

        -
        public void setMode(int type)
        -
        -
        Specified by:
        -
        setMode in interface IPlayer
        -
        Parameters:
        -
        type - The gamemode type. 0:SURVIVAL, 1:CREATIVE, 2:ADVENTURE
        -
        -
      • -
      - - - -
        -
      • -

        getInventory

        -
        public IItemStack[] getInventory()
        -
        -
        Specified by:
        -
        getInventory in interface IPlayer
        -
        Returns:
        -
        Returns a IItemStack array size 36
        -
        Since:
        -
        1.7.10d
        -
        -
      • -
      - - - -
        -
      • -

        inventoryItemCount

        -
        public int inventoryItemCount(IItemStack item)
        -
      • -
      - - - -
        -
      • -

        inventoryItemCount

        -
        public int inventoryItemCount(IItemStack item,
        -                              boolean ignoreNBT,
        -                              boolean ignoreDamage)
        -
        -
        Specified by:
        -
        inventoryItemCount in interface IPlayer
        -
        Parameters:
        -
        item - The item to be checked
        -
        ignoreNBT - Whether the item's NBT tags will be checked to be equal
        -
        ignoreDamage - Whether the item's damage will be checked to be equal
        -
        Returns:
        -
        How many of this item the player has
        -
        -
      • -
      - - - -
        -
      • -

        removeItem

        -
        public boolean removeItem(java.lang.String id,
        -                          int damage,
        -                          int amount)
        -
        -
        Specified by:
        -
        removeItem in interface IPlayer
        -
        Parameters:
        -
        id - The items name
        -
        damage - The damage value
        -
        amount - How many will be removed
        -
        Returns:
        -
        Returns true if the items were removed succesfully. Returns false incase a bigger amount than what the player has was given or item doesnt exist
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        removeItem

        -
        public boolean removeItem(IItemStack item,
        -                          int amount)
        -
      • -
      - - - -
        -
      • -

        removeItem

        -
        public boolean removeItem(IItemStack item,
        -                          int amount,
        -                          boolean ignoreNBT,
        -                          boolean ignoreDamage)
        -
        -
        Specified by:
        -
        removeItem in interface IPlayer
        -
        Parameters:
        -
        item - The Item type to be removed
        -
        amount - How many will be removed
        -
        ignoreNBT - Whether the item's NBT tags will be checked to be equal
        -
        ignoreDamage - Whether the item's damage will be checked to be equal
        -
        Returns:
        -
        Returns true if the items were removed succesfully. Returns false incase a bigger amount than what the player has was given
        -
        -
      • -
      - - - -
        -
      • -

        removeAllItems

        -
        public void removeAllItems(IItemStack item)
        -
      • -
      - - - -
        -
      • -

        removeAllItems

        -
        public int removeAllItems(IItemStack item,
        -                          boolean ignoreNBT,
        -                          boolean ignoreDamage)
        -
        -
        Specified by:
        -
        removeAllItems in interface IPlayer
        -
        Parameters:
        -
        item - The item to be removed from the players inventory
        -
        ignoreNBT - Whether the item's NBT tags will be checked to be equal
        -
        ignoreDamage - Whether the item's damage will be checked to be equal
        -
        Returns:
        -
        The amount of item stacks that were removed
        -
        -
      • -
      - - - -
        -
      • -

        giveItem

        -
        public boolean giveItem(IItemStack item,
        -                        int amount)
        -
        -
        Specified by:
        -
        giveItem in interface IPlayer
        -
        Parameters:
        -
        item - Item to be added
        -
        amount - The amount of the item to be added
        -
        Returns:
        -
        Returns whether or not it gave the item succesfully
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        giveItem

        -
        public boolean giveItem(java.lang.String id,
        -                        int damage,
        -                        int amount)
        -
        -
        Specified by:
        -
        giveItem in interface IPlayer
        -
        Parameters:
        -
        id - The items name
        -
        damage - The damage value
        -
        amount - The amount of the item to be added
        -
        Returns:
        -
        Returns whether or not it gave the item succesfully
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        setSpawnpoint

        -
        public void setSpawnpoint(int x,
        -                          int y,
        -                          int z)
        -
        Same as the /spawnpoint command
        -
        -
        Specified by:
        -
        setSpawnpoint in interface IPlayer
        -
        Parameters:
        -
        x - The x position
        -
        y - The y position
        -
        z - The z position
        -
        -
      • -
      - - - -
        -
      • -

        resetSpawnpoint

        -
        public void resetSpawnpoint()
        -
        -
        Specified by:
        -
        resetSpawnpoint in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        clearInventory

        -
        public void clearInventory()
        -
        -
        Specified by:
        -
        clearInventory in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        setRotation

        -
        public void setRotation(float rotationYaw)
        -
        -
        Specified by:
        -
        setRotation in interface IEntity
        -
        Overrides:
        -
        setRotation in class ScriptEntity<T extends net.minecraft.entity.player.EntityPlayerMP>
        -
        Parameters:
        -
        rotationYaw - The rotation to be set (0-360)
        -
        -
      • -
      - - - -
        -
      • -

        setRotation

        -
        public void setRotation(float rotationYaw,
        -                        float rotationPitch)
        -
        -
        Specified by:
        -
        setRotation in interface IPlayer
        -
        -
      • -
      - - - - - - - -
        -
      • -

        disableMouseInput

        -
        public void disableMouseInput(long time,
        -                              int... buttonIds)
        -
        -
        Specified by:
        -
        disableMouseInput in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        stopUsingItem

        -
        public void stopUsingItem()
        -
        -
        Specified by:
        -
        stopUsingItem in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        clearItemInUse

        -
        public void clearItemInUse()
        -
        -
        Specified by:
        -
        clearItemInUse in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        playSound

        -
        public void playSound(java.lang.String name,
        -                      float volume,
        -                      float pitch)
        -
        -
        Specified by:
        -
        playSound in interface IPlayer
        -
        Overrides:
        -
        playSound in class ScriptEntity<T extends net.minecraft.entity.player.EntityPlayerMP>
        -
        -
      • -
      - - - -
        -
      • -

        mountEntity

        -
        public void mountEntity(net.minecraft.entity.Entity ridingEntity)
        -
        -
        Specified by:
        -
        mountEntity in interface IPlayer
        -
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        hasAchievement

        -
        public boolean hasAchievement(java.lang.String achievement)
        -
        -
        Specified by:
        -
        hasAchievement in interface IPlayer
        -
        Parameters:
        -
        achievement - The achievement id. For a complete list see http://minecraft.gamepedia.com/Achievements
        -
        Returns:
        -
        Returns whether or not the player has this achievement
        -
        -
      • -
      - - - -
        -
      • -

        hasBukkitPermission

        -
        public boolean hasBukkitPermission(java.lang.String permission)
        -
        -
        Specified by:
        -
        hasBukkitPermission in interface IPlayer
        -
        Parameters:
        -
        permission - Bukkit/Cauldron permission
        -
        Returns:
        -
        Returns whether or not the player has the permission
        -
        -
      • -
      - - - -
        -
      • -

        getExpLevel

        -
        public int getExpLevel()
        -
        -
        Specified by:
        -
        getExpLevel in interface IPlayer
        -
        Returns:
        -
        Returns the exp level
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        setExpLevel

        -
        public void setExpLevel(int level)
        -
        -
        Specified by:
        -
        setExpLevel in interface IPlayer
        -
        Parameters:
        -
        level - The new exp level you want to set
        -
        Since:
        -
        1.7.10c
        -
        -
      • -
      - - - -
        -
      • -

        getPixelmonData

        -
        public noppes.npcs.scripted.ScriptPixelmonPlayerData getPixelmonData()
        -
        Requires pixelmon to be installed
        -
        -
        Specified by:
        -
        getPixelmonData in interface IPlayer
        -
        Since:
        -
        1.7.10d
        -
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        checkGUIOpen

        -
        @Deprecated
        -public boolean checkGUIOpen()
        -
        Deprecated. 
        -
      • -
      - - - - - - - -
        -
      • -

        blocking

        -
        public boolean blocking()
        -
        -
        Specified by:
        -
        blocking in interface IPlayer
        -
        -
      • -
      - - - -
        -
      • -

        getData

        -
        public noppes.npcs.controllers.data.PlayerData getData()
        -
        -
        Specified by:
        -
        getData in interface IPlayer
        -
        -
      • -
      - - - - - - - - - - - - - - - - - - - -
        -
      • -

        closeGui

        -
        public void closeGui()
        -
        -
        Specified by:
        -
        closeGui in interface IPlayer
        -
        -
      • -
      - - - - - - - -
        -
      • -

        closeOverlay

        -
        public void closeOverlay(int id)
        -
        -
        Specified by:
        -
        closeOverlay in interface IPlayer
        -
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/entity/package-frame.html b/docs/noppes/npcs/scripted/entity/package-frame.html deleted file mode 100644 index f1faf1ff7..000000000 --- a/docs/noppes/npcs/scripted/entity/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -noppes.npcs.scripted.entity - - - - - -

noppes.npcs.scripted.entity

-
-

Classes

- -
- - diff --git a/docs/noppes/npcs/scripted/entity/package-tree.html b/docs/noppes/npcs/scripted/entity/package-tree.html deleted file mode 100644 index 4d10cceed..000000000 --- a/docs/noppes/npcs/scripted/entity/package-tree.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -noppes.npcs.scripted.entity Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package noppes.npcs.scripted.entity

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/docs/noppes/npcs/scripted/event/CustomGuiEvent.ButtonEvent.html b/docs/noppes/npcs/scripted/event/CustomGuiEvent.ButtonEvent.html index 6d63dd285..add105662 100644 --- a/docs/noppes/npcs/scripted/event/CustomGuiEvent.ButtonEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomGuiEvent.ButtonEvent.html @@ -2,9 +2,9 @@ - + CustomGuiEvent.ButtonEvent - + diff --git a/docs/noppes/npcs/scripted/event/CustomGuiEvent.CloseEvent.html b/docs/noppes/npcs/scripted/event/CustomGuiEvent.CloseEvent.html index 286b47f69..0966fc536 100644 --- a/docs/noppes/npcs/scripted/event/CustomGuiEvent.CloseEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomGuiEvent.CloseEvent.html @@ -2,9 +2,9 @@ - + CustomGuiEvent.CloseEvent - + diff --git a/docs/noppes/npcs/scripted/event/CustomGuiEvent.ScrollEvent.html b/docs/noppes/npcs/scripted/event/CustomGuiEvent.ScrollEvent.html index 81403444c..af1e86f1b 100644 --- a/docs/noppes/npcs/scripted/event/CustomGuiEvent.ScrollEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomGuiEvent.ScrollEvent.html @@ -2,9 +2,9 @@ - + CustomGuiEvent.ScrollEvent - + diff --git a/docs/noppes/npcs/scripted/event/CustomGuiEvent.SlotClickEvent.html b/docs/noppes/npcs/scripted/event/CustomGuiEvent.SlotClickEvent.html index 882e4f06b..dad167bde 100644 --- a/docs/noppes/npcs/scripted/event/CustomGuiEvent.SlotClickEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomGuiEvent.SlotClickEvent.html @@ -2,9 +2,9 @@ - + CustomGuiEvent.SlotClickEvent - + diff --git a/docs/noppes/npcs/scripted/event/CustomGuiEvent.SlotEvent.html b/docs/noppes/npcs/scripted/event/CustomGuiEvent.SlotEvent.html index 7624aad7b..d1c89b6d6 100644 --- a/docs/noppes/npcs/scripted/event/CustomGuiEvent.SlotEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomGuiEvent.SlotEvent.html @@ -2,9 +2,9 @@ - + CustomGuiEvent.SlotEvent - + diff --git a/docs/noppes/npcs/scripted/event/CustomGuiEvent.UnfocusedEvent.html b/docs/noppes/npcs/scripted/event/CustomGuiEvent.UnfocusedEvent.html index 35dc67f12..a188ee12e 100644 --- a/docs/noppes/npcs/scripted/event/CustomGuiEvent.UnfocusedEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomGuiEvent.UnfocusedEvent.html @@ -2,9 +2,9 @@ - + CustomGuiEvent.UnfocusedEvent - + diff --git a/docs/noppes/npcs/scripted/event/CustomGuiEvent.html b/docs/noppes/npcs/scripted/event/CustomGuiEvent.html index 11151ee2f..4d5185252 100644 --- a/docs/noppes/npcs/scripted/event/CustomGuiEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomGuiEvent.html @@ -2,9 +2,9 @@ - + CustomGuiEvent - + diff --git a/docs/noppes/npcs/scripted/event/CustomNPCsEvent.CNPCNaturalSpawnEvent.html b/docs/noppes/npcs/scripted/event/CustomNPCsEvent.CNPCNaturalSpawnEvent.html index 78b0b9872..85c70b928 100644 --- a/docs/noppes/npcs/scripted/event/CustomNPCsEvent.CNPCNaturalSpawnEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomNPCsEvent.CNPCNaturalSpawnEvent.html @@ -2,9 +2,9 @@ - + CustomNPCsEvent.CNPCNaturalSpawnEvent - + diff --git a/docs/noppes/npcs/scripted/event/CustomNPCsEvent.html b/docs/noppes/npcs/scripted/event/CustomNPCsEvent.html index bcc76bb37..571457fe6 100644 --- a/docs/noppes/npcs/scripted/event/CustomNPCsEvent.html +++ b/docs/noppes/npcs/scripted/event/CustomNPCsEvent.html @@ -2,9 +2,9 @@ - + CustomNPCsEvent - + diff --git a/docs/noppes/npcs/scripted/event/DialogEvent.DialogClosed.html b/docs/noppes/npcs/scripted/event/DialogEvent.DialogClosed.html index 545123c62..2bbc124aa 100644 --- a/docs/noppes/npcs/scripted/event/DialogEvent.DialogClosed.html +++ b/docs/noppes/npcs/scripted/event/DialogEvent.DialogClosed.html @@ -2,9 +2,9 @@ - + DialogEvent.DialogClosed - + diff --git a/docs/noppes/npcs/scripted/event/DialogEvent.DialogOpen.html b/docs/noppes/npcs/scripted/event/DialogEvent.DialogOpen.html index 44775564b..5589911ab 100644 --- a/docs/noppes/npcs/scripted/event/DialogEvent.DialogOpen.html +++ b/docs/noppes/npcs/scripted/event/DialogEvent.DialogOpen.html @@ -2,9 +2,9 @@ - + DialogEvent.DialogOpen - + diff --git a/docs/noppes/npcs/scripted/event/DialogEvent.DialogOption.html b/docs/noppes/npcs/scripted/event/DialogEvent.DialogOption.html index 37b6b7edd..e037c38ec 100644 --- a/docs/noppes/npcs/scripted/event/DialogEvent.DialogOption.html +++ b/docs/noppes/npcs/scripted/event/DialogEvent.DialogOption.html @@ -2,9 +2,9 @@ - + DialogEvent.DialogOption - + diff --git a/docs/noppes/npcs/scripted/event/DialogEvent.html b/docs/noppes/npcs/scripted/event/DialogEvent.html index 4f12d95cc..bf15d440a 100644 --- a/docs/noppes/npcs/scripted/event/DialogEvent.html +++ b/docs/noppes/npcs/scripted/event/DialogEvent.html @@ -2,9 +2,9 @@ - + DialogEvent - + diff --git a/docs/noppes/npcs/scripted/event/FactionEvent.FactionPoints.html b/docs/noppes/npcs/scripted/event/FactionEvent.FactionPoints.html index 0fd08663b..53b25889a 100644 --- a/docs/noppes/npcs/scripted/event/FactionEvent.FactionPoints.html +++ b/docs/noppes/npcs/scripted/event/FactionEvent.FactionPoints.html @@ -2,9 +2,9 @@ - + FactionEvent.FactionPoints - + diff --git a/docs/noppes/npcs/scripted/event/FactionEvent.html b/docs/noppes/npcs/scripted/event/FactionEvent.html index 63f0fd892..22cbaa14f 100644 --- a/docs/noppes/npcs/scripted/event/FactionEvent.html +++ b/docs/noppes/npcs/scripted/event/FactionEvent.html @@ -2,9 +2,9 @@ - + FactionEvent - + diff --git a/docs/noppes/npcs/scripted/event/ForgeEvent.EntityEvent.html b/docs/noppes/npcs/scripted/event/ForgeEvent.EntityEvent.html index c6044a752..72a56b9f3 100644 --- a/docs/noppes/npcs/scripted/event/ForgeEvent.EntityEvent.html +++ b/docs/noppes/npcs/scripted/event/ForgeEvent.EntityEvent.html @@ -2,9 +2,9 @@ - + ForgeEvent.EntityEvent - + diff --git a/docs/noppes/npcs/scripted/event/ForgeEvent.InitEvent.html b/docs/noppes/npcs/scripted/event/ForgeEvent.InitEvent.html index ccf5c583d..e53666bab 100644 --- a/docs/noppes/npcs/scripted/event/ForgeEvent.InitEvent.html +++ b/docs/noppes/npcs/scripted/event/ForgeEvent.InitEvent.html @@ -2,9 +2,9 @@ - + ForgeEvent.InitEvent - + diff --git a/docs/noppes/npcs/scripted/event/ForgeEvent.WorldEvent.html b/docs/noppes/npcs/scripted/event/ForgeEvent.WorldEvent.html index b916c32f8..ab0704640 100644 --- a/docs/noppes/npcs/scripted/event/ForgeEvent.WorldEvent.html +++ b/docs/noppes/npcs/scripted/event/ForgeEvent.WorldEvent.html @@ -2,9 +2,9 @@ - + ForgeEvent.WorldEvent - + diff --git a/docs/noppes/npcs/scripted/event/ForgeEvent.html b/docs/noppes/npcs/scripted/event/ForgeEvent.html index 809b20703..309a8a19e 100644 --- a/docs/noppes/npcs/scripted/event/ForgeEvent.html +++ b/docs/noppes/npcs/scripted/event/ForgeEvent.html @@ -2,9 +2,9 @@ - + ForgeEvent - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.AttackEvent.html b/docs/noppes/npcs/scripted/event/ItemEvent.AttackEvent.html index 5b7b931ce..069d530db 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.AttackEvent.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.AttackEvent.html @@ -2,9 +2,9 @@ - + ItemEvent.AttackEvent - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.FinishUsingItem.html b/docs/noppes/npcs/scripted/event/ItemEvent.FinishUsingItem.html index 9bd842f38..e6675b924 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.FinishUsingItem.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.FinishUsingItem.html @@ -2,9 +2,9 @@ - + ItemEvent.FinishUsingItem - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.InitEvent.html b/docs/noppes/npcs/scripted/event/ItemEvent.InitEvent.html index f162baf0b..cb4aa465d 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.InitEvent.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.InitEvent.html @@ -2,9 +2,9 @@ - + ItemEvent.InitEvent - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.InteractEvent.html b/docs/noppes/npcs/scripted/event/ItemEvent.InteractEvent.html index 65d8fba74..6f7d1b5d9 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.InteractEvent.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.InteractEvent.html @@ -2,9 +2,9 @@ - + ItemEvent.InteractEvent - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.PickedUpEvent.html b/docs/noppes/npcs/scripted/event/ItemEvent.PickedUpEvent.html index a294e1780..c7bb922c8 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.PickedUpEvent.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.PickedUpEvent.html @@ -2,9 +2,9 @@ - + ItemEvent.PickedUpEvent - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.SpawnEvent.html b/docs/noppes/npcs/scripted/event/ItemEvent.SpawnEvent.html index 4bd5f3f5f..e1f7f7906 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.SpawnEvent.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.SpawnEvent.html @@ -2,9 +2,9 @@ - + ItemEvent.SpawnEvent - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.StartUsingItem.html b/docs/noppes/npcs/scripted/event/ItemEvent.StartUsingItem.html index 0b576aac1..b3f1fe2ee 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.StartUsingItem.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.StartUsingItem.html @@ -2,9 +2,9 @@ - + ItemEvent.StartUsingItem - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.StopUsingItem.html b/docs/noppes/npcs/scripted/event/ItemEvent.StopUsingItem.html index 0b3e87ea9..eb7858cef 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.StopUsingItem.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.StopUsingItem.html @@ -2,9 +2,9 @@ - + ItemEvent.StopUsingItem - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.TossedEvent.html b/docs/noppes/npcs/scripted/event/ItemEvent.TossedEvent.html index 090716851..72905bc31 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.TossedEvent.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.TossedEvent.html @@ -2,9 +2,9 @@ - + ItemEvent.TossedEvent - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.UpdateEvent.html b/docs/noppes/npcs/scripted/event/ItemEvent.UpdateEvent.html index 19d0aa444..0576a6c14 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.UpdateEvent.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.UpdateEvent.html @@ -2,9 +2,9 @@ - + ItemEvent.UpdateEvent - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.UsingItem.html b/docs/noppes/npcs/scripted/event/ItemEvent.UsingItem.html index 0ddb29f68..7615b0c23 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.UsingItem.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.UsingItem.html @@ -2,9 +2,9 @@ - + ItemEvent.UsingItem - + diff --git a/docs/noppes/npcs/scripted/event/ItemEvent.html b/docs/noppes/npcs/scripted/event/ItemEvent.html index f6fee8503..f6e8d39e3 100644 --- a/docs/noppes/npcs/scripted/event/ItemEvent.html +++ b/docs/noppes/npcs/scripted/event/ItemEvent.html @@ -2,9 +2,9 @@ - + ItemEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.CollideEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.CollideEvent.html index 1a786d646..a611dc2bd 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.CollideEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.CollideEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.CollideEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.DamagedEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.DamagedEvent.html index c4b2c84d0..a71f28963 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.DamagedEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.DamagedEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.DamagedEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.DialogClosedEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.DialogClosedEvent.html index f7947babb..d718970d3 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.DialogClosedEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.DialogClosedEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.DialogClosedEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.DialogEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.DialogEvent.html index b34c18adc..b48e10f91 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.DialogEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.DialogEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.DialogEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.DiedEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.DiedEvent.html index f53148251..049692046 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.DiedEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.DiedEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.DiedEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.InitEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.InitEvent.html index 3a49ef877..9088d3411 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.InitEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.InitEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.InitEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.InteractEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.InteractEvent.html index 4b3a4c508..c32d342ad 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.InteractEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.InteractEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.InteractEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.KilledEntityEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.KilledEntityEvent.html index 004fd9ed3..5e5e900c2 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.KilledEntityEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.KilledEntityEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.KilledEntityEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.MeleeAttackEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.MeleeAttackEvent.html index c243a67d5..d1f6230f1 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.MeleeAttackEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.MeleeAttackEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.MeleeAttackEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.RangedLaunchedEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.RangedLaunchedEvent.html index bc78012bd..479a4aae8 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.RangedLaunchedEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.RangedLaunchedEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.RangedLaunchedEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.TargetEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.TargetEvent.html index 14ce511d6..64bf9b36e 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.TargetEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.TargetEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.TargetEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.TargetLostEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.TargetLostEvent.html index 4724c8478..870cbb621 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.TargetLostEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.TargetLostEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.TargetLostEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.TimerEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.TimerEvent.html index e7bb67dff..c78cffb43 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.TimerEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.TimerEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.TimerEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.UpdateEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.UpdateEvent.html index 2a3288ee0..0ca624488 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.UpdateEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.UpdateEvent.html @@ -2,9 +2,9 @@ - + NpcEvent.UpdateEvent - + diff --git a/docs/noppes/npcs/scripted/event/NpcEvent.html b/docs/noppes/npcs/scripted/event/NpcEvent.html index c75a3247c..1e6be495d 100644 --- a/docs/noppes/npcs/scripted/event/NpcEvent.html +++ b/docs/noppes/npcs/scripted/event/NpcEvent.html @@ -2,9 +2,9 @@ - + NpcEvent - + diff --git a/docs/noppes/npcs/scripted/event/PlayerEvent.Achievement.html b/docs/noppes/npcs/scripted/event/PlayerEvent.Achievement.html index cc18467e8..bd05cd4d5 100644 --- a/docs/noppes/npcs/scripted/event/PlayerEvent.Achievement.html +++ b/docs/noppes/npcs/scripted/event/PlayerEvent.Achievement.html @@ -2,9 +2,9 @@ - + PlayerEvent.Achievement - + @@ -43,7 +43,7 @@
+ + + + + + + + diff --git a/docs/noppes/npcs/scripted/interfaces/IContainer.html b/docs/noppes/npcs/scripted/interfaces/IContainer.html index 8658d9212..1fe93dfe0 100644 --- a/docs/noppes/npcs/scripted/interfaces/IContainer.html +++ b/docs/noppes/npcs/scripted/interfaces/IContainer.html @@ -2,9 +2,9 @@ - + IContainer - + diff --git a/docs/noppes/npcs/scripted/interfaces/IDamageSource.html b/docs/noppes/npcs/scripted/interfaces/IDamageSource.html index b20cc9158..038cbd131 100644 --- a/docs/noppes/npcs/scripted/interfaces/IDamageSource.html +++ b/docs/noppes/npcs/scripted/interfaces/IDamageSource.html @@ -2,9 +2,9 @@ - + IDamageSource - + diff --git a/docs/noppes/npcs/scripted/interfaces/INbt.html b/docs/noppes/npcs/scripted/interfaces/INbt.html index 9668e0545..4c4c77793 100644 --- a/docs/noppes/npcs/scripted/interfaces/INbt.html +++ b/docs/noppes/npcs/scripted/interfaces/INbt.html @@ -2,9 +2,9 @@ - + INbt - + diff --git a/docs/noppes/npcs/scripted/interfaces/IParticle.html b/docs/noppes/npcs/scripted/interfaces/IParticle.html index e8a1a6736..2cbe9b1ab 100644 --- a/docs/noppes/npcs/scripted/interfaces/IParticle.html +++ b/docs/noppes/npcs/scripted/interfaces/IParticle.html @@ -2,9 +2,9 @@ - + IParticle - + @@ -18,8 +18,8 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":38,"i66":38,"i67":38}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -126,7 +126,7 @@ var activeTableTab = "activeTableTab";

Method Summary

- + @@ -220,105 +220,109 @@ var activeTableTab = "activeTableTab"; - - + + - + - - + + - + - + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + - + - + - + - + - + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +
All Methods Instance Methods Abstract Methods All Methods Instance Methods Abstract Methods Deprecated Methods 
Modifier and Type Method and DescriptiongetMotionZ() 
intgetOffsetX() booleangetNoClip() 
intgetOffsetY() getOffsetX() 
floatgetRotationX1() intgetOffsetY() 
floatgetRotationX2() getRotationX1() 
floatgetRotationXRate() getRotationX2() 
floatgetRotationXRate() 
int getRotationXRateStart() 
float getRotationY1() 
float getRotationY2() 
float getRotationYRate() 
int getRotationYRateStart() 
float getRotationZ1() 
float getRotationZ2() 
float getRotationZRate() 
int getRotationZRateStart() 
float getScale1() 
float getScale2() 
float getScaleRate() 
int getScaleRateStart() 
int getWidth() 
double getX() 
double getY() 
double getZ() 
void setAlpha(float alpha1, float alpha2, float alphaRate, int alphaRateStart) 
void setAmount(int amount) 
void setAnim(int animRate, boolean animLoop, @@ -327,50 +331,54 @@ var activeTableTab = "activeTableTab";
Enables animation on the particle.
void setDirectory(java.lang.String directory) 
void setFacePlayer(boolean facePlayer) 
void setGlows(boolean glows) 
void setHEXColor(int HEXColor, int HEXColor2, float HEXColorRate, int HEXColorStart) 
void setMaxAge(int maxAge) 
void setMotion(double motionX, double motionY, double motionZ, float gravity) 
voidsetNoClip(boolean noClip) 
void setOffset(int offsetX, int offsetY)
The horizontal and vertical offset of the particle's texture from the top-left, starts rendering the particle at this point.
void setPosition(double x, double y, double z) 
void setRotationX(float rotationX1, float rotationX2, @@ -379,7 +387,7 @@ var activeTableTab = "activeTableTab";
Enables rotation about the X axis.
void setRotationY(float rotationY1, float rotationY2, @@ -388,7 +396,7 @@ var activeTableTab = "activeTableTab";
Enables rotation about the Y axis.
void setRotationZ(float rotationZ1, float rotationZ2, @@ -397,34 +405,55 @@ var activeTableTab = "activeTableTab";
Enables rotation about the Y axis.
void setScale(float scale1, float scale2, float scaleRate, int scaleRateStart) 
void setSize(int width, int height)
The width and height of the particle's texture you want to render in pixels.
voidspawnInWorld(noppes.npcs.scripted.ScriptWorld world) 
voidspawnInWorld(noppes.npcs.scripted.ScriptWorld world, - double x, - double y, - double z) 
voidspawnOnEntity(IEntity entity) spawn(IEntity entity) 
voidspawn(IWorld world) 
voidspawn(IWorld world, + double x, + double y, + double z) 
voidspawnInWorld(IWorld world) +
Deprecated. 
+
voidspawnInWorld(IWorld world, + double x, + double y, + double z) +
Deprecated. 
+
voidspawnOnEntity(IEntity entity) +
Deprecated. 
+
@@ -441,42 +470,42 @@ var activeTableTab = "activeTableTab";

Method Detail

- + - + - + + + + + + + + + + + + + @@ -508,6 +573,24 @@ var activeTableTab = "activeTableTab";
boolean getGlows()
+ + + + + + + + diff --git a/docs/noppes/npcs/scripted/interfaces/IPos.html b/docs/noppes/npcs/scripted/interfaces/IPos.html index 408bcc20f..b388ecdbb 100644 --- a/docs/noppes/npcs/scripted/interfaces/IPos.html +++ b/docs/noppes/npcs/scripted/interfaces/IPos.html @@ -2,9 +2,9 @@ - + IPos - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -158,61 +158,57 @@ var activeTableTab = "activeTableTab"; east(int n)  -net.minecraft.util.math.BlockPos -getMCBlockPos()  - - int getX()  - + int getY()  - + int getZ()  - + double[] normalize()
Returns a normalized vector of this block's position, calculated by:
- + IPos north()
Shifts the IPos north by 1 block and returns the new object.
- + IPos north(int n)  - + IPos offset(int direction)
Offsets the block by 1 block in the given direction and returns the resulting IPos object
- + IPos offset(int direction, int n)
Offsets the block by n blocks in the given direction and returns the resulting IPos object
- + IPos south()
Shifts the IPos south by 1 block and returns the new object.
- + IPos south(int n)  - + IPos subtract(int x, int y, @@ -220,29 +216,29 @@ var activeTableTab = "activeTableTab";
Subtracts the IPos' coordinates by each of the parameters given.
- + IPos subtract(IPos pos)
Directly subtracts the coordinates of two IPos objects and returns the resulting IPos difference.
- + IPos up()
Shifts the IPos up by 1 block and returns the new object.
- + IPos up(int n)  - + IPos west()
Shifts the IPos west by 1 block and returns the new object.
- + IPos west(int n)  @@ -528,19 +524,6 @@ var activeTableTab = "activeTableTab"; - - - - diff --git a/docs/noppes/npcs/scripted/interfaces/ISkinOverlay.html b/docs/noppes/npcs/scripted/interfaces/ISkinOverlay.html index 23f870e7d..b142cac59 100644 --- a/docs/noppes/npcs/scripted/interfaces/ISkinOverlay.html +++ b/docs/noppes/npcs/scripted/interfaces/ISkinOverlay.html @@ -2,9 +2,9 @@ - + ISkinOverlay - + diff --git a/docs/noppes/npcs/scripted/interfaces/ITileEntity.html b/docs/noppes/npcs/scripted/interfaces/ITileEntity.html index 567ada1bc..dbba6f325 100644 --- a/docs/noppes/npcs/scripted/interfaces/ITileEntity.html +++ b/docs/noppes/npcs/scripted/interfaces/ITileEntity.html @@ -2,9 +2,9 @@ - + ITileEntity - + diff --git a/docs/noppes/npcs/scripted/interfaces/ITimers.html b/docs/noppes/npcs/scripted/interfaces/ITimers.html index 562c640de..6ad968254 100644 --- a/docs/noppes/npcs/scripted/interfaces/ITimers.html +++ b/docs/noppes/npcs/scripted/interfaces/ITimers.html @@ -2,9 +2,9 @@ - + ITimers - + diff --git a/docs/noppes/npcs/scripted/interfaces/IWorld.html b/docs/noppes/npcs/scripted/interfaces/IWorld.html index 2f2342ea7..43f27bad8 100644 --- a/docs/noppes/npcs/scripted/interfaces/IWorld.html +++ b/docs/noppes/npcs/scripted/interfaces/IWorld.html @@ -2,9 +2,9 @@ - + IWorld - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":38,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":38,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6,"i74":6,"i75":6,"i76":6,"i77":6,"i78":6,"i79":6,"i80":6,"i81":6,"i82":6,"i83":6,"i84":6,"i85":6,"i86":6,"i87":6,"i88":6,"i89":6,"i90":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -186,22 +186,26 @@ var activeTableTab = "activeTableTab"; +void +continueSounds()  + + int countEntities(IEntity entity)  - + IParticle createEntityParticle(java.lang.String directory)
Deprecated. 
- + IItemStack createItem(java.lang.String id, int damage, int size)  - + void explode(double x, double y, @@ -210,236 +214,335 @@ var activeTableTab = "activeTableTab"; boolean fire, boolean grief)  - + IPlayer[] getAllServerPlayers()  - + java.lang.String getBiomeName(int x, int z)  - + IBlock getBlock(int x, int y, int z)  - + IBlock getBlock(IPos pos)  - + int getBlockLightValue(int x, int y, int z)  - + int getBlockMetadata(int x, int y, int z)  - + int getChunkHeightMapMinimum(int x, int z)  - + IPlayer getClosestPlayer(double x, double y, double z, double range)  - + IPlayer getClosestPlayerToEntity(IEntity entity, double range)  - + IPlayer getClosestVulnerablePlayer(double x, double y, double z, double range)  - + IPlayer getClosestVulnerablePlayerToEntity(IEntity entity, double range)  - + int getDimensionID()  - + +IEntity[] +getEntitiesNear(double x, + double y, + double z, + double range)  + + +IEntity[] +getEntitiesNear(IPos position, + double range)  + + IEntity getEntityByID(int id)  - + int getFullBlockLightValue(int x, int y, int z)  - + int getHeightValue(int x, int z)  - + IEntity[] getLoadedEntities()  - -net.minecraft.util.math.BlockPos -getMCBlockPos(int x, - int y, - int z)  - - + net.minecraft.world.WorldServer getMCWorld()  - + IPos getNearestAir(IPos startPos, int maxHeight)  - + IPlayer getPlayer(java.lang.String name)  - + IPlayer getPlayerByUUID(java.lang.String uuid)  - + java.lang.String[] getPlayerNames()  - + noppes.npcs.scripted.ScriptScoreboard getScoreboard()  - + long getSeed()  - + java.lang.String getSignText(int x, int y, int z)  - + java.lang.Object getStoredData(java.lang.String key)  - + java.lang.Object getTempData(java.lang.String key)  - + long getTime()  - + IBlock getTopBlock(int x, int z)  - + long getTotalTime()  - + boolean hasStoredData(java.lang.String key)  - + boolean hasTempData(java.lang.String key)  - + boolean isBlockFreezable(int x, int y, int z)  - + boolean isBlockFreezableNaturally(int x, int y, int z)  - + boolean isBlockFullCube(int x, int y, int z)  - + boolean isBlockHighHumidity(int x, int y, int z)  - + boolean isDay()  - + boolean isRaining()  - + +void +pauseSounds()  + + +void +playSound(int id, + ISound sound)  + + void playSoundAtEntity(IEntity entity, java.lang.String sound, float volume, float pitch)  - + void playSoundToNearExcept(IPlayer player, java.lang.String sound, float volume, float pitch)  - + IBlock rayCastBlock(double[] startPos, double[] lookVector, - int maxDistance) + int maxDistance)
  + + +IBlock +rayCastBlock(double[] startPos, + double[] lookVector, + int maxDistance, + boolean stopOnBlock, + boolean stopOnLiquid, + boolean stopOnCollision)
starting at the start position, draw a line in the lookVector direction until a block is detected
- + IBlock rayCastBlock(IPos startPos, IPos lookVector, - int maxDistance) -
starting at the start position, draw a line in the lookVector direction until a block is detected
- + int maxDistance)
  - + +IBlock +rayCastBlock(IPos startPos, + IPos lookVector, + int maxDistance, + boolean stopOnBlock, + boolean stopOnLiquid, + boolean stopOnCollision)  + + +IEntity[] +rayCastEntities(double[] startPos, + double[] lookVector, + int maxDistance, + double offset, + double range)  + + +IEntity[] +rayCastEntities(double[] startPos, + double[] lookVector, + int maxDistance, + double offset, + double range, + boolean stopOnBlock, + boolean stopOnLiquid, + boolean stopOnCollision)  + + +IEntity[] +rayCastEntities(IPos startPos, + IPos lookVector, + int maxDistance, + double offset, + double range)  + + +IEntity[] +rayCastEntities(IPos startPos, + IPos lookVector, + int maxDistance, + double offset, + double range, + boolean stopOnBlock, + boolean stopOnLiquid, + boolean stopOnCollision)  + + +IPos +rayCastPos(double[] startPos, + double[] lookVector, + int maxDistance)  + + +IPos +rayCastPos(double[] startPos, + double[] lookVector, + int maxDistance, + boolean stopOnBlock, + boolean stopOnLiquid, + boolean stopOnCollision)  + + +IPos +rayCastPos(IPos startPos, + IPos lookVector, + int maxDistance)  + + +IPos +rayCastPos(IPos startPos, + IPos lookVector, + int maxDistance, + boolean stopOnBlock, + boolean stopOnLiquid, + boolean stopOnCollision)  + + void removeBlock(int x, int y, int z)  - + void removeStoredData(java.lang.String key)  - + void removeTempData(java.lang.String key)  - + void removeTileEntity(int x, int y, @@ -447,21 +550,21 @@ var activeTableTab = "activeTableTab";
Removes the block's tile entity at the given position.
- + void setBlock(int x, int y, int z, IBlock block)  - + void setBlock(int x, int y, int z, IItemStack item)  - + boolean setBlockMetadataWithNotify(int x, int y, @@ -469,31 +572,31 @@ var activeTableTab = "activeTableTab"; int metadata, int flag)  - + void setRaining(boolean bo)  - + void setSpawnLocation(int x, int y, int z)  - + void setStoredData(java.lang.String key, java.lang.Object value)
Stored data persists through world restart.
- + void setTempData(java.lang.String key, java.lang.Object value)
Tempdata gets cleared when the server restarts.
- + void setTileEntity(int x, int y, @@ -502,25 +605,34 @@ var activeTableTab = "activeTableTab";
Sets the block's tile entity at the given position.
- + void setTime(long time)  - + IEntity spawnClone(int x, int y, int z, int tab, - java.lang.String name) + java.lang.String name)
  + + +IEntity +spawnClone(int x, + int y, + int z, + int tab, + java.lang.String name, + boolean ignoreProtection)
Lets you spawn a server side cloned entity
- + boolean spawnEntityInWorld(IEntity entity)  - + void spawnParticle(java.lang.String particle, double x, @@ -534,7 +646,15 @@ var activeTableTab = "activeTableTab";
Sends a packet from the server to the client everytime its called.
- + +void +stopSound(int id)  + + +void +stopSounds()  + + void thunderStrike(double x, double y, @@ -821,6 +941,52 @@ var activeTableTab = "activeTableTab"; float pitch) + + + +
    +
  • +

    playSound

    +
    void playSound(int id,
    +               ISound sound)
    +
  • +
+ + + +
    +
  • +

    stopSound

    +
    void stopSound(int id)
    +
  • +
+ + + +
    +
  • +

    pauseSounds

    +
    void pauseSounds()
    +
  • +
+ + + +
    +
  • +

    continueSounds

    +
    void continueSounds()
    +
  • +
+ + + +
    +
  • +

    stopSounds

    +
    void stopSounds()
    +
  • +
@@ -907,6 +1073,28 @@ var activeTableTab = "activeTableTab";
IEntity[] getLoadedEntities()
+ + + +
    +
  • +

    getEntitiesNear

    +
    IEntity[] getEntitiesNear(IPos position,
    +                          double range)
    +
  • +
+ + + +
    +
  • +

    getEntitiesNear

    +
    IEntity[] getEntitiesNear(double x,
    +                          double y,
    +                          double z,
    +                          double range)
    +
  • +
@@ -1065,7 +1253,57 @@ var activeTableTab = "activeTableTab"; - + + + +
    +
  • +

    rayCastPos

    +
    IPos rayCastPos(double[] startPos,
    +                double[] lookVector,
    +                int maxDistance,
    +                boolean stopOnBlock,
    +                boolean stopOnLiquid,
    +                boolean stopOnCollision)
    +
  • +
+ + + +
    +
  • +

    rayCastPos

    +
    IPos rayCastPos(double[] startPos,
    +                double[] lookVector,
    +                int maxDistance)
    +
  • +
+ + + +
    +
  • +

    rayCastPos

    +
    IPos rayCastPos(IPos startPos,
    +                IPos lookVector,
    +                int maxDistance,
    +                boolean stopOnBlock,
    +                boolean stopOnLiquid,
    +                boolean stopOnCollision)
    +
  • +
+ + + +
    +
  • +

    rayCastPos

    +
    IPos rayCastPos(IPos startPos,
    +                IPos lookVector,
    +                int maxDistance)
    +
  • +
+
    @@ -1073,7 +1311,10 @@ var activeTableTab = "activeTableTab";

    rayCastBlock

    IBlock rayCastBlock(double[] startPos,
                         double[] lookVector,
    -                    int maxDistance)
    + int maxDistance, + boolean stopOnBlock, + boolean stopOnLiquid, + boolean stopOnCollision)
    starting at the start position, draw a line in the lookVector direction until a block is detected
    Parameters:
    @@ -1085,6 +1326,31 @@ var activeTableTab = "activeTableTab";
+ + + +
    +
  • +

    rayCastBlock

    +
    IBlock rayCastBlock(double[] startPos,
    +                    double[] lookVector,
    +                    int maxDistance)
    +
  • +
+ + + +
    +
  • +

    rayCastBlock

    +
    IBlock rayCastBlock(IPos startPos,
    +                    IPos lookVector,
    +                    int maxDistance,
    +                    boolean stopOnBlock,
    +                    boolean stopOnLiquid,
    +                    boolean stopOnCollision)
    +
  • +
@@ -1094,15 +1360,6 @@ var activeTableTab = "activeTableTab";
IBlock rayCastBlock(IPos startPos,
                     IPos lookVector,
                     int maxDistance)
-
starting at the start position, draw a line in the lookVector direction until a block is detected
-
-
Parameters:
-
startPos -
-
lookVector - will normalize x, y, z to get a direction vector
-
maxDistance -
-
Returns:
-
the first detected block but null if maxDistance is reached
-
@@ -1122,6 +1379,64 @@ var activeTableTab = "activeTableTab"; + + + +
    +
  • +

    rayCastEntities

    +
    IEntity[] rayCastEntities(double[] startPos,
    +                          double[] lookVector,
    +                          int maxDistance,
    +                          double offset,
    +                          double range,
    +                          boolean stopOnBlock,
    +                          boolean stopOnLiquid,
    +                          boolean stopOnCollision)
    +
  • +
+ + + +
    +
  • +

    rayCastEntities

    +
    IEntity[] rayCastEntities(IPos startPos,
    +                          IPos lookVector,
    +                          int maxDistance,
    +                          double offset,
    +                          double range,
    +                          boolean stopOnBlock,
    +                          boolean stopOnLiquid,
    +                          boolean stopOnCollision)
    +
  • +
+ + + +
    +
  • +

    rayCastEntities

    +
    IEntity[] rayCastEntities(double[] startPos,
    +                          double[] lookVector,
    +                          int maxDistance,
    +                          double offset,
    +                          double range)
    +
  • +
+ + + +
    +
  • +

    rayCastEntities

    +
    IEntity[] rayCastEntities(IPos startPos,
    +                          IPos lookVector,
    +                          int maxDistance,
    +                          double offset,
    +                          double range)
    +
  • +
@@ -1513,6 +1828,32 @@ var activeTableTab = "activeTableTab"; + + + +
    +
  • +

    spawnClone

    +
    IEntity spawnClone(int x,
    +                   int y,
    +                   int z,
    +                   int tab,
    +                   java.lang.String name,
    +                   boolean ignoreProtection)
    +
    Lets you spawn a server side cloned entity
    +
    +
    Parameters:
    +
    x - The x position the clone will be spawned at
    +
    y - The y position the clone will be spawned at
    +
    z - The z position the clone will be spawned at
    +
    tab - The tab in which the clone is
    +
    name - Name of the cloned entity
    +
    ignoreProtection - Whether the spawning of this clone skips protection checks.
    +
    Returns:
    +
    Returns the entity which was spawned
    +
    +
  • +
@@ -1524,17 +1865,6 @@ var activeTableTab = "activeTableTab"; int z, int tab, java.lang.String name) -
Lets you spawn a server side cloned entity
-
-
Parameters:
-
x - The x position the clone will be spawned at
-
y - The y position the clone will be spawned at
-
z - The z position the clone will be spawned at
-
tab - The tab in which the clone is
-
name - Name of the cloned entity
-
Returns:
-
Returns the entity which was spawned
-
@@ -1546,21 +1876,6 @@ var activeTableTab = "activeTableTab";
noppes.npcs.scripted.ScriptScoreboard getScoreboard()
-
- - -
    -
  • -

    getMCBlockPos

    -
    net.minecraft.util.math.BlockPos getMCBlockPos(int x,
    -                                               int y,
    -                                               int z)
    -
    -
    Returns:
    -
    An obfuscated MC BlockPos object.
    -
    -
  • -
diff --git a/docs/noppes/npcs/scripted/interfaces/entity/IAnimal.html b/docs/noppes/npcs/scripted/interfaces/entity/IAnimal.html index 93ed5ddf1..96ac7f280 100644 --- a/docs/noppes/npcs/scripted/interfaces/entity/IAnimal.html +++ b/docs/noppes/npcs/scripted/interfaces/entity/IAnimal.html @@ -2,9 +2,9 @@ - + IAnimal - + @@ -128,7 +128,7 @@ extends IEntityLivingBase -addPotionEffect, canSeeEntity, clearPotionEffects, getArmor, getAttackTarget, getHealth, getHeldItem, getMaxHealth, getPotionEffect, getType, hurt, hurt, hurt, isAttacking, setArmor, setAttackTarget, setHealth, setHeldItem, swingHand, typeOf +addPotionEffect, canSeeEntity, clearPotionEffects, getArmor, getAttackTarget, getHealth, getHeldItem, getLookingAtBlock, getLookingAtEntities, getLookingAtEntities, getLookingAtPos, getLookVector, getMaxHealth, getPotionEffect, getType, hurt, hurt, hurt, isAttacking, setArmor, setAttackTarget, setHealth, setHeldItem, swingHand, typeOf @@ -1571,22 +1571,22 @@ extends +
  • -

    setRangedRage

    -
    void setRangedRage(int rangedRange)
    +

    setRangedRange

    +
    void setRangedRange(int rangedRange)
- +
  • -

    getRangedRage

    -
    int getRangedRage()
    +

    getRangedRange

    +
    int getRangedRange()
diff --git a/docs/noppes/npcs/scripted/interfaces/entity/IDBCPlayer.html b/docs/noppes/npcs/scripted/interfaces/entity/IDBCPlayer.html index c877fbb4d..2e44d8476 100644 --- a/docs/noppes/npcs/scripted/interfaces/entity/IDBCPlayer.html +++ b/docs/noppes/npcs/scripted/interfaces/entity/IDBCPlayer.html @@ -2,9 +2,9 @@ - + IDBCPlayer - + @@ -364,14 +364,14 @@ extends IPlayer -addFactionPoints, blocking, canHarvestBlock, clearInventory, clearItemInUse, closeGui, closeOverlay, disableMouseInput, dropOneItem, finishQuest, getActiveQuests, getCustomGui, getData, getDBCPlayer, getDisplayName, getExpLevel, getFactionPoints, getFinishedQuests, getHunger, getLookingAtBlock, getMode, getName, getOpenContainer, getOverlays, getPixelmonData, getSaturation, getTimers, getType, giveItem, giveItem, hasAchievement, hasActiveQuest, hasBukkitPermission, hasFinishedQuest, hasReadDialog, interactWith, inventoryItemCount, mountEntity, playSound, readDialog, removeAllItems, removeItem, removeItem, removeQuest, resetSpawnpoint, sendMessage, setExpLevel, setFactionPoints, setHunger, setMode, setPosition, setPosition, setRotation, setSaturation, setSpawnpoint, showCustomGui, showCustomOverlay, startQuest, stopQuest, stopUsingItem, typeOf, unreadDialog, updatePlayerInventory +addFactionPoints, blocking, canHarvestBlock, clearInventory, clearItemInUse, closeGui, closeOverlay, continueSounds, disableMouseInput, dropOneItem, finishQuest, finishQuest, getActiveQuests, getCustomGui, getData, getDBCPlayer, getDisplayName, getExpLevel, getFactionPoints, getFinishedQuests, getHunger, getMode, getName, getOpenContainer, getOverlays, getPixelmonData, getSaturation, getTimers, getType, giveItem, giveItem, hasAchievement, hasActiveQuest, hasActiveQuest, hasBukkitPermission, hasFinishedQuest, hasFinishedQuest, hasReadDialog, hasReadDialog, interactWith, inventoryItemCount, isScriptingDev, kick, mountEntity, pauseSounds, playSound, playSound, readDialog, readDialog, removeAllItems, removeItem, removeItem, removeQuest, removeQuest, resetSpawnpoint, sendMessage, setExpLevel, setFactionPoints, setHunger, setMode, setPosition, setPosition, setRotation, setSaturation, setSpawnpoint, showCustomGui, showCustomOverlay, showDialog, showDialog, startQuest, startQuest, stopQuest, stopQuest, stopSound, stopSounds, stopUsingItem, typeOf, unreadDialog, unreadDialog, updatePlayerInventory diff --git a/docs/noppes/npcs/scripted/interfaces/entity/IEntityLiving.html b/docs/noppes/npcs/scripted/interfaces/entity/IEntityLiving.html index 3acf9b6f9..a31f19dd2 100644 --- a/docs/noppes/npcs/scripted/interfaces/entity/IEntityLiving.html +++ b/docs/noppes/npcs/scripted/interfaces/entity/IEntityLiving.html @@ -2,9 +2,9 @@ - + IEntityLiving - + @@ -155,7 +155,7 @@ extends IEntityLivingBase -addPotionEffect, canSeeEntity, clearPotionEffects, getArmor, getAttackTarget, getHealth, getHeldItem, getMaxHealth, getPotionEffect, getType, hurt, hurt, hurt, isAttacking, setArmor, setAttackTarget, setHealth, setHeldItem, swingHand, typeOf +addPotionEffect, canSeeEntity, clearPotionEffects, getArmor, getAttackTarget, getHealth, getHeldItem, getLookingAtBlock, getLookingAtEntities, getLookingAtEntities, getLookingAtPos, getLookVector, getMaxHealth, getPotionEffect, getType, hurt, hurt, hurt, isAttacking, setArmor, setAttackTarget, setHealth, setHeldItem, swingHand, typeOf @@ -412,6 +442,85 @@ extends + + +
    +
  • +

    getLookVector

    +
    IPos getLookVector()
    +
    +
    Returns:
    +
    Returns the look vector of this entity as an IPos object.
    +
    +
  • +
+ + + +
    +
  • +

    getLookingAtBlock

    +
    IBlock getLookingAtBlock(int maxDistance)
    +
    +
    Parameters:
    +
    maxDistance - The max distance to perform checks before stopping
    +
    Returns:
    +
    The first block found by following along the entity's look vector.
    +
    +
  • +
+ + + +
    +
  • +

    getLookingAtPos

    +
    IPos getLookingAtPos(int maxDistance)
    +
    Returns an IPos object corresponding to the final obstructed point following along the + entity's look vector. If no obstructions are found (entity is looking in a straight path of + air with no blocks in the way), the final position is returned.
    +
    +
    Parameters:
    +
    maxDistance - The max distance to perform checks before stopping
    +
    Returns:
    +
    The position the entity is looking at.
    +
    +
  • +
+ + + +
    +
  • +

    getLookingAtEntities

    +
    IEntity[] getLookingAtEntities(int maxDistance,
    +                               double offset,
    +                               double range,
    +                               boolean stopOnBlock,
    +                               boolean stopOnLiquid,
    +                               boolean stopOnCollision)
    +
    +
    Parameters:
    +
    maxDistance - The max distance to perform checks before stopping
    +
    range - The radius to check for surrounding entities at every point on the vector
    +
    Returns:
    +
    A list of entities, sorted first by closest to the entity along the look vector, then by which + entities are closest to the vector.
    +
    +
  • +
+ + + +
    +
  • +

    getLookingAtEntities

    +
    IEntity[] getLookingAtEntities(int maxDistance,
    +                               double offset,
    +                               double range)
    +
  • +
diff --git a/docs/noppes/npcs/scripted/interfaces/entity/IMonster.html b/docs/noppes/npcs/scripted/interfaces/entity/IMonster.html index 24b17ef5a..97be96660 100644 --- a/docs/noppes/npcs/scripted/interfaces/entity/IMonster.html +++ b/docs/noppes/npcs/scripted/interfaces/entity/IMonster.html @@ -2,9 +2,9 @@ - + IMonster - + @@ -124,7 +124,7 @@ extends IEntityLivingBase -addPotionEffect, canSeeEntity, clearPotionEffects, getArmor, getAttackTarget, getHealth, getHeldItem, getMaxHealth, getPotionEffect, getType, hurt, hurt, hurt, isAttacking, setArmor, setAttackTarget, setHealth, setHeldItem, swingHand, typeOf +addPotionEffect, canSeeEntity, clearPotionEffects, getArmor, getAttackTarget, getHealth, getHeldItem, getLookingAtBlock, getLookingAtEntities, getLookingAtEntities, getLookingAtPos, getLookVector, getMaxHealth, getPotionEffect, getType, hurt, hurt, hurt, isAttacking, setArmor, setAttackTarget, setHealth, setHeldItem, swingHand, typeOf @@ -609,10 +805,9 @@ extends

finishQuest

void finishQuest(int id)
-
Add the quest from finished quest list
Parameters:
-
id - The Quest ID
+
id - The quest ID
@@ -623,10 +818,9 @@ extends

stopQuest

void stopQuest(int id)
-
Removes the quest from active quest list
Parameters:
-
id - The Quest ID
+
id - The quest ID
@@ -637,10 +831,9 @@ extends

removeQuest

void removeQuest(int id)
-
Removes the quest from active and finished quest list
Parameters:
-
id - The Quest ID
+
id - The quest ID
@@ -668,7 +861,7 @@ extends
Returns:
Returns the EntityType of this entity
See Also:
-
EntityType
+
EntityType
@@ -997,6 +1190,52 @@ extends + + +
    +
  • +

    playSound

    +
    void playSound(int id,
    +               ISound sound)
    +
  • +
+ + + +
    +
  • +

    stopSound

    +
    void stopSound(int id)
    +
  • +
+ + + +
    +
  • +

    pauseSounds

    +
    void pauseSounds()
    +
  • +
+ + + +
    +
  • +

    continueSounds

    +
    void continueSounds()
    +
  • +
+ + + +
    +
  • +

    stopSounds

    +
    void stopSounds()
    +
  • +
@@ -1107,15 +1346,6 @@ extends - - -
    -
  • -

    getLookingAtBlock

    -
    IBlock getLookingAtBlock(int maxDistance)
    -
  • -
@@ -1161,6 +1391,15 @@ extends IPlayerData getData() + + + +
    +
  • +

    isScriptingDev

    +
    boolean isScriptingDev()
    +
  • +
diff --git a/docs/noppes/npcs/scripted/interfaces/entity/package-frame.html b/docs/noppes/npcs/scripted/interfaces/entity/package-frame.html index c1f5d93f9..d2272d10a 100644 --- a/docs/noppes/npcs/scripted/interfaces/entity/package-frame.html +++ b/docs/noppes/npcs/scripted/interfaces/entity/package-frame.html @@ -2,9 +2,9 @@ - + noppes.npcs.scripted.interfaces.entity - + diff --git a/docs/noppes/npcs/scripted/interfaces/entity/package-summary.html b/docs/noppes/npcs/scripted/interfaces/entity/package-summary.html index 6ca61a6e2..c0e18d37f 100644 --- a/docs/noppes/npcs/scripted/interfaces/entity/package-summary.html +++ b/docs/noppes/npcs/scripted/interfaces/entity/package-summary.html @@ -2,9 +2,9 @@ - + noppes.npcs.scripted.interfaces.entity - + diff --git a/docs/noppes/npcs/scripted/interfaces/entity/package-tree.html b/docs/noppes/npcs/scripted/interfaces/entity/package-tree.html index cf1043a75..31e461488 100644 --- a/docs/noppes/npcs/scripted/interfaces/entity/package-tree.html +++ b/docs/noppes/npcs/scripted/interfaces/entity/package-tree.html @@ -2,9 +2,9 @@ - + noppes.npcs.scripted.interfaces.entity Class Hierarchy - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/IButton.html b/docs/noppes/npcs/scripted/interfaces/gui/IButton.html index a80b1ec43..e38806110 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/IButton.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/IButton.html @@ -2,9 +2,9 @@ - + IButton - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/ICustomGui.html b/docs/noppes/npcs/scripted/interfaces/gui/ICustomGui.html index f82cd2aa6..a0358c10c 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/ICustomGui.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/ICustomGui.html @@ -2,9 +2,9 @@ - + ICustomGui - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/ICustomGuiComponent.html b/docs/noppes/npcs/scripted/interfaces/gui/ICustomGuiComponent.html index 6e6d2beac..d0c84ae37 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/ICustomGuiComponent.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/ICustomGuiComponent.html @@ -2,9 +2,9 @@ - + ICustomGuiComponent - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/IItemSlot.html b/docs/noppes/npcs/scripted/interfaces/gui/IItemSlot.html index c115fcd4c..490cc1d0b 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/IItemSlot.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/IItemSlot.html @@ -2,9 +2,9 @@ - + IItemSlot - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/ILabel.html b/docs/noppes/npcs/scripted/interfaces/gui/ILabel.html index 8124364dc..b3e71e0a4 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/ILabel.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/ILabel.html @@ -2,9 +2,9 @@ - + ILabel - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/ILine.html b/docs/noppes/npcs/scripted/interfaces/gui/ILine.html index 2cde7183d..829038aea 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/ILine.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/ILine.html @@ -2,9 +2,9 @@ - + ILine - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/IScroll.html b/docs/noppes/npcs/scripted/interfaces/gui/IScroll.html index d64d18832..e06814d98 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/IScroll.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/IScroll.html @@ -2,9 +2,9 @@ - + IScroll - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/ITextField.html b/docs/noppes/npcs/scripted/interfaces/gui/ITextField.html index 0ed8aed66..6e41e3220 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/ITextField.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/ITextField.html @@ -2,9 +2,9 @@ - + ITextField - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/ITexturedRect.html b/docs/noppes/npcs/scripted/interfaces/gui/ITexturedRect.html index 32f53cad9..fc843f2f5 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/ITexturedRect.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/ITexturedRect.html @@ -2,9 +2,9 @@ - + ITexturedRect - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/package-frame.html b/docs/noppes/npcs/scripted/interfaces/gui/package-frame.html index 5440bb2e5..a42e60462 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/package-frame.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/package-frame.html @@ -2,9 +2,9 @@ - + noppes.npcs.scripted.interfaces.gui - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/package-summary.html b/docs/noppes/npcs/scripted/interfaces/gui/package-summary.html index 092f93146..f7755e317 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/package-summary.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/package-summary.html @@ -2,9 +2,9 @@ - + noppes.npcs.scripted.interfaces.gui - + diff --git a/docs/noppes/npcs/scripted/interfaces/gui/package-tree.html b/docs/noppes/npcs/scripted/interfaces/gui/package-tree.html index 36f685687..97760e2b3 100644 --- a/docs/noppes/npcs/scripted/interfaces/gui/package-tree.html +++ b/docs/noppes/npcs/scripted/interfaces/gui/package-tree.html @@ -2,9 +2,9 @@ - + noppes.npcs.scripted.interfaces.gui Class Hierarchy - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/ICloneHandler.html b/docs/noppes/npcs/scripted/interfaces/handler/ICloneHandler.html index 034a8ea99..ffb7d945d 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/ICloneHandler.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/ICloneHandler.html @@ -2,9 +2,9 @@ - + ICloneHandler - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -150,6 +150,16 @@ var activeTableTab = "activeTableTab"; java.lang.String name, IWorld world)
  + +IEntity +spawn(double x, + double y, + double z, + int tab, + java.lang.String name, + IWorld world, + boolean ignoreProtection)  + @@ -165,6 +175,21 @@ var activeTableTab = "activeTableTab";

Method Detail

+ + + +
    +
  • +

    spawn

    +
    IEntity spawn(double x,
    +              double y,
    +              double z,
    +              int tab,
    +              java.lang.String name,
    +              IWorld world,
    +              boolean ignoreProtection)
    +
  • +
diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IDialogHandler.html b/docs/noppes/npcs/scripted/interfaces/handler/IDialogHandler.html index 0eebe8608..58cf98627 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IDialogHandler.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IDialogHandler.html @@ -2,9 +2,9 @@ - + IDialogHandler - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IFactionHandler.html b/docs/noppes/npcs/scripted/interfaces/handler/IFactionHandler.html index 4d023b4a9..466c891f4 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IFactionHandler.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IFactionHandler.html @@ -2,9 +2,9 @@ - + IFactionHandler - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/INaturalSpawnsHandler.html b/docs/noppes/npcs/scripted/interfaces/handler/INaturalSpawnsHandler.html index c64570259..353c491e8 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/INaturalSpawnsHandler.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/INaturalSpawnsHandler.html @@ -2,9 +2,9 @@ - + INaturalSpawnsHandler - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IOverlayHandler.html b/docs/noppes/npcs/scripted/interfaces/handler/IOverlayHandler.html index 12c36e770..487150b8f 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IOverlayHandler.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IOverlayHandler.html @@ -2,9 +2,9 @@ - + IOverlayHandler - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerBankData.html b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerBankData.html index 76ca6a3de..84ca6b6fc 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerBankData.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerBankData.html @@ -2,9 +2,9 @@ - + IPlayerBankData - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerData.html b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerData.html index 9f300bda5..362a77295 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerData.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerData.html @@ -2,9 +2,9 @@ - + IPlayerData - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerDialogData.html b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerDialogData.html index 60596617a..577e1dc65 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerDialogData.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerDialogData.html @@ -2,9 +2,9 @@ - + IPlayerDialogData - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerFactionData.html b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerFactionData.html index fd10698ba..6a3d2d101 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerFactionData.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerFactionData.html @@ -2,9 +2,9 @@ - + IPlayerFactionData - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerItemGiverData.html b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerItemGiverData.html index 8ed79112d..a17655753 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerItemGiverData.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerItemGiverData.html @@ -2,9 +2,9 @@ - + IPlayerItemGiverData - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerMailData.html b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerMailData.html index 5cc102b41..ecdaaa522 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerMailData.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerMailData.html @@ -2,9 +2,9 @@ - + IPlayerMailData - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerQuestData.html b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerQuestData.html index 44f97c9fa..2a362cd63 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerQuestData.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerQuestData.html @@ -2,9 +2,9 @@ - + IPlayerQuestData - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerTransportData.html b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerTransportData.html index 413bf66cd..d1c97125d 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IPlayerTransportData.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IPlayerTransportData.html @@ -2,9 +2,9 @@ - + IPlayerTransportData - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IQuestHandler.html b/docs/noppes/npcs/scripted/interfaces/handler/IQuestHandler.html index 9d95d164c..34e411b79 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IQuestHandler.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IQuestHandler.html @@ -2,9 +2,9 @@ - + IQuestHandler - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/IRecipeHandler.html b/docs/noppes/npcs/scripted/interfaces/handler/IRecipeHandler.html index 054157fe9..e7650952f 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/IRecipeHandler.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/IRecipeHandler.html @@ -2,9 +2,9 @@ - + IRecipeHandler - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/ITransportHandler.html b/docs/noppes/npcs/scripted/interfaces/handler/ITransportHandler.html index 4be12ae80..5e340bf28 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/ITransportHandler.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/ITransportHandler.html @@ -2,9 +2,9 @@ - + ITransportHandler - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IAvailability.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IAvailability.html index 3184d685a..db425699f 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IAvailability.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IAvailability.html @@ -2,9 +2,9 @@ - + IAvailability - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IDialog.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IDialog.html index c879c77f6..60611a3d1 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IDialog.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IDialog.html @@ -2,9 +2,9 @@ - + IDialog - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogCategory.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogCategory.html index d8f7f20e3..0729221b0 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogCategory.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogCategory.html @@ -2,9 +2,9 @@ - + IDialogCategory - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogImage.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogImage.html index 081c61882..076464102 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogImage.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogImage.html @@ -2,9 +2,9 @@ - + IDialogImage - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogOption.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogOption.html index 0e32cc700..501fc4dd3 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogOption.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IDialogOption.html @@ -2,9 +2,9 @@ - + IDialogOption - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IFaction.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IFaction.html index b4b10bcad..f789a1360 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IFaction.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IFaction.html @@ -2,9 +2,9 @@ - + IFaction - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/INaturalSpawn.html b/docs/noppes/npcs/scripted/interfaces/handler/data/INaturalSpawn.html index a1e13ac3a..d8fd828b2 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/INaturalSpawn.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/INaturalSpawn.html @@ -2,9 +2,9 @@ - + INaturalSpawn - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IPlayerMail.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IPlayerMail.html index 7df685788..915792654 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IPlayerMail.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IPlayerMail.html @@ -2,9 +2,9 @@ - + IPlayerMail - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuest.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuest.html index e056845ca..5041672bb 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuest.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuest.html @@ -2,9 +2,9 @@ - + IQuest - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestCategory.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestCategory.html index 2df5bfe90..9ae9dac48 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestCategory.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestCategory.html @@ -2,9 +2,9 @@ - + IQuestCategory - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestDialog.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestDialog.html index 48a7cf200..3f4adfae8 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestDialog.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestDialog.html @@ -2,9 +2,9 @@ - + IQuestDialog - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestInterface.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestInterface.html index ccf143cb9..a735eb31c 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestInterface.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestInterface.html @@ -2,9 +2,9 @@ - + IQuestInterface - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestItem.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestItem.html index 6f58bb2de..df24179d7 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestItem.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestItem.html @@ -2,9 +2,9 @@ - + IQuestItem - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestKill.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestKill.html index 9830f97be..e49a6ae67 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestKill.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestKill.html @@ -2,9 +2,9 @@ - + IQuestKill - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestLocation.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestLocation.html index e92e6c3de..796658599 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestLocation.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestLocation.html @@ -2,9 +2,9 @@ - + IQuestLocation - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestObjective.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestObjective.html index 88c88ba07..4d56d6d88 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestObjective.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IQuestObjective.html @@ -2,9 +2,9 @@ - + IQuestObjective - + diff --git a/docs/noppes/npcs/scripted/interfaces/handler/data/IRecipe.html b/docs/noppes/npcs/scripted/interfaces/handler/data/IRecipe.html index f0115d3cb..4d76fe8a6 100644 --- a/docs/noppes/npcs/scripted/interfaces/handler/data/IRecipe.html +++ b/docs/noppes/npcs/scripted/interfaces/handler/data/IRecipe.html @@ -2,9 +2,9 @@ - + IRecipe - + @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab";