mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
ew
This commit is contained in:
parent
b9e19034a4
commit
755276193c
3 changed files with 7 additions and 3 deletions
|
|
@ -16,6 +16,10 @@ class FarmlandBlock extends TransparentBlock{
|
|||
return $b->isTransparent && $b->id != 0;
|
||||
}
|
||||
|
||||
public static function getCollisionBoundingBoxes(Level $level, $x, $y, $z, Entity $entity){
|
||||
return [new AxisAlignedBB($x, $y, $z, $x + 1, $y + 0.9375, $z + 1)];
|
||||
}
|
||||
|
||||
public static function fallOn(Level $level, $x, $y, $z, Entity $entity, $fallDistance){
|
||||
$rv = lcg_value();
|
||||
console("rv: $rv, fd: ".($fallDistance - 0.5));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue