Added plenty more documentation for the javadoc.

This commit is contained in:
Luis C.M committed 2022-05-17 18:02:09 -05:00
1 parent af4b467931
commit b9266c3cc5
20 files changed
+623 -94

No files matched your search

@@ -11,7 +11,7 @@ import noppes.npcs.scripted.interfaces.entity.IEntity;
public interface IDamageSource {
/**
*
* @return Returns the damage type of the damage source as a string. Ex: "lava", "explosion", "magic", "outOfWorld", etc.
* @return The damage type of the damage source as a string. Ex: "lava", "explosion", "magic", "outOfWorld", etc.
*/
String getType();
@@ -21,19 +21,19 @@ public interface IDamageSource {
/**
*
* @return Returns the entity source of where the damage source originated. If a player was shot by an arrow from a skeleton, this would return an IEntity object of the skeleton.
* @return The entity source of where the damage source originated. If a player was shot by an arrow from a skeleton, this would return an IEntity object of the skeleton.
*/
IEntity getTrueSource();
/**
*
* @return Returns the entity source of where the damage source originated. If a player was shot by an arrow from a skeleton, this would return an IEntity object of the arrow.
* @return The entity source of where the damage source originated. If a player was shot by an arrow from a skeleton, this would return an IEntity object of the arrow.
*/
IEntity getImmediateSource();
/**
*
* @return Returns a non-script, obfuscated MC damage source object.
* @return An obfuscated MC damage source object.
*/
DamageSource getMCDamageSource();
}