[TUTORIAL] Custom suspicious stews (1.14)

Started by SomeoneElse on

Topic category: User side tutorials

Last seen on 14:12, 3. Jun 2023
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Custom suspicious stews (1.14)

This tutorial will explain how to add suspicious stews (with vanilla effects) for your custom plants.

  1. Create a custom plant: the only requirement is that it must be a static plant. Make sure to complete the plant before moving on to the next steps, as the element is going to be locked.
    Step 1
     
  2. Create a Tag element: set the tag name to "small_flowers", tag namespace to "minecraft", and tag type to "Item". Finally, add your plant to the tag. If you want to add more plants, you don't have to create a new tag element: simply edit this one.
    Step 2
     
  3. Open the code of your plant. You should find something that looks like this:
    Step 3
    Replace SATURATION with the effect you want to apply (e.g. SLOWNESS), and the 0 with the duration of the effect. The duration is in ticks for instant effects (such as Instant Health and Saturation), and in seconds for the other effects.

Example workspace

You can download an example workspace here.