#How to apply a flat texture appearance to the item form of a block? (Like a Flower Pot)

3 messages · Page 1 of 1 (latest)

gloomy vine
#

I've been working on a decorative block which is rather small, to such an extent that it can barely be seen in first-person when held in hand. If it comes down to it, I could alter the BlockBench model so that the block gets held up a little more prominently in first-person - but, I would really prefer to replace the item's appearance with a flat sprite, similar to how Flower Pots are depicted in vanilla.

I've done some fiddling around in my startup script an attempt to get this to work, but so far, I haven't had any success. Does anyone have a point of reference for how to replace a block's item appearance with a flat sprite?

lament oasisBOT
#

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

gloomy vine
#

Got it working, eventually - see below.

  .hardness(5.0)
  .resistance(6.0)
  .item(pot => {
    pot.parentModel('minecraft:item/generated').texture('layer0', 'kubejs:item/rose_gold_pot')
  })