Skip to main content
 Warning: Beta Version
Version: Beta ⚠️
Difficulty: Hard

Entity Objectives

 Before starting

We recommend reading the Questing guide before starting this tutorial, as it provides essential background knowledge for understanding Interact Entity Objectives.

In this tutorial, you'll learn how to create and implement Interact Entity Objectives, a powerful feature that enhances player guidance to Non-Player Characters (NPCs) in your Minecraft Server.

Understanding Interact Entity Objectives

Interact Entity Objectives are a specific quest objective that involve player interaction with NPCs. These objectives add depth to Typewriters questing system by creating meaningful encounters and dialogues with characters in your world. They can range from simple conversations to complex multi-stage interactions that drive your game's narrative forward.

Key benefits of using Interact Entity Objectives include:

  • Creating more immersive and interactive quest lines
  • Guiding players through the game world in a natural, story-driven manner
  • Providing visual cues to help players identify important NPCs

Story Overview

Let's create a quest called "A Sip of Memories" that showcases the use of entity objectives. This quest will guide the player through interactions with different NPCs to complete a heartwarming task.

Location: Town square, near a large oak tree

Character: Elias Thornberry (elderly man)

Player Actions:

  • Approach and speak to Elias
  • Listen to his reminiscence about the tree and his late wife, Rosemary
  • Receive the request to fetch water

Outcome: Quest initiated, player directed fetch water from Mira

Note: Players can interact with Mira before meeting Elias, establishing her character and the kiosk's presence in the game world.

Configuring the Quest

Setup Pages

To bring our quest to life, we need to configure several pages that define the NPCs, their dialogues, and the quest structure. These pages work together to create a cohesive quest experience:

Interactive Graph

This is an interactive graph of all the entries in the selected pages.
You can view different pages by clicking on the tabs. Each page contains a view of the entries in that page.
Click on an entry to view its details.

Interact Entity Objective

Interact Entity Objectives are a powerful tool that allows you to create objectives that require players to interact with specific NPCs. Here's how to set it up:

Add Interact Entity Objective
Interact with an entity
+

In our "A Sip of Memories" quest, we use multiple Interact Entity Objectives for different NPCs at various stages. For example, we have separate objectives for talking to Elias at the beginning of the quest and when the player returns with the water.

Visual Indicators

The Interact Entity Objective comes with built-in visual cues to guide players:

  • When an objective is active for an NPC, an indicator appears above their head.
  • The indicator changes based on whether the player has the quest tracked or not.
NPC Indicator Tracked
NPC Indicator when Quest is Tracked
NPC Indicator Not Tracked
NPC Indicator when Quest is Not Tracked

You can customize these indicators using Snippets to match your game's aesthetic.

Interact Entity Objectives Path Stream

To further assist players in navigating your game world, you can implement the Interact Entity Objectives Path Stream. This feature creates a visual path, guiding players to NPCs with active Interact Entity Objectives to those NPCs.

Add Interact Entity Objectives Path Stream
A Path Stream to Interact Entity Objectives
+

Key features of the Path Stream:

  • Automatically generates paths to all NPCs with active Interact Entity Objectives.
  • Only shows paths for objectives in currently tracked quests.
  • Helps players navigate complex game environments more easily.

Here's a visual demonstration of the Path Stream in action:

Quest Setup

To bring all these elements together and create our "A Sip of Memories" quest, we use the following quest configuration:

Interactive Graph

This is an interactive graph of all the entries in the selected pages.
You can view different pages by clicking on the tabs. Each page contains a view of the entries in that page.
Click on an entry to view its details.

This configuration ties together the quest stages and objectives.

Quest Demo

To see how all these elements come together in practice, check out this demonstration of the "A Sip of Memories" quest:

This demo showcases:

  • How players interact with NPCs and their dialogues
  • The visual indicators guiding players to objectives
  • The flow of the quest from start to finish

By implementing Interact Entity Objectives in your quests, you can create rich, interactive experiences that helps guide players to where they need to go.