CandleCakeComponent
Parameters
Name | Type | Default | Description |
---|---|---|---|
candleItem | String | minecraft:candle | |
cakeBlock | String | nubecraft:cake | |
stateName | String | morefood:lit | |
sliceName | String | morefood:slice |
Methods
onPlayerInteract
setLit
eat
hasLightable
Example
js
new CandleCakeComponent("minecraft:candle", "minecraft:cake", "lit", "slice");