Skip to content

Commit

Permalink
Add default elytra flying value (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkwilson committed Aug 25, 2023
1 parent b2f756d commit f124abd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -126,6 +126,10 @@ The health of the player, default: 20

The food of the player, default: 20

#### entity.elytraFlying

Whether or not the entity is elytra flying.

#### entity.player

The player
Expand Down
1 change: 1 addition & 0 deletions index.d.ts
Expand Up @@ -41,6 +41,7 @@ declare module 'prismarine-entity' {
health?: number;
food?: number;
foodSaturation?: number;
elytraFlying?: boolean
player?: object;
effects: Effect[];
setEquipment(index: number, item: Item): void;
Expand Down

0 comments on commit f124abd

Please sign in to comment.