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

Provides data for Player.PlacedBlock event. Immutable. More...

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

Properties

Player Player [get, set]
 Player who has just placed a block.
 
Map Map [get, set]
 Map on which the block was placed.
 
Vector3I Coords [get, set]
 Coordinates at which the block was placed.
 
Block OldBlock [get, set]
 Previous blocktype at this coordinate.
 
Block NewBlock [get, set]
 Current (placed) blocktype at this location.
 
BlockChangeContext Context [get, set]
 Context in which the block was placed.
 
- Properties inherited from fCraft.Events.IPlayerEvent
Player Player [get]
 Player who initiated or is affected by the event.
 

Detailed Description

Provides data for Player.PlacedBlock event. Immutable.

Property Documentation

BlockChangeContext fCraft.Events.PlayerPlacedBlockEventArgs.Context
getset

Context in which the block was placed.

Vector3I fCraft.Events.PlayerPlacedBlockEventArgs.Coords
getset

Coordinates at which the block was placed.

Map fCraft.Events.PlayerPlacedBlockEventArgs.Map
getset

Map on which the block was placed.

Block fCraft.Events.PlayerPlacedBlockEventArgs.NewBlock
getset

Current (placed) blocktype at this location.

Block fCraft.Events.PlayerPlacedBlockEventArgs.OldBlock
getset

Previous blocktype at this coordinate.

Player fCraft.Events.PlayerPlacedBlockEventArgs.Player
getset

Player who has just placed a block.


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