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
|
|
@ -434,6 +434,19 @@ namespace MinecraftClient.Protocol
|
|||
/// <param name="factorCodec">factorCodec</param>
|
||||
void OnEntityEffect(int entityid, Effects effect, int amplifier, int duration, byte flags, bool hasFactorData, Dictionary<String, object>? factorCodec);
|
||||
|
||||
/// <summary>
|
||||
/// Called when an entity has an effect removed
|
||||
/// </summary>
|
||||
/// <param name="entityid">Entity ID</param>
|
||||
/// <param name="effect">Effect that was removed</param>
|
||||
void OnRemoveEntityEffect(int entityid, Effects effect);
|
||||
|
||||
/// <summary>
|
||||
/// Get the player's active effects
|
||||
/// </summary>
|
||||
/// <returns>Dictionary of active effects</returns>
|
||||
Dictionary<Effects, EffectData> GetPlayerEffects();
|
||||
|
||||
/// <summary>
|
||||
/// Called when Soreboard Objective
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue