Topic category: Website and community discussion
Write the module for the first time. Ask for help
Name of pill: violent walking pill
Pill introduction: it contains the magic power from the lower world. The people who can use it will be strengthened and killed in the quick delivery. But because it only releases human power in a short period of time, it will pay a price after using it.
Once satiated, all effects of satiety are reduced to half full. Gain effects: swiftness II (60s), jump II (60s), strength II (30s), HP recovery II (25s), night vision (45s), scuba (30s), and Underwater Digging (25s); after all gain effects, they will submerge (25s) and weakness (15s), and have a 5% probability of falling into poisoning (15s).
Synthesis method: pill * 1 + flame powder * 1 + gunpowder * 1 + tears of evil spirit * 1 + bone powder * 1 + rotten meat * 1 + fermented Spider Eye * 1 + iron particles * 1 + ordinary liquid medicine * 1 (bottles will be left in the workbench after synthesis)
The ordinary potion finally worked
It's like this:
① After the player takes the * * pill
Add the following effects and
Monitor the player's Potion effect, when the effect speed / jump time has been increased
Add weak and excessive potions to players
Or is it
② The timing starts when the player takes the * * pill
After 2 minutes, add the effect of weakness and obesity
Add set number nbt "pillTime" to entity to 2400.
Then make a new procedure called on player tick update.
If get number nbt "pillTime" > 0{
set number nbt "pillTime" to get pillTime - 1.
} else if get number nbt "pillTime" <= 0{
add potion hunger
add potion weakness
}
I thank you very much! mua..
I don't quite understand
Add the bottom bit to a new procedure called on player tick update.
If get number nbt "pillTime" > 0{
set number nbt "pillTime" to ((get pillTime) - 1)).
} else if get number nbt "pillTime" <= 0 AND get number nbt "pillTime" > -5{
add potion hunger
add potion weakness
set number nbt "pillTime" to -6
Also you should set pillTime to get pill time - 1.
Could you give me show the "Mcreate Link" ? I'm a new mcreator baby wuwuwuwuwuwuwuwuwu
https://imgur.com/a/C411iE1
Make a new procedure.
I don't quite understand what you said in the new process, but I do it in your When Link eaten of of Mcreator Link, and he will add those two effects to the game player after you enter the game, instead of triggering it after eating. (Learning programming is really from the beginning to dissuade, crying)
Learning programming is really from the beginning to dissuade, crying
I don't quite understand what you said in the new process, but I do it in your When Link eaten of of Mcreator Link, and he will add those two effects to the game player after you enter the game, instead of triggering it after eating. (Learning programming is really from the beginning to dissuade, crying)
I was finish thanks very very mua,but i'm a mcretor baby, than future please much much teach me ! hhhh
https://imgur.com/a/ijTInyz