Fixing Ticking Entity / TileEntity ErrorsLast updated: 10/13/20
What is a "Ticking Entity"?
Ticking Entity crash is caused by a monster or creature that has become corrupted in the data files for the game.
Entities is what Minecraft calls all monsters and creatures in the game. While the game is running. the information for the entity can become corrupted. This corruption can be so bad that any attempt by the game to process anything related to it all will cause the game to crash. While this corruption can happen even in "vanilla" minecraft, the leading cause of most Ticking Entities corruption is usually a mod, or a combination of mods, that are changing some core part of the game in Minecraft.
tick refers to Minecraft's process for updating every creature, block, and global event in the game for every "chunk" of the map.. The game normally does this 20 times per second. Everytime you do something in the game, it is only processed on a
tick. Place a block, destroy a block, Shoot a monster, etc.
chunk is a column of terrain 16 blocks X 16 blocks wide, that stretches from the lowest level up to the highest level. Your entire world in minecraft is made of these 16 x 16 chunks. The data for a chunk has to be loaded into memory so you can see it, move around in it, or build in it.
During each tick, the game has to update every block and every creatures in the chunk the player is standing in, and it also has to do the same for every block and creature in every chunk around that chunk, all the way out to the max view distance. Whew, that's a lot of blocks. And it does this 20 times a second. If any event happens that keeps the tick from finishing properly, it can cause the game to crash.
This can result in the game repeatedly crashing every time you try to enter the game, because your spawn point for your character is in the same chunk as the Ticking Entity. It tries to load the chunk into memory, and as soon as it tries to process the corrupted information for the Ticking Entity, it will crash. Over and over and over every time you spawn into the game.
Players that are in other chunks may be able to join the game, but the same thing happens again if they move into any chunk containing a Ticking Entity, and the game crashes.
"Ticking Block" and "Ticking World"
These two crashes are related to the "Ticking Entity" Crash. "Ticking Block" is basically the same, except that the issue is a corrupted block or "TileEntity". These are often special block types added by a mod. Modded crafting table blocks are a common cause of this crash. They are basically handled in the same way as an Ticking Entity.
"Ticking World" is the most severe version of this kind of crash, The game knows that there is a corrupted block or creature somewhere in the world, but can't give you the exact location, because it doesn't know where it is. It could be any block, anywhere. This is the most difficult to fix, and sometimes requires some pretty heroic steps to fix it or just plain luck. In some cases, it's beyond fixing. Let's have a quiet moment of respect for the departed world, bury it, and make another. "Ticking World" is that bad.
Can I Remove the Mods to Fix It?
No. It won't fix the problem.
Even though the mods may have caused the corruption, the corrupted
Ticking Entity is now part of the world data, and your world is basically your save game for Minecraft. Removing the mods will not fix the corruption, and the corrupted entity will still remain in the world.
Also, there's no way to tell exactly which mod may have caused the corruption. It might even have been a combination of multiple mods that caused it. If you are getting repeated Ticking Entity crashes, then later on you might want to figure out which mods are possibly causing it, and remove them at that time. But removing the mods now won't fix the Ticking Entity.
How Do You Fix It?
Ticking Entity will have to be removed from the world data. There are several ways to do this, ranging from simple, to complicated, to apocalyptic.
Luckily, if the game has crashed because of a
Ticking Entity, then it has most likely created a
crash report. That crash report will have the following information (and more):
type of creaturethat caused the crash
X, Y, Z coordinatesof the Ticking Entity creature.
The crash report has everything you need to find and delete the Ticking Entity. Yeah!
Note: The X, Y, Z coordinates are only accurate as of the split second before the server crashes. Always try to use the newest crash report, as older ones ,even if they are only minutes apart, will contain information that might be outdated.
"Ticking World": If you have a "Ticking World" crash, the report will give no X, Y , Z coordinates because… well, the game has no clue where the problem is. It could be any block or creature, anywhere in the game.
How to Find and Read the Crash Report
Depending on how the server crashed, it will usually try to create a crash report (there are situations where the game crashes so fast, and so hard, it doesn't even have time to make the crash report). In the case of a Ticking Entity, the game usually know exactly what caused the crash, and will tell you exactly where to find the culprit.
If a crash report is generated, the game will make a folder called "crash reports" in the main diretory. Each crash report will appear inside this folder and it's title will be a date and time stamp from when the crash occurred.
Click on a report and then click
edit to open it in a text editor. Alternately, you can download the crash report and view it with a text editor on your computer (but that just takes longer).
Once you open the crash report, you will see the crash report header identifies it as a "Ticking Entity" Crash.
if you scroll down into the report, you will see a section labelled
-- Entity Being Ticked --. In that section, in the red boxes we added, will be the exact name of the monster that is corrupted and causing the crash, and it's exact coordinates and region. This location can be used with world editors to allow you to delete the Ticking Entity. The exact name will be useful if you use the first method of fixing Ticking Entities, described below (cofh killall command).
(note: The Blue bar is to conceal the name of a player on the server that was kind enough to let us use this screenshot).
The crash report can also help you determine what mod might be adding the mob, and help you diagnose what is causing the Ticking Entities. In the picture below, I've outlined some keywords in blue.
With a little quick investigation, we find that the Entity in this crash is from a mod called "Special Mobs", and that mod is developed by the author "Fathertoast". Bingo.
Now if this monster continues to cause crashes, you can look up possible solutions from others who ran into the same problem with this monster, you might be able to contact the author of the mod, or simply disable this monster in the config files for the mod.
1. Use the
cofh killall Command to Eliminate the Ticking Entity
If your modpack contains the mod
CoFH Core then that mod will have added a special version of the regular Minecraft
Kill command called
cofh killall. To use this command, the server must be able to startup and run without crashing. Your player does not need to be be connected into the game to run the command. You can enter this command from the light grey box at the bottom of the console view on the Nodecraft control panel.
This command has the ability to kill creatures even in unloaded chunks! . which is very handy considering a Ticking Entity will cause the game to crash if tries to start loading a chunk that contains one.
CoFH Core is a required mod for any mod that uses RF power, such as Thermal Expansion or Thermal Foundation, and is commonly found in a lot of modpacks. Check the
/mods folder for
CoFH Core to see if it's there, and if this is an option.
If you don't have
CoFH Core in the modpack, you might consider downloading and adding the mod just so you can use this command. It's a core mod, and should be compatible with just about any modpack, as long as the mod will work with that version of Minecraft. You can get the
CoFH Core mod from HERE. Just add it to the /mods folder and start the server.
Use the following commands in the console. You can also add an argument at the end to target only the specific creature type mentioned in the crash report.
cofh killall cofh killall zombie cofh killall Witch of Domination
Note: Creatures "killed" with
cofh killalldo not drop loot, as they are not actually being killed, they are simply being deleted from the game
You can try using the regular
Kill command, but unlike the modded version from
CoFH Core it has some huge drawbacks:
killcommand kills entities by causing an astronomical amount of damage to them. Unfortunately, as part of the process of causing damage, it has to process all the information for the entity… and If it's a Ticking Entity… (wait for it, wait for it)… that crashes the game instantly, BEFORE the command actually kills it.
The vanilla version of "kill" does not affect unloaded chunks. If you got close enough to use the vanilla
killcommand, it would load the chunk with the Ticking Entity, and cause it to crash.
If you still want to try using the vanilla "Kill" command, make sure to use the following command (as just typing
kill by itself will actually only have the effect of instantly killing your player character)
kill @e[type=enemy] example: kill @e[type=zombie]
2. Reduce View Distance, and Set Minecraft to "Peaceful":
Another possible fix for a Ticking Entity, which may work in some situations, is to reduce the view distance (the range of chunks being loaded in around each player) while simultaneously setting minecraft to "Peaceful" mode. In "Peaceful", mobs spawn are turned off. If the player then increases the view distance, and moves into the chunks that were the previous location of the Ticking Entity, the game should remove it automatically.
This solution was actually suggested by one of our customers who read this document! Thank you for the suggestion Vanessa!
3. Teleport to the Creature and Kill it
This is the "low tech" way to fix it, but unfortunately the least likely to succeed sometimes. Use the X, Y, Z coordinates from the crash report to
teleport to the creature's location, and in the 1/4 second before the game crashes, kill the creature. Does it work all the time? No. But it is a very satisfying way to fix the issue when it does work. DIE! DIE! DIE!. Very Cathartic. Great way to take your frustration from the crash out on the monster. High fives for everyone, all the way around. Woo Hoo! Great job!
This will only work if the game is not instantly crashing on startup. If you're character is spawning in the same chunk that contains the Ticking Entity, the game will crash before you can do anything. Over and over and over.
Your character will need to have the correct OP level or Permission node that allows them to use the Teleport command. You will also need a weapon that can kill the Ticking Entity in a single hit (you won't have time for a second hit). It's also recommended that you switch the game to creative mode by using
/gamemode creative in the console.
4. Use a World Editor Like MCEdit or NBT Explorer
You can use a standalone Minecraft world editor to load a copy of your world, make changes to it, and then upload it back to the server. This takes longer to do, but has pretty much a 100% chance of working.
Before attempting to use any world editor, it is recommended to make a backup of your entire server, or the world folder. Just in case you need to undo the edits. After the backup is finished, find your world folder in the file manager, select it, and then make a zip file of it. Then download the zip file to a computer that you can used to run the standalone editors on. This cannot be done on the server itself. When you are finished with the edits, you will need to re-upload the world save back to your server.
MCEdit will generate a colored "wire-frame" view of your Minecraft world, and allow you to fly through it. You can also teleport to the exact X, Y, Z coordinates of the Ticking Entity, and then use commands in MCEdit to select and delete blocks (like the Ticking Entity). When you're finished, you save the changes, and then upload the fixed world save back to your server.
- Can only be used on Minecraft world saves up to 1.11. Versions 1.12 and 1.13 of Minecraft are not supported at this time.
- Does not support Minecraft Bedrock edition world saves (The version of Minecracft for Windows 10, Xbox, Playstation 4, Switch, Etc.)
- Requires you to have a minecraft installation on the same computer as you are making the edits on, as it uses the game files to generate the wireframe view of your world.
A very powerful editor, but not exactly user friendly. No gui, or wireframe view like MCEdit. It displays the raw data that makes up the saves, and you can make direct edits to that data. You will have to understand what you are looking at, what it means, and affects in the game, and what it can be changed to. Exact instructions on how to use NBT fall outside the scope of this article.
Below is a sample screenshot of the main "level.dat" file for the overworld of a MInecraft world save.
5. The Apocalyptic Method
Another possible way to "fix" the ticking entity issue is to enable certain features of the
Forge Modloader. Forge contains two settings that will order Minecraft to delete any creatures or blocks that would cause a crash, in order to prevent it from crashing.
Sounds great, right?
Uhm. no. No, no it isn't. It's actually really scary.
This method is completely uncontrollable. Forge is given permission to delete anything and everything that ever looked at it funny, and if you've ever looked at Forge messages in the console, Forge has a lot of issues with just about everything. Forge is a very grumpy program, like a angry old man yelling at the neighborhood kids to get off his lawn. Except Forge now has a magic "Delete" button, so instead of yelling at the kids, it just… deletes them out of existence… And the Lawn… and the entire neighborhood.
Below is a screenshot of the official warning message the creators of Forge put in the file about this feature.
They are not kidding about the potential damage. Anything Forge deletes this way is just gone forever. Gone Gone. No way to restore it. It's toast!
If it's really that bad, why are we even telling you about it?? Well, we're just giving you all the options here. Sometimes this is the last option left. Every once in a while, turning these features on will only delete the Ticking Entity, the rest of your world is fine, and you can go back to playing! Yeah! This process still works enough times for us to still recommend it, just preferably as a last resort. Trust us, try the other methods first.
WARNING: If you attempt to use this method, make a
backupof your server. We cannot stress how much damage this can do to your world, and the damage cannot be fixed. The only way to undo these changes is to restore a backup made before you turned on these settings in Forge, or by restoring a saved copy of your world. Customer Support can not restore any parts of a world deleted by Forge because of these settings, unless you made a backup beforehand
To turn on these settings, you must find the file
forge.cfg, which is normally located in the
config folder in the main directory. Select
forge.cfg, and then click the
editbutton at the top of the file manager window. This will open the contents of the config file in a text editor. Scroll down until you see the following sections:
Find the words
false that are highlighted in red, and change to
true. It's recommended to only turn on the setting appropriate to what you are trying to fix: If trying to correct a
Ticking Entity change the one one for
removeErrorEntities to true, but leave the
removeErroringTileEntitiesset to false. This will hopefully minimize the side effects.
Start the server up, let it finish running. Then immediately shut the server down, open up
forge.cfg and change those settings back to
false. Leaving them permanently set to
true can have continuous side effects. Place a block, and it instantly disappears, because forge didn't like it and zapped it out of existence.
Try connecting into your game, and check to make sure everything is okay. If you see entire structures and buildings gone, well, that's the damage we were talking about. Take a good long look, sometimes things look good where you first appear in the game, but you go to another section of the map, or another dimension, and everything is just… gone. Cue scenes of apocalyptic wastelands, with tumbleweeds blowing by in the wind.
Like we said earlier, once Forge had permission to delete anything it wanted to, it did. All over the place. A lot. It deleted anything it didn't like the look of. With extreme prejudice. Set turbo-lasers to : KILL! Release the Hounds! Drop the Bombs! Cats and Dog Living Together! Mass Hysteria! Oh, the Humanity! Arggghhhhhhhh…
Heavy Sigh. If this happened, restore the backup made before turning on the Forge settings, and try one of the other alternative methods of removing the Ticking Entity.