Slimefun4 icon indicating copy to clipboard operation
Slimefun4 copied to clipboard

Added Glow Berries Being Useful

Open TheWireLord opened this issue 2 years ago • 3 comments

Description

Adding usability to the Glow Berries which were added in the 1.17 update.

Proposed changes

  • Added Glow Berry Juice as a result of using Glow Berries in the Juicer. (With the same stats as Sweet Berry Juice)
  • Added Glow Berries as a fuel in the Bio Reactor. (With the same stats as Sweet Berries).
  • Updated Wiki to include Glow Berry Juice.

Related Issues (if applicable)

Checklist

  • [x] I have fully tested the proposed changes and promise that they will not break everything into chaos.
  • [x] I have also tested the proposed changes in combination with various popular addons and can confirm my changes do not break them.
  • [x] I followed the existing code standards and didn't mess up the formatting.
  • [x] I did my best to add documentation to any public classes or methods I added.
  • [x] I have added Nonnull and Nullable annotations to my methods to indicate their behaviour for null values
  • [x] I added sufficient Unit Tests to cover my code.

TheWireLord avatar Jun 17 '22 20:06 TheWireLord

Pretty much looking good to me, thank you!

Although a part of me wished glow berry juice gave night vision XD

I was going to say it should, surely, give the glowing effect :D?

Sefiraat avatar Jun 18 '22 14:06 Sefiraat

Pretty much looking good to me, thank you!

Although a part of me wished glow berry juice gave night vision XD

I had also thought of this, but it looked like the suggestion was not super popular in the Suggestions channel in Discord. I feel that the Night Vision may be too much and may replace the potion, but I could see the Glowing effect be a possibility. I'm going to look into that.

TheWireLord avatar Jun 18 '22 15:06 TheWireLord

Personally I am in favour of what @Sfiguz7 mentioned on Discord, changing/overloading the SlimefunItemStack constructor to allow for multiple PotionEffects. Then perhaps all give a basic level of saturation and then specific ones could give additional effects based on their theme. However to avoid scope slipping, perhaps just make this one GLOWING for the time being and then it could be expanded on in a future PR?

Sefiraat avatar Jun 27 '22 13:06 Sefiraat