#Ominous bottle levels

1 messages · Page 1 of 1 (latest)

high forge
#

I would like one of my loot to drop an ominous bottle with a random level. What I have only drops level 1 bad omen:

    - type: item
      material: ominous_bottle
      weight: 15
      amount: 1

What do I need to add to make it drop between 1-5?

high forge
#

similarly, how would I do it with goat horns as the default is ponder

void wing
#

https://minecraft.wiki/w/Ominous_Bottle#Item_data
You'll need to add the ominous_bottle_amplifier tag.
This should be possible with the nbt key as mentioned in the wiki:
https://wiki.aurelium.dev/auraskills/loot#item-loot

I do not think that it will support a range so you most likely will need to create multiple loot entries for each level.
Not 100% sure on the syntax for the nbt but you might be able to try;

- type: item
  material: ominous_bottle
  nbt:
    ominous_bottle_amplifier: 0
  weight: 15
  amount: 1

Goat horns use the instrument tag for their sound type (by it's identifier):
https://minecraft.wiki/w/Goat_horn#Item_data

When I try to figure out how to set/use the proper data I often generate a give command using: https://mcstacker.net/?cmd=give
This results in commands like:

/give @p ominous_bottle[ominous_bottle_amplifier=1] 1
/give @p goat_horn[instrument="minecraft:feel_goat_horn"] 1
high forge
#

doesn't work. tried variations such as OminousBottleAmplifier: 2 and amplifier: 2
for goat horns, neither instrument: call_goat_horn nor MusicInstrument: call_goat_horn worked as well
also tried doing

nbt:
  components:
    ominous_bottle_amplifier: 2
``` ```yml
components:
  ominous_bottle_amplifier: 2
``` ```yml
ominous_bottle_amplifier: 2

as well as the variations - all which didn't work

#

feels like I'm doing something wrong but there's no nbt: examples in the wiki to compare it to

pulsar zinc
#

it probably doesn't work rn, cause nbt will put everything in the custom_data component