#KubeJS Bucket texture doesnt show up

13 messages · Page 1 of 1 (latest)

silent nova
#
  event.create('molten_tsalachtite')
    .displayName('Molten Tsalachtite')
    .stillTexture('genesis:block/molten_tsalachtite_still') // Added missing dot before stillTexture
    .flowingTexture('genesis:block/molten_tsalachtite_flow') // Added missing opening quote before genesis
    .bucketItem.texture('genesis:item/molten_tsalachtite_bucket').displayName('Molten Tsalachtite Bucket').unstackable() // Moved the unstackable()
});````

can anybody help wit this?
nimble stirrupBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

vestal gazelleBOT
#

You can write your code in a codeblock by typing it between the codeblock delimiters:

```js :arrow_left:

onEvent('recipes', e => {
e.smelting('minecraft:glass', '#forge:sand').xp(.1)
})

``` :arrow_left:

As an example, :arrow_up: will look like this:

onEvent('recipes', e => {
  e.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
silent nova
#

ah I forgot how to do the formatting, thanks

stark matrix
#

really hard to read without it :P

vestal gazelleBOT
#

[Quote ➤](#1028053509792333926 message) so you can do stuff like ```js
.bucketItem(item => {
item.glow(true).rarity('rare')
})

versed meteor
#

it should look like ⬆️

silent nova
#

like this?

onEvent('fluid.registry', event => {
  event.create('molten_tsalachtite')
    .displayName('Molten Tsalachtite')
    .stillTexture('genesis:block/molten_tsalachtite_still')
    .flowingTexture('genesis:block/molten_tsalachtite_flow')
.bucketItem(item => {
  item.glow(true).rarity('rare')
})

or like this?

onEvent('fluid.registry', event => {
  event.create('molten_tsalachtite')
    .displayName('Molten Tsalachtite')
    .stillTexture('genesis:block/molten_tsalachtite_still')
    .flowingTexture('genesis:block/molten_tsalachtite_flow')
})
.bucketItem(item => {
  item.glow(true).rarity('rare')
})
versed meteor
#

the first

silent nova
#

doesnt work

silent nova
versed meteor
#
onEvent('fluid.registry', event => {
    event.create('molten_tsalachtite')
        .displayName('Molten Tsalachtite')
        .stillTexture('genesis:block/molten_tsalachtite_still')
        .flowingTexture('genesis:block/molten_tsalachtite_flow')
        .bucketItem(item => {
            item.glow(true).rarity('rare')
        })
})
silent nova
#

thanks!