Help, its not detecting I have effect

Started by JetDragon5_ on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help, its not detecting I have effect

I'm trying to make a keybind, which when pressed, will check if the player has an effect, and if it does, it will execute an action. For some reason no matter what I do it will not see I have the effect, even when I have it. I tried checking directly with the [has (event/target entity) active potion (exampleEffect)], the [get effect amplifier of potion (exampleEffect) for (event/target entity)] and [get remaining ticks of potion (exampleEffect) for (event/target entity)], nothing worked. Does anyone know how to fix this?

 

 

Note: I'm on 2026.1 with the FabricGenerator plugin 
i also found out i cant make custom particles or dimensions when using FabricGenerator which is sad but what can you do

Joined Apr 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
another note: when i do the…
Sat, 04/18/2026 - 11:56

another note: when i do the last 2 (the amplifier and remaining ticks) it just returns as 0