Implemented 1.20.3

This commit is contained in:
Anon 2024-01-30 12:51:47 +01:00
parent 1e60b611e9
commit 790e0bfe55
13 changed files with 650 additions and 271 deletions

View file

@ -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)