Add submodule MinecraftProtocolLibrary

This commit is contained in:
BruceChen 2022-12-23 00:50:20 +08:00
parent 87026e1bfb
commit 3f1de66af3
62 changed files with 1093 additions and 450 deletions

View 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
*/
}
}