Update entity effect (#12104)

This commit is contained in:
Lulu13022002
2025-02-12 23:14:07 +01:00
committed by GitHub
parent 1be2e5f311
commit a06179a018
5 changed files with 196 additions and 90 deletions

View File

@ -580,9 +580,9 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
* <p>
* If the effect is not applicable to this class of entity, it will not play.
*
* @param type Effect to play.
* @param effect Effect to play.
*/
public void playEffect(@NotNull EntityEffect type);
public void playEffect(@NotNull EntityEffect effect);
/**
* Get the type of the entity.