You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/field-guide/datapacks.mdx
+35-18Lines changed: 35 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,15 +119,17 @@ Field Guide uses specific entity tags to handle default scanning and categorizat
119
119
120
120
Sometimes you may want scanning one entity to unlock the entry for a different one. This is useful for entities that have multiple variations or distinct parts (like multi-part bosses) where scanning any part should unlock the main entry.
121
121
122
+
The redirected block/entity will automatically be removed from categories and will no longer appear as its own entry.
123
+
122
124
You can define these redirects by creating a JSON file at:
@@ -142,31 +144,46 @@ You can define these redirects by creating a JSON file at:
142
144
143
145
A **Composite Entry** is a powerful feature that allows you to group multiple entities or blocks into a single book page, or render custom scenes using NBT structures.
144
146
147
+
The composite will replace any of the component blocks if they are included in a category. The individual components will automatically be removed from all categories.
148
+
145
149
This is highly recommended for multi-block entries, structures, or grouped concepts (like grouping all tree blocks for a specific tree).
146
150
151
+
You can define composites by creating a JSON file at:
*`id`: The unique identifier for this custom entry.
166
183
*`display_id`*(Optional)*: The primary entity or block ID to represent this entry in the UI.
167
-
*`components`*(Optional)*: An array of entity/block IDs that make up this composite entry.
168
-
*`structure_nbt`*(Optional)*: The resource location of an NBT structure file to render in the book. *(Tip: You can use the `/fieldguide export feature <feature_id>` command in-game to easily generate an NBT file of a worldgen feature!)*
169
-
*`stacked_blocks`*(Optional)*: An array of block IDs to render. By default, items will stack on top of each other vertically. You can also specify exact 3D coordinates using the format `"X,Y,Z|block_id"`.
184
+
*`components`*(Optional)*: An array of entity/block IDs that make up this composite entry. These will no longer appear individually as entries.
185
+
*`structure_nbt`: Provide the resource location of an NBT structure file to render. *(Tip: You can use the `/fieldguide export feature <feature_id>` command in-game to easily generate an NBT file of a worldgen feature!)*
186
+
*`render`: An alternative to `structure_nbt` for simpler structures. Provide an array of block IDs to render. By default, blocks will stack on top of each other vertically. You can also specify exact 3D coordinates for each block using the format `"X,Y,Z|block_id"`.
0 commit comments