Skip to content

BushComponent

Parameters

NameTypeDefaultDescription
cropItemString
stateNameStringmorefood:stage
maxStageNumber7

Methods

onPlayerInteract

pickBush

Example

js
new BushComponent("minecraft:wheat", "growth", 7);

Not associated with or approved by Mojang Studios or Microsoft