Skip to content
Legopitstop Docs
Search
K
Main Navigation
Home
Documentation
Python
Minecraft
Misc
Tutorials
How to Extract Minecraft Assets
How to Find .minecraft Folder
How to Find Pack Validation
How to Install Add-Ons
How to Install Data Packs
How to Install Maps
How to Install Resource Packs
Appearance
Menu
Return to top
On this page
CropComponent
Parameters
Name
Type
Default
Description
stateName
String
morefood:stage
maxStage
Number
7
Methods
onPlayerInteract
onRandomTick
canGrow
getGrowthAmount
applyGrowth
grow
onPlayerInteract
onRandomTick
canGrow
getGrowthAmount
applyGrowth
grow
Example
js
new
CropComponent
(
"stage"
,
7
);