Added setImmune() function to ScriptEntity.

This commit is contained in:
luisc committed 2021-10-28 16:46:09 -05:00
1 parent 27dce4a90a
commit 2ffa9bfcfa
3 files changed
+10 -2

No files matched your search

@@ -282,6 +282,10 @@ public interface IEntity<T extends Entity> {
*/
public void knockback(int power, float direction);
public void knockback(int xpower, int ypower, int zpower, float direction);
public void setImmune(int ticks);
/**
* @since 1.7.10c
* @return Returns whether or not this entity is sneaking