Information taken from the Zerocaty channel , If you want to learn more about the optimization of the card – pump
Optimization of cards – This is a thing that mepers prefer not to even think. Most often this happens like this: if they do not lag on their computer, then everything is fine and you can upload it as it is. But sometimes this leads to the fact that the people who download this card simply cannot play on it because creepy lags because their computer is slightly weaker than that of the creator of this card. Therefore, I want to share with you several tips to optimize your cards.
1. Transfer all KB to functions
The first advice will be drawn to people who still do not want to use functions and build their cards only on command blocks. The processor has to open every command unit in the world, to look at what extremity it stands, in what order the team is executed from it, which will be displayed in the log of this command unit and everything is in this spirit. This greatly loads the card. Therefore, the first thing you should do is transfer most of the command blocks to the function.
2. Disable the output of the design bureau
But not all teams have to be transferred to a function. Those that remain, continue to load the card. So that they load the card less – the second advice. Disconnect the conclusions in KB. This will reduce the load
An example of a disabled log in KB
3. Correct configuration of Gamerul’s
Third Council – Game Rules (/Gamerule). Now I will give a small list of these rules that can be disabled or changed for the benefit of optimization. But before you do it thoughtlessly, I recommend that you familiarize yourself with all these rules on Minecraft wiki, In order not to damage any important game mechanics on your map.
DodaylingCycle FALSE – shutdown of a day
Downloadhercycle FALSE – turning off the weather change
CommandblockoutPut FALSE – disconnecting the output of the work of design bureaus in chat
LogadmincMmands FALSE – disconnection
SendcommandFeedback FALSE – Opening the output of executed commands
Dofiretick FALSE – disconnecting fire spread
RANDOMTickSpeed 0 – slowdown in calculations
Domobspawning FALSE – disconnecting self – spawn mobs
MobGriefing FALSE – disconnecting the possibility of destruction of the world with mobs
Spectatorsgeneratechunks FALSE – shutdown of the loading of cups players in observer mode
An example of loading cups
Board of cups is one of the most energy – consuming actions on your map. If you limit the loading of cups, then this will very positively affect the optimization of your card.
4. Optimization of teams
Some teams are highly loaded, for example, the team /Fill. If you put a repeating block in this command, then it will constantly try to fill out this area, but if you finish it at the end Replace Air , then he will already try to fill not the entire area, but only air blocks in this area.
An example of incorrect and instructions /Fill
An example of the correct use of the team /Fill
Minecraft will now spend less resources to fill the region
Or for example a team /Particle . If you enter the Count in the Count value, the player’s weak computer may not withstand this load. In principle, the lags can be caused by any team, and I will not write out each of them separately. Also try not to keep all the command blocks included. Turn them out as needed. For example, if the player is in location 1, then all the functions and design bureaus, which are associated with location 2, must be turned off. And, accordingly, when the player goes to location 2, then everything should switch.
An example of improper use of the team /Particle (Too many particles)
An example of the correct use of the team /Particle
If everything is optimized by you, and the computer is not weak, but still you can’t understand why the card lags, you can try to find the mechanism causing lags by pumpkit. Just turning off one mechanism after another, until the lags pass. If the lags disappear after disconnecting a certain mechanism, then this will be a great chance to experience himself: to understand why it causes lags and how to optimize it
5. Empty world.
Another important factor affecting the load of your system is in which the world you create your own card. If this is a super flat world with a template andquot;Emptinessandquot;, then the computer does not have to process extra chambers with underground currents, caves, mobs, dungeons, or something else.
The world with the template andquot;Emptinessandquot;
The number of FPS in the empty world
But if you decide to make a map in an ordinary world, then you can immediately notice the difference: a longer load, lags at the entrance, loading of cans, generation. All this will be very much loading the computer.
The number of FPS c loaded Ordinary world
7. The amount of enti on the map.
And the last advice for today, but not by significance, this is the amount of Entity on your map. If there are too many of them, then it will be very. Try to remove unnecessary enti (including mobs, paintings, frames, armor stands, etc.e) at unnecessary time
– – –
These are all the tips that I wanted to share. If something is not clear to you, you can ask this in the comments. You can also write in the commentary your advice on optimizing cards.
If this article was useful for you – assessment!