Back to mods
Expanded Data project artwork

Modrinth · Minecraft mod

Expanded Data

Expanded Data Objects and Accessors

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Expanded Data release should I use?

Updated 2 years ago
Latest stable file 1.0.6
Game version 1.20.5, 1.20.6, 1.21
Loader Fabric

Expanded Data 1.0.6 targets 1.20.5, 1.20.6, 1.21 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Expanded Data required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Expanded Data 1.0.6 need?

1.0.6. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Expanded Data without breaking your instance.

Built for Expanded Data 1.0.6. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.6. It targets 1.20.5, 1.20.6, 1.21 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.6. It opens that exact file at the source.

About this project

What does Expanded Data add?

Expanded Data

Expanded Data Objects and NBT Accessors for Minecraft data commands.

This current version is built for Minecraft 1.21.3, but translation is pretty straight forwards between other versions.

This is a server-side mod, and is designed with full compatibility in mind for datapack usage.

Usage:

Getting a block for use in other data commands

data get block -188 68 985

image

{block_state: {Properties: {east: "true", waterlogged: "false", south: "true", north: "false", west: "false"}, Name: "minecraft:white_stained_glass_pane"}, x: -188, y: 68, z: 985}

The block_state property is designed to have 1-to-1 compatibility with the block_display entities introduced in Minecraft 1.19.4. This allows block data to be copied to/from real blocks and block_displays.

You can also set/modify any data found block_state, as confined by the typically available states

data modify block -188 68 985 block_state.Name set value "minecraft:dirt"

Getting CursorItem, CraftingItems, and CraftingResult

CursorItem

data get @s CursorItem

image

{count: 1, id: "minecraft:diamond_sword"}

CraftingItems

data get @s CraftingItems

image

[{count: 1, Slot: 0b, id: "minecraft:oak_planks"}, {count: 1, Slot: 1b, id: "minecraft:oak_planks"}, {count: 1, Slot: 2b, id: "minecraft:oak_planks"}, {count: 1, Slot: 3b, id: "minecraft:oak_planks"}]

CraftingResult

data get @s CraftingResult

image

{count: 4, id: "minecraft:oak_planks"}

As these are data values tied to players, you are unfortunately unable to modify them. All things mentioned will also work in predicates, just as you would expect.

Project description from Modrinth.

Pick your setup

Expanded Data by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

10 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Expanded Data versions and loaders

3 of 3 releases match

Looking for an older file? The official Modrinth project page is in Resources.