Started by Shiori on Tue, 04/30/2019 - 22:57 Topic category: Help with MCreator software I can not understand why variable N instantly becomes zero after replenishment Jump to top Local variable is local per procedure execution. To preserve the variable, it needs to be global. Jump to top Permalink Log in or register to post comments In this case, will this variable be independent for each player? Jump to top Permalink Log in or register to post comments And will its value be preserved after the player has re-entered the server? Jump to top Permalink Log in or register to post comments 12,000 ticks pass in 5 minutes instead of 10 minutes Jump to top Permalink Log in or register to post comments The answers to your questions about global variables: It depends on the type of global variable. Since they were updated in 1.8.3, I think it may either be World or Map global variables you are after. Jump to top Permalink Log in or register to post comments Thx Jump to top Permalink Log in or register to post comments Changing the variable to the world type corrected the number of ticks in the second Jump to top Permalink Log in or register to post comments Can I somehow put and remove armor in the player's slot? Jump to top Permalink Log in or register to post comments Decided using /replaceitem "Can you somehow put and remove armor in a player's slot?" Jump to top Permalink Log in or register to post comments Can you somehow make the block collect an item from the zero slot from all blocks in a radius of 50 units around? I tried to do it through a replay, but when I activate minecraft crashes, since 200000 procedures were performed =D Jump to top Permalink Log in or register to post comments For checking in radius, you might want to check this ticket for example on how to do this: https://mcreator.net/tracker/issue/48704 Jump to top Permalink Log in or register to post comments How to get name of item from slot in block? Jump to top Permalink Log in or register to post comments Found Jump to top Permalink Log in or register to post comments At the expense of the initial question The global variable is common to all players on the server, but I need an individual Jump to top Permalink Log in or register to post comments Pagination Current page 1 Page 2 Next page next Last page last
Local variable is local per procedure execution. To preserve the variable, it needs to be global. Jump to top Permalink Log in or register to post comments
In this case, will this variable be independent for each player? Jump to top Permalink Log in or register to post comments
And will its value be preserved after the player has re-entered the server? Jump to top Permalink Log in or register to post comments
12,000 ticks pass in 5 minutes instead of 10 minutes Jump to top Permalink Log in or register to post comments
The answers to your questions about global variables: It depends on the type of global variable. Since they were updated in 1.8.3, I think it may either be World or Map global variables you are after. Jump to top Permalink Log in or register to post comments
Changing the variable to the world type corrected the number of ticks in the second Jump to top Permalink Log in or register to post comments
Can I somehow put and remove armor in the player's slot? Jump to top Permalink Log in or register to post comments
Decided using /replaceitem "Can you somehow put and remove armor in a player's slot?" Jump to top Permalink Log in or register to post comments
Can you somehow make the block collect an item from the zero slot from all blocks in a radius of 50 units around? I tried to do it through a replay, but when I activate minecraft crashes, since 200000 procedures were performed =D Jump to top Permalink Log in or register to post comments
For checking in radius, you might want to check this ticket for example on how to do this: https://mcreator.net/tracker/issue/48704 Jump to top Permalink Log in or register to post comments
How to get name of item from slot in block? Jump to top Permalink Log in or register to post comments
At the expense of the initial question The global variable is common to all players on the server, but I need an individual Jump to top Permalink Log in or register to post comments
Local variable is local per procedure execution. To preserve the variable, it needs to be global.
In this case, will this variable be independent for each player?
And will its value be preserved after the player has re-entered the server?
12,000 ticks pass in 5 minutes instead of 10 minutes
The answers to your questions about global variables: It depends on the type of global variable. Since they were updated in 1.8.3, I think it may either be World or Map global variables you are after.
Thx
Changing the variable to the world type corrected the number of ticks in the second
Can I somehow put and remove armor in the player's slot?
Decided using /replaceitem
"Can you somehow put and remove armor in a player's slot?"
Can you somehow make the block collect an item from the zero slot from all blocks in a radius of 50 units around?
I tried to do it through a replay, but when I activate minecraft crashes, since 200000 procedures were performed =D
For checking in radius, you might want to check this ticket for example on how to do this: https://mcreator.net/tracker/issue/48704
How to get name of item from slot in block?
Found
At the expense of the initial question
The global variable is common to all players on the server, but I need an individual