#How do i get the model to update after a slice is eaten for kubejs delight pies?
11 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
If you need help, you need to provide code examples and log outputs, be sure to wrap code in code blocks.
You can write your code in a codeblock by typing it between the codeblock delimiters:
Note that these are backticks, not apostrophes
```js :arrow_left:
ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
``` :arrow_left:
This example will look like this:
ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
its not really code related
basically, the kubejs delight addon has a method for creating placeable pies, I made some placeable pies, I dont know how to update the model once you start eating the pie
I assumed the addon would just automatically take the slice models
and update it
but it doesnt, and the documentation for the addon is very sparse
event.create('pumpkin_pie', 'farmersdelight:pie')
.hardness(0.5)
.sliceItem('kubejs:pumpkin_pie_slice')
.displayName('Pumpkin Pie')
.material("cake")
event.create('cherry_pie', 'farmersdelight:pie')
.hardness(0.5)
.sliceItem('kubejs:cherry_pie_slice')
.displayName('Cherry Pie')
.material("cake")
event.create('mulberry_pie', 'farmersdelight:pie')
.hardness(0.5)
.sliceItem('kubejs:mulberry_pie_slice')
.displayName('Mulberry Pie')
.material("cake")
}) ```
this is the code for the pies, but the docs dont give any info about models