Skip to content

SpileComponent

Parameters

NameTypeDefaultDescription
stateNameStringmorefood:sap_level
maxLevelNumber5
bucketStringmorefood:maple_sap_bucket

Methods

onPlayerInteract

checkAxis

isAttachedToTree

onRandomTick

update

Example

js
new SpileComponent("sap_level", 5, "minecraft:milk_bucket");

Not associated with or approved by Mojang Studios or Microsoft