Class BlockPlaceEvent
Get's dispatched whenever a OpenPlayer tries to place a block.
Namespace: OpenAPI.Events.Block
Assembly: OpenAPI.dll
Syntax
public class BlockPlaceEvent : BlockEvent
Constructors
| Improve this Doc View SourceBlockPlaceEvent(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 SourcePlayer
Declaration
public OpenPlayer Player { get; }
Property Value
Type | Description |
---|---|
OpenPlayer |