1. Wiki
  2. /Entities
  3. /minecraft:tick_world

minecraft:tick_world

Don't want to write this by hand? GodCraft sets minecraft:tick_world for you with a switch.Get GodCraft

Overview

minecraft:tick_world is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Keeps the chunks around the entity loaded and running, even with no player close by. Use it carefully, since it costs performance.

Fields

FieldTypeDefaultDescription
radiusinteger2How many chunks around the entity are kept active.Range: 2 to 6
distance_to_playersnumber128How close a player must be for the entity to stay; farther away it can despawn. Ignored when never_despawn is true.Range: 128 to …
never_despawnbooleantrueIf true, the entity stays in the world no matter how far away players are.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:tick_world": {
    "radius": 2,
    "distance_to_players": 128,
    "never_despawn": true
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more