Search Results for

    Show / Hide Table of Contents

    Class PlayerSetBlockEntityDataEvent

    Dispatched when an OpenPlayer tries to modify a blockentity's nbt data

    Inheritance
    System.Object
    Event
    PlayerEvent
    PlayerSetBlockEntityDataEvent
    Inherited Members
    PlayerEvent.Player
    Event.IsCancelled
    Event.SetCancelled(Boolean)
    Namespace: OpenAPI.Events.Player
    Assembly: OpenAPI.dll
    Syntax
    public class PlayerSetBlockEntityDataEvent : PlayerEvent

    Constructors

    | Improve this Doc View Source

    PlayerSetBlockEntityDataEvent(OpenPlayer, BlockEntity, NbtCompound)

    Declaration
    public PlayerSetBlockEntityDataEvent(OpenPlayer player, BlockEntity blockEntity, NbtCompound compound)
    Parameters
    Type Name Description
    OpenPlayer player
    BlockEntity blockEntity
    NbtCompound compound

    Properties

    | Improve this Doc View Source

    BlockEntity

    Declaration
    public BlockEntity BlockEntity { get; }
    Property Value
    Type Description
    BlockEntity
    | Improve this Doc View Source

    Compound

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