Search Results for

    Show / Hide Table of Contents

    Class BlockExpEvent

    Dispatched when a block released experience points

    Inheritance
    System.Object
    Event
    BlockEvent
    BlockExpEvent
    BlockBreakEvent
    Inherited Members
    BlockEvent.Block
    Event.IsCancelled
    Event.SetCancelled(Boolean)
    Namespace: OpenAPI.Events.Block
    Assembly: OpenAPI.dll
    Syntax
    public class BlockExpEvent : BlockEvent

    Constructors

    | Improve this Doc View Source

    BlockExpEvent(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 Source

    Experience

    The amount of XP released by the block

    Declaration
    public float Experience { get; set; }
    Property Value
    Type Description
    System.Single
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX