Search Results for

    Show / Hide Table of Contents

    Class BlockPlaceEvent

    Get's dispatched whenever a OpenPlayer tries to place a block.

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

    Constructors

    | Improve this Doc View Source

    BlockPlaceEvent(OpenPlayer, MiNET.Blocks.Block)

    Declaration
    public BlockPlaceEvent(OpenPlayer player, MiNET.Blocks.Block block)
    Parameters
    Type Name Description
    OpenPlayer player

    The player that tried placing the block

    MiNET.Blocks.Block block

    The block the player was trying to place.

    Properties

    | Improve this Doc View Source

    Player

    Declaration
    public OpenPlayer Player { get; }
    Property Value
    Type Description
    OpenPlayer
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX