https://github.com/sshcrack/sshcracks-christmas-additions
A few additions to make your minecraft feel more like christmas
https://github.com/sshcrack/sshcracks-christmas-additions
Last synced: about 1 year ago
JSON representation
A few additions to make your minecraft feel more like christmas
- Host: GitHub
- URL: https://github.com/sshcrack/sshcracks-christmas-additions
- Owner: sshcrack
- License: cc0-1.0
- Created: 2024-11-24T21:11:09.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-02T18:10:59.000Z (over 1 year ago)
- Last Synced: 2024-12-02T19:25:50.828Z (over 1 year ago)
- Language: Java
- Size: 8.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
````js
out = cloned.map(e => {e = Object.assign({}, e); let v = e.content["variants"]; if(!v) {return e}; let entries = Object.entries(v); const newV = {}; entries.map(entry => {let key = entry[0].split(",").filter(e => e !== ""); newV[key.concat(["covered_with_snow=false"]).join(",")] = entry[1]; newV[key.concat(["covered_with_snow=true"]).join(",")]={...entry[1], model: entry[1].model.replace("block/", "block/snowy/")}}); return {...e, content: {variants: newV}}});
out.map(e => fs.writeFileSync(`D:/Minecraft Modding/Fabric/sshcracks-christmas/src/client/resources/resourcepacks/christmas_pack/assets/minecraft/blockstates/${e.file}`, JSON.stringify(e.content, null, 1)))
````