MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.67k stars 402 forks source link

C# issue #2632

Closed N1emiec69 closed 9 months ago

N1emiec69 commented 11 months ago

Prerequisites

Console Client Version

Latest

Describe your problem

my c# dont show any error but dont work

Suggest a possible solution

I dont know

Attach screenshot here (If applicable)

//MCCScript 1.0

MCC.LoadBot(new YourBot());

//MCCScript Extensions

class YourBot : ChatBot { public override void Initialize() { LogToConsole("YourBot loaded!"); }

public override void Update()
{
    UseItemInLeftHand();
}

public virtual void UseItemInLeftHand()
{
    base.UseItemInLeftHand();
}

}

Minecraft Version

1.20.1

Device

Desktop

Operating System

Windows