Inheriting properties from an already defined file using extends keyword
In simple terms, allow modifying values of a file created using the new keyword without copying the whole file.
This would be really useful for custom advancements that are different by a single line or the likes.
This would allow one to copy and modify files that require minor changes without completely copying the contents of the file.
This also allows making the same changes to the files faster for example if the reward were changed to also include experience, all the files extending the parent would get the change.
Inheriting properties from an already defined file using
extends
keywordIn simple terms, allow modifying values of a file created using the
new
keyword without copying the whole file.This would be really useful for custom advancements that are different by a single line or the likes.
This would allow one to copy and modify files that require minor changes without completely copying the contents of the file.
This also allows making the same changes to the files faster for example if the
reward
were changed to also include experience, all the files extending the parent would get the change.