mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
inWeb, fire damage"
This commit is contained in:
parent
d622c5e5cf
commit
5f1774b8ce
6 changed files with 80 additions and 16 deletions
|
|
@ -175,6 +175,9 @@ abstract class Block extends Position{
|
|||
public static function getCollisionBoundingBoxes(Level $level, $x, $y, $z, Entity $entity){
|
||||
return [new AxisAlignedBB($x, $y, $z, $x, $y, $z)];
|
||||
}
|
||||
public static function onEntityCollidedWithBlock(Level $level, $x, $y, $z, Entity $entity){}
|
||||
|
||||
|
||||
public function __construct($id, $meta = 0, $name = "Unknown"){
|
||||
$this->id = (int) $id;
|
||||
$this->meta = (int) $meta;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue