Conversation
CitralFlo
commented
Aug 26, 2026
P1otrulla
left a comment
There was a problem hiding this comment.
Bardzo dobra robota! 💯
Zastanawiam się tylko czy nie powinniśmy przenieść tego Interface'a do api (review z tel 👀)
Juz jest 🫡 Jeśli coś innego to prośba o doprecyzowanie |
| * Checks if a player is ignored for mob targeting. | ||
| * @return true if the player is ignored, false otherwise. | ||
| */ | ||
| boolean doMobsIgnore(UUID uniqueId); |
There was a problem hiding this comment.
| boolean doMobsIgnore(UUID uniqueId); | |
| boolean isIgnored(UUID player); |
There was a problem hiding this comment.
i suggested isIgnored because the "mobs" part is already in class name and i don't think we should duplicate it.
| @Accessors(fluent = true) | ||
| public class PLNoTargetMessages extends OkaeriConfig implements NoTargetMessages { | ||
| Notice disabled = Notice.chat("<color:#9d6eef>► <white>Potwory nie będą Cię więcej ignorować!"); | ||
| Notice enabled = Notice.chat("<color:#9d6eef>► <white>Potwory będą Cię ignorować!"); |
There was a problem hiding this comment.
| Notice enabled = Notice.chat("<color:#9d6eef>► <white>Potwory będą Cię ignorować!"); | |
| Notice enabled = Notice.chat("<color:#9d6eef>► <white>Potwory będą cię ignorować!"); |
| @Getter | ||
| @Accessors(fluent = true) | ||
| public class PLNoTargetMessages extends OkaeriConfig implements NoTargetMessages { | ||
| Notice disabled = Notice.chat("<color:#9d6eef>► <white>Potwory nie będą Cię więcej ignorować!"); |
There was a problem hiding this comment.
| Notice disabled = Notice.chat("<color:#9d6eef>► <white>Potwory nie będą Cię więcej ignorować!"); | |
| Notice disabled = Notice.chat("<color:#9d6eef>► <white>Potwory nie będą cię więcej ignorować!"); |
| private final HashSet<UUID> mobTargetMap = new HashSet<>(); | ||
|
|
||
| @Override | ||
| public void removeTracking(Player player) { |
There was a problem hiding this comment.
stopTracking would be better imo because we have startTracking so these names naturally compliment themselves
| * Checks if a player is ignored for mob targeting. | ||
| * @return true if the player is ignored, false otherwise. | ||
| */ | ||
| boolean doMobsIgnore(UUID uniqueId); |
There was a problem hiding this comment.
i suggested isIgnored because the "mobs" part is already in class name and i don't think we should duplicate it.