mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
ChatBot API: OnScoreboardObjective, OnEntityEffect, OnUpdateScore, EntityInteract, Hand list (#1097)
* Create Effect.cs * Rename Effect.cs to Effects.cs * Update MinecraftClient.csproj * Update Effects.cs * Update Effects.cs * add EntityEffect * Update McClient.cs * Update Protocol18.cs + EntityEffect * Update IMinecraftComHandler.cs * Update Protocol18PacketTypes.cs + EntityEffect * Update ChatBot.cs + OnEntityEquipment * Update PacketIncomingType.cs + ScoreboardObjective * Update Protocol18PacketTypes.cs * Update Protocol18.cs * Update IMinecraftComHandler.cs + OnScoreboardObjective * Update McClient.cs + OnScoreboardObjective * Update ChatBot.cs + OnScoreboardObjective event * Update Protocol18.cs: fix scoreboard * Update McClient.cs * Update ChatBot.cs * Update PacketIncomingType.cs * Update ChatBot.cs + OnUpdateScore * Update McClient.cs + OnUpdateScore * Update IMinecraftComHandler.cs + OnUpdateScore * Update Protocol18.cs * Update Protocol18PacketTypes.cs * Update Protocol18.cs + fix micro lags * Update Protocol18.cs * Update Protocol18.cs * Update Protocol18.cs * Update Protocol16.cs * Update Protocol18.cs * Update McClient.cs * Update IMinecraftCom.cs * Update McClient.cs * Update McClient.cs * Update McClient.cs * Update ChatBot.cs + GetEntities() * Create Hand.cs * Update MinecraftClient.csproj * Update McClient.cs * Update ChatBot.cs * Update Protocol18.cs * Update ChatBot.cs * Update ChatBot.cs * Update ChatBot.cs * Update ChatBot.cs * Update ChatBot.cs: fix * Update AutoAttack.cs: Fix * Update McClient.cs: compile fix * Update ChatBot.cs * Update AutoAttack.cs * Update ChatBot.cs * Update Protocol18.cs * Update IMinecraftComHandler.cs * Update McClient.cs * Update ChatBot.cs * Update Protocol18.cs * Update IMinecraftComHandler.cs * Update ChatBot.cs * Update McClient.cs * Update McClient.cs: remove check distance * Update EntityActionType.cs: more actions * Create CommandBlockMode.cs * Create CommandBlockFlags.cs * Update IMinecraftCom.cs * Update McClient.cs * Update ChatBot.cs * Update Protocol18.cs * Update Protocol16.cs * Update PacketOutgoingType.cs * Update Protocol18PacketTypes.cs * Update Protocol18.cs
This commit is contained in:
parent
572191dcd2
commit
fb50b0d5cb
16 changed files with 469 additions and 78 deletions
47
MinecraftClient/Inventory/Effects.cs
Normal file
47
MinecraftClient/Inventory/Effects.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MinecraftClient.Inventory
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a Minecraft effects
|
||||
/// </summary>
|
||||
public enum Effects
|
||||
{
|
||||
Speed = 1,
|
||||
Slowness = 2,
|
||||
Haste = 3,
|
||||
MiningFatigue = 4,
|
||||
Strength = 5,
|
||||
InstantHealth = 6,
|
||||
InstantDamage = 7,
|
||||
JumpBoost = 8,
|
||||
Nausea = 9,
|
||||
Regeneration = 10,
|
||||
Resistance = 11,
|
||||
FireResistance = 12,
|
||||
WaterBreathing = 13,
|
||||
Invisibility = 14,
|
||||
Blindness = 15,
|
||||
NightVision = 16,
|
||||
Hunger = 17,
|
||||
Weakness = 18,
|
||||
Poison = 19,
|
||||
Wither = 20,
|
||||
HealthBoost = 21,
|
||||
Absorption = 22,
|
||||
Saturation = 23,
|
||||
Glowing = 24,
|
||||
Levitation = 25,
|
||||
Luck = 26,
|
||||
BadLuck = 27,
|
||||
SlowFalling = 28,
|
||||
ConduitPower = 29,
|
||||
DolphinsGrace = 30,
|
||||
BadOmen = 31,
|
||||
HerooftheVillage = 32,
|
||||
}
|
||||
}
|
||||
11
MinecraftClient/Inventory/Hand.cs
Normal file
11
MinecraftClient/Inventory/Hand.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
namespace MinecraftClient.Inventory
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a Minecraft hand
|
||||
/// </summary>
|
||||
public enum Hand
|
||||
{
|
||||
MainHand = 0,
|
||||
OffHand = 1,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue