mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Implemented 1.20.3
This commit is contained in:
parent
1e60b611e9
commit
790e0bfe55
13 changed files with 650 additions and 271 deletions
|
|
@ -1221,16 +1221,16 @@ public class WebSocketBot : ChatBot
|
|||
}
|
||||
|
||||
public override void OnScoreboardObjective(string objectiveName, byte mode, string objectiveValue, int type,
|
||||
string json_)
|
||||
string json_, int numberFormat)
|
||||
{
|
||||
SendEvent("OnScoreboardObjective",
|
||||
new { objectiveName, mode, objectiveValue, type, rawJson = json_ });
|
||||
new { objectiveName, mode, objectiveValue, type, rawJson = json_, numberFormat });
|
||||
}
|
||||
|
||||
public override void OnUpdateScore(string entityName, int action, string objectiveName, int value)
|
||||
public override void OnUpdateScore(string entityName, int action, string objectiveName, string objectiveDisplayName, int value, int numberFormat)
|
||||
{
|
||||
SendEvent("OnUpdateScore",
|
||||
new { entityName, action, objectiveName, type = value });
|
||||
new { entityName, action, objectiveName, objectiveDisplayName, type = value, numberFormat });
|
||||
}
|
||||
|
||||
public override void OnInventoryUpdate(int inventoryId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue