Item that *stops* time

Started by MDK on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item that *stops* time

Hello, im trying to make an item, that stops time. Well, it doesnt stop time but stops every entity from moving hence creating the effect of stopped time. I made an item and tried to make the procedure, but since the global trigger is the player right clicking with the item, the event/target entity is the player. It freezes the game trying to right click the item. I can´t find a way to only target mobs. Source entity can´t be used because the item dependencies dont allow it. Is there any way to just target the mobs?

Here is my procedure:

https://imgur.com/6sqRJN5

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, the "Entity iterator"…
Wed, 07/19/2023 - 18:50

Also, the "Entity iterator" is a separate block. It's located under "Minecraft components" I just switched out the "event/target entity" manually 

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But why isnt it working on…
Wed, 07/19/2023 - 18:55

But why isnt it working on Mobss and only making the player stuck?

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you resend your code?…
Wed, 07/19/2023 - 18:57

Can you resend your code? The image link seems broken

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I just realized, I messed it…
Wed, 07/19/2023 - 19:04

I just realized, I messed it up, right here, I put event/target entity instead of entity iterator. Should work once corrected:

https://imgur.com/0CT36IO

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm noticing mobs can still…
Wed, 07/19/2023 - 19:09

I'm noticing mobs can still move slightly. I found adding slowness makes it so they cannot move at all. The only "issue" is that if it's applied to a player, they can see the potion in their inventory, but if you don't mind that, then this works.

https://imgur.com/undefined

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, i gonna make this later,…
Wed, 07/19/2023 - 19:15

Ok, i gonna make this later, not on my PC rn, but thank you very much.

 

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I changed out the potion…
Wed, 07/19/2023 - 19:17

I changed out the potion block, with a find path and move to block, and this seems to work - https://imgur.com/itvbfhR

When mobs are in the air though they seem to move ever so slightly.

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem at all! This has…
Wed, 07/19/2023 - 19:21

No problem at all! This has been fun to work on :)

Ive been thinking though, if you freeze the mobs and then move outside of the are, the frozen mobs won't unfreeze since they are no longer within the "for each" area, so you may want to create a timer for it, so they automatically unfreeze after set time. You can do his with NBT data. 

Here's a video with how to do this: https://youtube.com/watch?v=gTbWiMu-M-0&feature=share9

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi Stitch, theres now a…
Tue, 08/15/2023 - 15:59

Hi Stitch, theres now a block called apply potion effects (effect) ticks:(#) Particles(true - false) ambient: (true - false)

its called something close to that so if you turn off particles and ambient the effect will not show.

 

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Its in entity management and…
Tue, 08/15/2023 - 16:02

Its in entity management and its actually (Add potion () with level () for ()ticks. ambient:(true - false) particles:(true - false))