Improvements to the Bed, Blockinfo and Enchant commands.

This commit is contained in:
Milutinke 2022-10-17 15:14:55 +02:00
parent 735dc49d92
commit a31b4a792b
7 changed files with 95 additions and 8 deletions

View file

@ -394,6 +394,14 @@ namespace MinecraftClient
short bottomEnchantmentLevelRequirement)
{ }
/// <summary>
/// When received enchantments from the server this method is called
/// Enchantment levels are the levels of enchantment (eg. I, II, III, IV, V) (eg. Smite IV, Power III, Knockback II ..)
/// Enchantment level requirements are the levels that player needs to have in order to enchant the item
/// </summary>
/// <param name="enchantment">Enchantment data/info</param>
public virtual void OnEnchantments(EnchantmentData enchantment) { }
/// <summary>
/// Called when a player joined the game
/// </summary>