Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potion effect not being applied #1051

Open
Leocraft-LP opened this issue Nov 3, 2021 · 0 comments
Open

Potion effect not being applied #1051

Leocraft-LP opened this issue Nov 3, 2021 · 0 comments

Comments

@Leocraft-LP
Copy link

Leocraft-LP commented Nov 3, 2021

Trying to make potion with healing, one with strength and so on, with the help of this site: https://github.com/BedwarsRel/BedwarsRel/wiki/shop.yml in the potion section.
I am running the server on version 1.8, so I tried it with the damage in the meta at first, picked the metanumber of the effects on the potion, I only had a water bottle.
- price: - type: IRON_INGOT amount: 7 reward: - type: POTION meta: ==: ItemMeta meta-type: POTION display-name: Geschwindigkeit damage: 8194
Then I tried the basic way for 1.9+, still only have a water bottle.
- price: - type: IRON_INGOT amount: 5 reward: - type: POTION meta: ==: ItemMeta meta-type: POTION display-name: Heilung II potion-type: strong_healing
Then I tried the advanced option or in other words: I created a custom potion (again only for 1.9+), which worked. The problem with this: The color is still water so you can't distinguish a strength potion from a healing potion.
- price: - type: IRON_INGOT amount: 3 reward: - type: POTION meta: ==: ItemMeta meta-type: POTION display-name: Heilung I custom-effects: - ==: PotionEffect effect: 6 amplifier: 0 duration: 1 ambient: true has-particles: true
(the spacing is not displayed correctly here, it should be correct in the config)

So I have 2 questions: Why is the 1.8 option not working? And why is exactly the advanced way of 1.9 working while the basic one (with color) isn't?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant