mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 23:04:44 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
c22c5f9d79
commit
afb5f1d645
60 files changed
+592
-509
No files matched your search
@@ -5,7 +5,6 @@ import noppes.npcs.api.entity.IEntity;
|
||||
|
||||
public interface IDamageSource {
|
||||
/**
|
||||
*
|
||||
* @return The damage type of the damage source as a string. Ex: "lava", "explosion", "magic", "outOfWorld", etc.
|
||||
*/
|
||||
String getType();
|
||||
@@ -15,19 +14,16 @@ public interface IDamageSource {
|
||||
boolean isProjectile();
|
||||
|
||||
/**
|
||||
*
|
||||
* @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 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 An obfuscated MC damage source object.
|
||||
*/
|
||||
DamageSource getMCDamageSource();
|
||||
|
||||
Reference in new issue
Block a user