Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Incubator Q&A

Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.

Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.

Post History

50%
+0 −0
Incubator Q&A Do datapacks have to list every single attribute of a type?

When modifying the configuration of a type in Minecraft with datapacks, does the datapack have to override every single attribute of that type, or will Minecraft use the defaults of a type if they ...

0 answers  ·  posted 3mo ago by Andreas witnessed the end of the world today‭

#1: Initial revision by user avatar Andreas witnessed the end of the world today‭ · 2024-08-25T17:25:00Z (3 months ago)
Do datapacks have to list every single attribute of a type?
When modifying the configuration of a type in Minecraft with datapacks, does the datapack have to override every single attribute of that type, or will Minecraft use the defaults of a type if they are not specified in the datapack?

For instance, I want to override two or three properties of the Minecraft overworld using [dimension_type](https://minecraft.wiki/w/Dimension_type#JSON_format) (`data/minecraft/dimension_type/overworld.json`). Do I have to list every single attribute of `dimension_type`, or does it suffice to only specify a value for one attribute, and thereby use the defaults for the rest? 


[The Minecraft wiki states](https://minecraft.wiki/w/Data_pack#Usage):

> If a file exists in multiple data packs only the file in the last data pack is used. This is often referred to this file overriding the files in the earlier packs.

This means that overriding types in datapacks don't create a chain of inheritance, but it is unclear to me if the selected pack's type specification inherits from the default specification in Minecraft.