From f7f7dab1dd846bd9b21d27ed222a5b29e292fec3 Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 3 Jun 2020 16:57:07 -0700 Subject: [PATCH] Add --flat argument to data generators to not create data in mod specific directores. Useful For Forge's test mods mainly. Standardized data gen cache file's folder separators. Added ItemModelProvider to BlockStateProvider for cleaner datagen code. Added .gitattributes to fix datagen json's line endings correct on windows. --- gitattributes.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 gitattributes.txt diff --git a/gitattributes.txt b/gitattributes.txt new file mode 100644 index 0000000..f811f6a --- /dev/null +++ b/gitattributes.txt @@ -0,0 +1,5 @@ +# Disable autocrlf on generated files, they always generate with LF +# Add any extra files or paths here to make git stop saying they +# are changed when only line endings change. +src/generated/**/.cache/cache text eol=lf +src/generated/**/*.json text eol=lf