Is there a way to have a potion effect without it showing up un the inventory?

Started by Nanobott on

Topic category: Help with MCreator software

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to have a potion effect without it showing up un the inventory?

I want to give the player a levitating up and down effect while blinded and i used levitation, slowfall and blindness for it but the player can still see the 3 effects showing up in their inventory. Is there a way to get rid of the icI want to give the player a levitating up and down effect while blinded and i used levitation, slowfall and blindness for it but the player can still see the 3 effects showing up in their inventory. Is there a way to get rid of the icons in the players inventory?ons in the players inventory?

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's a checkbox for that…
Mon, 05/09/2022 - 20:02

There's a checkbox for that in the potion effect mod element thing.

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know, it will remove the…
Mon, 05/09/2022 - 22:22

I know, it will remove the icon from your top right but it won't remove the ones you see on the right when you open your inventory.

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
idk how to do that, but it…
Thu, 05/12/2022 - 14:46

idk how to do that, but it doesn't seem like too big of a problem

why don't you want them to show up?

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
possible workarounds: -…
Thu, 05/12/2022 - 14:48

possible workarounds:

- cover it up using an overlay

- instead of using levitation and slow falling, use the block "Attempt to override motion vector of [Event/target entity] to", and set the y value to around 0.1 when going up and -0.1 when it's going down, and instead of blindness, if you don't want to show the effect, use your own overlay

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's because i made all 3 of…
Thu, 05/12/2022 - 16:11

It's because i made all 3 of them combine in to a new effect, thats the only one that the player should see.
What kind of overlay how whould i do that because if id do an overlay there will be a black box or something else the player should not see right? And whould the player still be able to interact with the main inventory when the overlay is active? 

I'll try the second one i don't really know how to make the first one work. 
Thank you ! :D

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made the procedure for the…
Thu, 05/12/2022 - 17:40

I made the procedure for the levitation but it looks really unrealistic, i tried to play with the timings and amount. Do you think there is a way to make it look more realistic?

There are two checkmarks in…
Thu, 05/12/2022 - 19:00

There are two checkmarks in potion menu for that (or at least it was like that when I was making mods in MCreator), so make sure you checked them out both. Also, when you apply the potion effect, make sure you uncheck those too.

One of these could be named as "particles", so if you do not find anything named directly, you can try to tweak with that ^^

Also kudos to 91arrows, that second solution is interesting :O

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yea i did both but like the…
Thu, 05/12/2022 - 19:05

Yea i did both but like the icons of the effects i mentioned the player will get will still be in the top right corner of the players inventory. is there a way to disable these ?  

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in what way does it look…
Sat, 05/14/2022 - 15:44

in what way does it look unrealistic

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Like this: https://imgur.com…
Sun, 05/15/2022 - 17:29

Like this: https://imgur.com/LT7SfRG

And also it only works when the player activates the procedure by right clicking with an item but not with the command.

The command and the item are just for testing, it needs to be activated when the player right clicks a book

This is what i want it to be like but without the icons when the player opens his inventory: https://imgur.com/MuBcmxT

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on the second link i don't…
Sun, 05/15/2022 - 18:05

on the second link i don't see any icons or levitation

the first one looks fine, you just have to tweak the number so it goes faster

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you, The second one is…
Fri, 05/20/2022 - 15:19

Thank you,

The second one is okay but when you open your inventory the icons are there.