Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit 5b3e21b

Browse files
committed
Chicken now float to the gound - adapted gravity for them
1 parent 9d7649a commit 5b3e21b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/revivalpmmp/pureentities/entity/animal/walking

src/revivalpmmp/pureentities/entity/animal/walking/Chicken.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class Chicken extends WalkingAnimal implements IntfCanBreed, IntfCanInteract, In
3535
public $height = 0.8;
3636
public $eyeHeight = 0.6;
3737
public $speed = 1.0;
38+
public $gravity = 0.04; // floating chickens
3839

3940
// egg laying specific configuration (an egg is layed by a chicken each 6000-120000 ticks)
4041
private $dropEggTimer = 0;

0 commit comments

Comments
 (0)