mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Implemented effects support, as a command, chat notification and added in TUI mode
This commit is contained in:
parent
a7a3566756
commit
f6446b198d
15 changed files with 728 additions and 15 deletions
|
|
@ -333,6 +333,13 @@ namespace MinecraftClient.Scripting
|
|||
/// <param name="flags">effect flags</param>
|
||||
public virtual void OnEntityEffect(Entity entity, Effects effect, int amplifier, int duration, byte flags) { }
|
||||
|
||||
/// <summary>
|
||||
/// Called when an entity has an effect removed (expired or cleared)
|
||||
/// </summary>
|
||||
/// <param name="entity">Entity</param>
|
||||
/// <param name="effect">Effect that was removed</param>
|
||||
public virtual void OnRemoveEntityEffect(Entity entity, Effects effect) { }
|
||||
|
||||
/// <summary>
|
||||
/// Called when a scoreboard objective updated
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue