KnowledgebaseServer Errors & Troubleshooting

How to Fix Ticking Entity Errors

How to Fix Ticking Entity Errors

Server Errors & Troubleshooting
·
Sep 11, 2024
·
9 min read

#What is a Ticking Entity?

An entity is a dynamic, moving object in your Minecraft world, like mobs or minecarts. Each entity has data associated with it, such as its name, inventory, or time alive. Rarely, this data can be corrupted. If the server is incapable of fixing the data, it will crash with the Ticking Entity error.

Ticking Entities errors can occur in Vanilla Minecraft; however, they are most common in larger modpacks.

If your server is immediately crashing upon you trying to join, this is most likely due to a corrupt Ticking Entity located in the same chunk your character is trying to load in at. Your server will try to read the information of the chunk surrounding that player and will then crash because the entity inside of it is corrupted.

Other players may be able to join if they are not in the same chunk, but the server will crash immediately upon any player entering the chunk with the corrupt entity.

When a corrupt Ticking Entity is created in your server, it will permanently affect your world data.


#Ticking Block and Ticking World

There are two other variations of this type of crash. These are ‘Ticking Block’ and ‘Ticking World’ crashes. A Ticking Block error is tied to a corrupted tile entity associated with a specific block. Ticking Block crashes are usually caused by things like modded crafting tables or machinery.

A Ticking World error, on the other hand, is when an entity is corrupted. These are the most severe cases of this crash, as it is harder for your server to precisely locate the corrupted entity.


#Methods for Resolving the Error

There are a few methods for resolving this error. Please follow the method best suited for your situation.


#Method 1: Restoring a Backup

If you have a backup created of your server, you can simply restore your server to a previous state before the corrupt Ticking Entity appeared. This will resolve your server crashing and allow you to carry on as normal. You can learn how to restore Server Backups here.


#Method 2: Forge Configuration

Forge servers have a toggleable config option, which, when enabled, automatically removes any problematic entities or blocks. Steps for locating this config will depend on which version of Forge you have installed. Please follow the appropriate instructions based on your version of Forge.

  1. Access your server's control panel and navigate to the Files tab.

  2. Navigate to the Forge configuration file.

Depending on your Forge version, locate and edit the specified file:

  • Forge 1.13 and newer: Open <world>/serverconfig/forge-server.toml

  • Forge 1.12.2 and older: Open config/forge.cfg

  1. Once open, locate the lines removeErroringEntities and removeErroringTileEntities. Set both of these to true.

  2. Save the changes, then Start your server.

Note

Your server must be able to start up and run without crashing for this method to work. However, you do not have to join the server as a player to run this command.


#Method 3: CoFH Core

A lot of popular modpacks will have CoFH Core installed, but if your server doesn’t, it is a very simple mod to add, and its commands are incredibly useful for dealing with corrupt Ticking Entities. If you need assistance with adding a mod to your Minecraft Forge server, please use our guide here.

  1. Locate the corrupted mob in your Crash Report. You can do this by scrolling through your Ticking Entity Crash Report and looking for the section labelled -- Entity Being Ticked --.

  2. In this area, look for the Entity’s name and copy it.

  3. In your console, enter the command cofh killall [entityname].

  4. Alternatively, you can just use the command cofh killall; however, please note this will delete all mobs from your server.


#Method 4: Vanilla Method

This method will only work if the corrupted Ticking Entity is considered a hostile mob. However, it is worth trying if you are unable to back up your server or use mods.

  1. Go into your server settings and reduce your View Distance.

  2. Change the game difficulty to ‘Peaceful’.

  3. Save the changes and Restart your server.

Once your server is started and you can successfully join without crashing, you can revert your View Distance and Difficulty back to normal and restart your server to resume normal gameplay.


#Method 5: World Editors

The final, most effective method for fixing Ticking Entity errors is using software for Minecraft World editing to remove the chunk in which the corrupt Ticking Entity is stuck. Programs such as MCASelector or NBT Explorer can help you with this.

Before attempting this method, we highly recommend you make a backup of your world folder in case you make a mistake and need to undo your edits.

If you are interested in learning how to use NBT Explorer, we have a wonderful guide that can help you here.


If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Word lid van Discord