Skip to content

@minecraft/server


@minecraft/server / SetStewEffectFunction

Class: SetStewEffectFunction ​

Defined in: @minecraft/server/index.d.ts:19842

Loot item function that modifies the effects of a dropped stew item.

Extends ​

Properties ​

conditions ​

readonly conditions: LootItemCondition[]

Defined in: @minecraft/server/index.d.ts:15793

Inherited from ​

LootItemFunction.conditions


effects ​

readonly effects: number[]

Defined in: @minecraft/server/index.d.ts:19850

Remarks ​

An array of integers corresponding to stew effects to be randomly chosen from and applied to the dropped item.