Class PlayerSetBlockEntityDataEvent
Dispatched when an OpenPlayer tries to modify a blockentity's nbt data
Inheritance
System.Object
PlayerSetBlockEntityDataEvent
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 |
|