fCraft  0.638
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
fCraft.Events.PlayerPlacingBlockEventArgs Class Reference

Provides data for Player.PlacingBlock event. Result may be overridden. More...

+ Inheritance diagram for fCraft.Events.PlayerPlacingBlockEventArgs:
+ Collaboration diagram for fCraft.Events.PlayerPlacingBlockEventArgs:

Properties

Player Player [get, set]
 Player who intends to place a block.
 
Map Map [get, set]
 Map on which the block would be placed.
 
Vector3I Coords [get, set]
 Coordinates at which the block would be placed.
 
Block OldBlock [get, set]
 Current blocktype at this coordinate.
 
Block NewBlock [get, set]
 Blocktype that the player intends to place.
 
BlockChangeContext Context [get, set]
 Context in which the block was placed.
 
CanPlaceResult Result [get, set]
 Result of Player.CanPlace permission check. Can be changed.
 
- Properties inherited from fCraft.Events.IPlayerEvent
Player Player [get]
 Player who initiated or is affected by the event.
 

Detailed Description

Provides data for Player.PlacingBlock event. Result may be overridden.

Property Documentation

BlockChangeContext fCraft.Events.PlayerPlacingBlockEventArgs.Context
getset

Context in which the block was placed.

Vector3I fCraft.Events.PlayerPlacingBlockEventArgs.Coords
getset

Coordinates at which the block would be placed.

Map fCraft.Events.PlayerPlacingBlockEventArgs.Map
getset

Map on which the block would be placed.

Block fCraft.Events.PlayerPlacingBlockEventArgs.NewBlock
getset

Blocktype that the player intends to place.

Block fCraft.Events.PlayerPlacingBlockEventArgs.OldBlock
getset

Current blocktype at this coordinate.

Player fCraft.Events.PlayerPlacingBlockEventArgs.Player
getset

Player who intends to place a block.

CanPlaceResult fCraft.Events.PlayerPlacingBlockEventArgs.Result
getset

Result of Player.CanPlace permission check. Can be changed.


The documentation for this class was generated from the following file: