mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
entities will collide with blocks like door, glass pane, iron bars
This commit is contained in:
parent
df54826e4c
commit
f3d726cddf
10 changed files with 107 additions and 8 deletions
|
|
@ -1,12 +1,13 @@
|
|||
<?php
|
||||
|
||||
class FenceBlock extends TransparentBlock{
|
||||
|
||||
public function __construct(){
|
||||
parent::__construct(FENCE, 0, "Fence");
|
||||
$this->isFullBlock = false;
|
||||
$this->hardness = 15;
|
||||
}
|
||||
|
||||
|
||||
//TODO public static function getCollisionBoundingBoxes(Level $level, $x, $y, $z, Entity $entity)
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue