Class BlockExpEvent
Dispatched when a block released experience points
Namespace: OpenAPI.Events.Block
Assembly: OpenAPI.dll
Syntax
public class BlockExpEvent : BlockEvent
Constructors
| Improve this Doc View SourceBlockExpEvent(MiNET.Blocks.Block, Single)
Declaration
public BlockExpEvent(MiNET.Blocks.Block block, float experience)
Parameters
Type | Name | Description |
---|---|---|
MiNET.Blocks.Block | block | The block that released the XP |
System.Single | experience | The XP that is to be released |
Properties
| Improve this Doc View SourceExperience
The amount of XP released by the block
Declaration
public float Experience { get; set; }
Property Value
Type | Description |
---|---|
System.Single |