mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Add submodule MinecraftProtocolLibrary
This commit is contained in:
parent
87026e1bfb
commit
3f1de66af3
62 changed files with 1093 additions and 450 deletions
38
MinecraftClient/EntityHandler/Effect.cs
Normal file
38
MinecraftClient/EntityHandler/Effect.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MinecraftClient.EntityHandler
|
||||
{
|
||||
public record Effect
|
||||
{
|
||||
public EffectType Type { init; get; }
|
||||
|
||||
public int EffectLevel { init; get; }
|
||||
|
||||
public ulong StartTick { init; get; }
|
||||
|
||||
public int DurationInTick { init; get; }
|
||||
|
||||
public bool IsFromBeacon { init; get; }
|
||||
|
||||
public bool ShowParticles { init; get; }
|
||||
|
||||
public bool ShowIcon { init; get; }
|
||||
|
||||
public Dictionary<string, object>? FactorData { init; get; } = null;
|
||||
|
||||
/* Factor Data
|
||||
Name Type
|
||||
padding_duration TAG_INT
|
||||
factor_start TAG_FLOAT
|
||||
factor_target TAG_FLOAT
|
||||
factor_current TAG_FLOAT
|
||||
effect_changed_timestamp TAG_INT
|
||||
factor_previous_frame TAG_FLOAT
|
||||
had_effect_last_tick TAG_BOOLEAN
|
||||
*/
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue