🗃 Ticking Entity Error

If it's likely your error is caused by a ticking entity, this article should help you on that!

💭 It's extremely important to read all topics in order to understand the issue and fix, with the minimum loss possible.


❓ What is the Ticking Entity Error ❓

A Ticking Entity is a mob/ creature/ NPC that had become corrupt in your world.
Usually, when the game is trying to load or process anything about that entity, it simply crashes due to its high corruption and you will most likely find the following error:

" java.nullpointerexeption:tickingentity "

A tick can be referred to as the process of the game updating each creature, block or event for every chunk of the world.
This usually happens at a 20 times per seconds rate. Even your actions with the world are processed with ticks such as placing or removing a block.

The chunk is a zone of 16x16 blocks and its height is effectively from the lowest point of your world to the highest.
The game’s map is organized into chunks which need to be loaded into your memory in order for you to be able to interact with your world (e.g. see, move, built etc.).

✔ An entity can be thought of as any NPC from the Minecraft world such as mobs, villagers etc.

NOTE
This type of error can appear in any game type, even Vanilla, but usually ticking entities are the result of a mod or combination of mods that change the core of the game in any way.


❓ What is a Ticking Block Entity Error ❓

The ticking block entity is the same as a ticking one just that the corrupt item is not an NPC but a block from the game.
Errors like these occur with special blocks added by mods like modded crafting tables.

How to solve:
The Ticking Entity Error and Ticking Block Entity Error can be solved using the Crash Report that is generated by the server because it will contain the type of creature/ block that causes the crash, the region it is in and also its exact coordinates (X, Y, Z).

NOTE
For the Ticking Entity Error you will find a section in the Crash Report titled as ‘ Entity Being Ticked ’ and it contains the name, type, region and coordinates of the Entity that caused the error.

NOTE
All of these methods start by backing up your world folder to prevent the loss of your work. In case something gets damaged, this allows you to start over with the process.As soon as you have all the necessary details you can proceed to solve the issue.




🔰 Lots of possibilities 🔰

✔ Use CoFHCore

CoFHCore can erase the entity for modded servers.
CoFHCore is a mod that permits erasing entities through console commands.
All you have to do is add the CoFHCore mod into your server (a lot of modpackshave this mod already installed, so check if this is the case first) and use the following command into your Multicraft console: cofhkillall (erase all entities from your world) cofhkillallcreeper (erase all creepers from your world)

NOTE:
You will have to consult the Crash Report to find out which entity you need to erase.
NOTE:
You need to be able to start the server to use this command. However, you do not have to join the game, you can use it from the Multicraftconsole.
NOTE:
This command is not killing entities like the Vanilla /kill command. Instead it erases them so no loot will be dropped when you’ve killed the mobs.
NOTE:
This command takes place even in unloaded chunks.

ℹ You can find the official page of the mod as well as the download link and more info here: https://www.curseforge.com/minecraft/mc-mods/cofh-core

Thus, for moddeds ervers this is one of the best ways to solve a Ticking Entity error.


✔ Use ClearLagg Plugin

ClearLagg is a Bukkit plugin (CraftBukkit/ Spigot/ PaperSpigot) servers.
ClearLaggis a plugin that also permits through console commands to erase entities from your world.
All you have to do is add ClearLagg into your server and use the following command into the Multicraft console: laggclear (it removes configured entities)

NOTE:
You need to be able to start the server to use this command. Also, you do not have to join the game, you can use it from the Multicraft console.
NOTE:
This command removes the configured entities. If you want to make a filter for the cleared entities then you will have to open the config file for this plugin and set up this command as you like.

ℹ You can find more information about this on the official page of the plugin: https://www.spigotmc.org/resources/clearlagg.68271


✔ Teleport to the entity and kill it

So given the fact that you have a crash report that tells you the exact " X, Y, Z " coordinates of the ticked Entity, you can note down its coordinates and attempt teleporting to it and killing it manually using the following command:

tp X Y Z
(teleport you to the given X, Y, Z coordinates)

NOTE:
This method is not effective at all times. You need to ensure you have enough time to teleport and kill the entity before the server crashes, which is a complicated task.
NOTE:
You need to be able to start the server to use this method and you also need to be able to join. If your character spawns in the same chunk with the entity, the game will instantly crash without allowing you to kill it.
NOTE:
We recommend changing to creative before heading to kill the entity and also to prepare a weapon which can kill the Entity from a single shot for a higher success rate.


✔ Use a World editor like MCEdit

You can use MCEditEditor to generate a view of your world and also to fly through it.
By using the MCEdit commands you can teleport to X, Y, Z coordinates into the world and you can even erase a block or entity.

NOTE:
This method has the higher success rate for this kind of issues but it is working only for worlds generated with versions up to 1.11.2.
NOTE:
This method is not working on Bedrock worlds.

--

✔ Use NBT editor:

A NBT editor is an explorer for nbt files also known as region files.
Your world is made by these kind of files which can be loaded by the editor.
The NBT editor is basically showing you all the data from a world in a list grouped by regions.
So when you use the NBT explorer you will find a list of data and not a generated view as in MCEdit.
We suggest being cautious when using this one as it is a hard task.So once you have the Crash Report you can take the details about the entity that is being ticked and delete it using the NBT editor which permits the search of all regions, entities, blocks by name and coordinates into a data list, not a generated view.

ℹ Here you can find the NBT editor: https://sourceforge.net/projects/nbteditor

NOTE:
As a last resort, you can also use the NBT editor to delete the entire region where the entity is but this will cause its whole loss. However, it will surely remove the undesired entity that is being ticked and thus, solve the issue.


✔ Restoring a backup

If you have one, you can restore a backup of the world such that the server rolls back to the moment prior to the ticking entity’s appearance.

📚 For more information, use our Restoring backups articles on the link below:
Restoring a backup


❓ Ticking World ❓

Ticking World errors are the ones where the server itself doesn’t know where the Ticking Entity is, so as a result, the crash report will not mention any " X, Y, Z " coordinates or details about it.

This is the hardest to resolve from all Ticking Entity error due to the lack of knowledge regarding the ticked entity.

NOTE
The Crash Report will have as header Ticking Entity Crash, but no other info about the entity itself.




🚀 How to solve 🚀

🖲 Delete the player data

The Player Data is usually what generally breaks first and causes the Ticking World issue because they contain your interactions with the world.It is likely your error is caused by a ticking entity.
A possible solution is removing your playerdata, which is what breaks first and causes this ticking problem.
The playerdata contains mostly all the player’s information. By removing this the player will need to rejoin as a new one, but it should fix the issue if the error is not too severe.

🏀 Steps:

Log into your control panel https://mc.ggservers.com/
Go to your server and look at the world option, remember the name it has, then stop your server.
Go to Files, FTP File Access.
In here go to the folder that is named as the option in STEP 2.
Go to the playerdatafolder.
Use this lookup tool to find the UUID of the player, it will be a long string of letters and numbers https://minecraft-techworld.com/uuid-lookup-tool
Delete the file that has the name of the UUID. ( If there are other files with the player name, removing them is generally not needed )
Start your server.If the problem still happens you might want to delete all of the player's playerdata files, including the ones with the name of the player.


🖲 Use the Forge Mod Loader

We suggest to use this method only if all the others did not help, because it has the highest chance to damage your world. You can set forge to erase any creature or block that would cause your crash, but you basically give Forge permissions to erase any clock or entity from your world.
So we do not recommend it if you didn’t at least try all the other alternatives.

NOTE
This method needs to start without questioning with a backup of the world in case Forge is damaging it beyond repairing.

To enable those settings for Forge, you need to:

Go to your Multicraft, click on Files->FTP files access and log in.
In the ‘config’ folder, find and open the file called ‘forge.cfg’.
Find ‘removeErrorEntities’ and ‘removeErroringTileEntities’ which will be both false.
Give the ‘true’ value for the ones mentioned above depending on the error you have (Ticking Entity or Ticking Tile Entity), then save the file.
Start your server, let it start up and close it immediately after it starts.
Now go back to the ‘forge.cfg’ and set both of them back to false.
Start the server, join and see the result.

💫It could be a completely damaged world or it could solve the issue, but in most cases it is just damaging the world, so again, we do not recommend using this method without doing a backup before and without trying all other methods.


Sadly, if nothing above fixes the error, you will need to start a brand new world.
Was this article helpful?
Cancel
Thank you!