Wait Procedure

Published by LilYowser on Mon, 04/13/2020 - 20:36
Status
Duplicate
Product/platform
Not applicable
Priority
Normal
Issue description

A wait Procedure, for example (place block at :x :y :z     -     wait 60 ticks    -    explode 

Issue comments

But i totally support Wait procedure because Delaying is Really frustrating to make every time it needs multiple elements to just delay between a block and a block (Some elements doesnt need two Elements to make delay but still i dont agree with theres still no wait procedure, like, what about one time trigger(like "when entity kills entity"). it Definitely needs to use two elements to use delays) im been using MCreator Over 1 year i was using MCreator when MCreator didnt had procedure system, and this account is not first account i forgot some account so maybe 2 year if i remember correctly i saw several Wait procedure Feature request and how moderators are responding with it, But Still, Still i need Wait Procedure

Expected Respond: "we dont add Wait procedure, they can done by using tags or variables" "we dont add wait procedure, modding is programming, so its good learning point"
"you can delay procedure in one time trigger without using two elements! Brbrbrbrbrbr" "i sUgGeSt yOu cHeCk oUr tUtOrIaLs cOlLeCtIoN PlAyLiSt oN OuR YoUtUbE ChAnNeL WhIcH CoNtAiNs mAnY ExAmPlEs aNd tUtOrIaLs tHaT CaN HeLp yOu gEt sTaRtEd wItH McReAtOr(totally template try search the texts in google theres several)"

my thought: NO NO, Just NO, or maybe you can make Wait procedure simple, so to make more advanced wait things you need to make yourself, but im also not such a programmer, so theres not so much things i can say
or you want  flood forum with "add wait procedure" or "My Game Freezed! (due to wrong while procedure usage)"?
or maybe you just want flood procedure with bunch of blocks to delay things between a block?

if this still not added okay, i just wait someone release wait procedure plugins
sorry for being rude like that but if i didnt do so MCreator wont add wait procedure for entire century 

but im also not such a programmer

This explains your reply.

Minecraft is single-threaded in logic (google that term). Tasks run in parallel so delay can only be virtual with counting ticks and doing something after that many ticks elapse.

So you need to store counter value. There are multiple types of data storages such as NBT and variables.

Then you need tick procedure to tick delay.

I don't see a way how one could make universal wait procedure block aware of all this and so the block would "decide", what variable type to use and which tick trigger to use.

The procedure is not aware of itself for what it will be used.

Not adding wait procedure is much like Minecraft not adding grassblock using several green concrete to make grasses

Then Explain it to all peoples saying "Add wait procedure blocks" + "I suggest you brbrbrr" Why not doing this

You could search and find replies like this all over this website ;)

In the time you took to write this up, you could:

a) find reply like this

b) or even better, take time to watch 10 minute tutorial on this and figure it out

i think it can be done by just auto generate code of delaying things that can be done in by hand random named variables for delay counters, random named elements(Like AI that generates codes for wait procedure depend on situations) for just delays or if REALLY making wait procedure is impossible give us a template for wait procedure system 

 

You could search and find replies like this all over this website ;)

In the time you took to write this up, you could:

a) find reply like this

b) or even better, take time to watch 10 minute tutorial on this and figure it out

 okay if you want flood forum with "add wait blocks" by not explaining peoples or announcing about wait block "technically cannot be done in entire java program that running minecraft" no matter what code we write, 

its funny IF wait procedure plugins is created by someone that impossible to make by MCreator Devs
this will not occur i guarantee :P
sorry for being mad for a bit. but i really want wait procedure since procedure system was added in mcreator



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.