Overview
Data pack integration enables:- Using vanilla Minecraft structures in Iris dimensions
- Custom dimension type configurations
- Version-specific data fixes and compatibility
- Automatic pack format handling across Minecraft versions
Data Pack Versions
Iris automatically handles pack format versioning based on your Minecraft server version.Supported Versions
| Minecraft Version | Pack Format | Data Fixer |
|---|---|---|
| 1.19.2 | 10 | DataFixerV1192 |
| 1.20.5-1.20.6 | 41 | DataFixerV1206 |
| 1.21.3 | 57 | DataFixerV1213 |
| 1.21.11+ | 75 | DataFixerV1217 |
Using Datapack Structures
You can reference vanilla Minecraft structures in jigsaw structure configurations.Basic Usage
When
datapackStructures is defined, all other jigsaw structure settings (pieces, maxDepth, etc.) are ignored.Structure Paths
Structure paths follow Minecraft’s namespaced format:minecraft:village/plains/houses/plains_medium_house_1minecraft:village/savanna/town_centers/savanna_meeting_point_1minecraft:pillager_outpost/base_platesminecraft:ancient_city/city_centerminecraft:bastion/units/center_pieces/center_0
Available Vanilla Structures
Villages
Plains Villages:Other Structures
Pillager Outposts:Custom Dimension Types
Configure dimension type properties through Iris dimension configurations.Dimension Type Options
Iris providesIrisDimensionTypeOptions for customizing dimension behavior.
Option Descriptions
hasSkylight (default: true)
Whether the dimension has a sky and skylight.
false for cave-like dimensions.
hasCeiling (default: false)
Whether the dimension has a bedrock ceiling (like the Nether).
ultraWarm (default: false)
If true, water evaporates and sponges dry (like the Nether).
natural (default: true)
Whether the dimension is “natural” (affects mob spawning, compasses, etc.).
piglinSafe (default: false)
If true, piglins don’t zombify in this dimension.
bedWorks (default: true)
Whether beds can be used to sleep.
false for Nether-like dimensions where beds explode.
respawnAnchorWorks (default: false)
Whether respawn anchors function in this dimension.
hasRaids (default: true)
Whether raids can occur in this dimension.
coordinateScale (default: 1.0)
Coordinate scaling factor (8.0 for Nether = 8 blocks traveled per block).
ambientLight (default: 0.0, range: 0.0-1.0)
Base ambient light level (0.1 = slight glow, 0.0 = pitch black).
Dimension Type Presets
Iris provides three base dimension types:Overworld
Nether
End
Data Fixers
Iris uses data fixers to ensure compatibility across Minecraft versions.How Data Fixers Work
Data fixers automatically:- Convert dimension type configurations to the correct format for your Minecraft version
- Apply version-specific fixes to custom biome data
- Handle pack format changes between updates
Accessing Data Fixers
Data fixers are handled automatically by Iris. You don’t need to manually configure them. The system:- Detects your Minecraft version
- Selects the appropriate data fixer
- Applies fixes during dimension generation
Custom Biome Fixes
Data fixers also handle custom biome JSON conversion:Complete Examples
Vanilla Village Dimension
Nether-Like Custom Dimension
Cave Dimension with Ancient Cities
Version Compatibility
When updating Minecraft versions:- Structure paths may change: Verify structure IDs still exist in new versions
- Pack format updates automatically: No manual configuration needed
- Dimension options may expand: New Minecraft versions may add dimension type properties
- Data fixers handle conversions: Existing dimensions update automatically
Troubleshooting
Structures not generating
Verify:- Structure path is correct for your Minecraft version
- Pack format matches your server version
- Structure exists in vanilla Minecraft data packs
Dimension behaves incorrectly
Check:dimensionTypeis set correctly (OVERWORLD, NETHER, or END)dimensionTypeOptionsvalues are appropriate- No conflicting options (e.g.,
bedWorks: truewithultraWarm: true)
Version update errors
If errors occur after updating:- Check server logs for data fixer errors
- Verify all structure IDs still exist
- Review dimension type options for deprecated properties
- Consider regenerating the dimension with updated configuration
Advanced Integration
For pack developers:Custom Data Packs
You can add custom data packs to your server’sdatapacks folder and reference them: