Skip to content

Commit

Permalink
update VillagerTrade typings (PrismarineJS#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoraschi authored Jan 3, 2022
1 parent 3489c7d commit 1478555
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -742,13 +742,18 @@ export class Villager extends (EventEmitter as new () => TypedEmitter<Conditiona
}

export interface VillagerTrade {
firstInput: Item
output: Item
hasSecondItem: boolean
secondaryInput: Item | null
disabled: boolean
tooluses: number
maxTradeuses: number
inputItem1: Item
outputItem: Item
inputItem2: Item | null
hasItem2: boolean
tradeDisabled: boolean
nbTradeUses: number
maximumNbTradeUses: number
xp?: number
specialPrice?: number
priceMultiplier?: number
demand?: number
realPrice?: number
}

export class ScoreBoard {
Expand Down

0 comments on commit 1478555

Please sign in to comment.