mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Added hasCollided() function to ScriptEntity.
This commit is contained in:
1 parent
2ffa9bfcfa
commit
6b2a9d92b1
2 files changed
+6
No files matched your search
@@ -477,6 +477,10 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
entity.hurtResistantTime = ticks;
|
||||
};
|
||||
|
||||
public boolean hasCollided() {
|
||||
return entity.isCollided;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @return Returns whether or not this entity is sneaking
|
||||
|
||||
Reference in new issue
Block a user