mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Alerts ChatBot: Support trigger on weather change
This commit is contained in:
parent
1d52d1eadd
commit
81a9955081
8 changed files with 147 additions and 19 deletions
|
|
@ -413,6 +413,18 @@ namespace MinecraftClient
|
|||
/// <param name="isInbound">The packet is received from server or sent by client</param>
|
||||
public virtual void OnNetworkPacket(int packetID, List<byte> packetData, bool isLogin, bool isInbound) { }
|
||||
|
||||
/// <summary>
|
||||
/// Called when the rain level have been changed
|
||||
/// </summary>
|
||||
/// <param name="level"></param>
|
||||
public virtual void OnRainLevelChange(float level) { }
|
||||
|
||||
/// <summary>
|
||||
/// Called when the thunder level have been changed
|
||||
/// </summary>
|
||||
/// <param name="level"></param>
|
||||
public virtual void OnThunderLevelChange(float level) { }
|
||||
|
||||
/* =================================================================== */
|
||||
/* ToolBox - Methods below might be useful while creating your bot. */
|
||||
/* You should not need to interact with other classes of the program. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue