mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added new Block properties (Block::isSolid, Block::isFullBlock)
This commit is contained in:
parent
8d00ef381d
commit
a795b64bab
36 changed files with 57 additions and 32 deletions
|
|
@ -140,12 +140,14 @@ abstract class Block extends Position{
|
|||
public $isActivable = false;
|
||||
public $breakable = true;
|
||||
public $isFlowable = false;
|
||||
public $isSolid = true;
|
||||
public $isTransparent = false;
|
||||
public $isReplaceable = false;
|
||||
public $isPlaceable = true;
|
||||
public $level = false;
|
||||
public $hasPhysics = false;
|
||||
public $isLiquid = false;
|
||||
public $isFullBlock = true;
|
||||
public $x = 0;
|
||||
public $y = 0;
|
||||
public $z = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue