
Modrinth · Minecraft mod
Expanded Data
Expanded Data Objects and Accessors
Quick answer
Which Expanded Data release matches 1.20.2?
Expanded Data 1.0.4 targets 1.20, 1.20.1, 1.20.2 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.
This file is marked server-only.
What else does Expanded Data 1.0.4 need?
1.0.4 on 1.20.2. Every mod below is checked against that same setup.
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.4 on 1.20.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.4. It targets 1.20, 1.20.1, 1.20.2 with Fabric; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.4. 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

{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
{count: 1, id: "minecraft:diamond_sword"}
CraftingItems
data get @s CraftingItems
[{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
{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.
1.21.2
1 loader build1.21.1
1 loader build1.21
1 loader build1.20.6
1 loader build1.20.5
1 loader build1.20.4
1 loader build1.20.2
1 loader build1.20.1
1 loader build1.20
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Expanded Data versions and loaders
1.0.4
expandeddata-1.0.4.jar
21 Oct 2023
Looking for an older file? The official Modrinth project page is in Resources.