Added more functions to IPlayer, IEntityLiving, IEntityLivingBase, and IAnimal.

This commit is contained in:
Luis C.M committed 2022-12-26 01:13:28 -06:00
1 parent 25dcc975df
commit 1ac0b3b0a3
4 files changed
+43 -3

No files matched your search

@@ -780,4 +780,12 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
return (IQuest[])quests.toArray(new IQuest[quests.size()]);
}
public void setConqueredEnd(boolean conqueredEnd) {
this.player.playerConqueredTheEnd = conqueredEnd;
}
public boolean conqueredEnd() {
return this.player.playerConqueredTheEnd;
}
}