creates the necessary json files for correctly displaying door textures
python- Minecraft 1.19 client jar
You will need to provide the following files from the Minecraft jar into the minecraft_assets directory:
- from
assets/minecraft/blockstates:oak_door.json
- from
assets/minecraft/models/block:oak_door_bottom_left.jsonoak_door_bottom_left_open.jsonoak_door_bottom_right.jsonoak_door_bottom_right_open.jsonoak_door_top_left.jsonoak_door_top_left_open.jsonoak_door_top_right.jsonoak_door_top_right_open.json
creates the final_assets folder
python creator.py [modid] [doorname] where:
[modid]is your mod's modid (e.g.my_cool_mod)[doorname]is the id of your door (e.g.cooldoornotmy_cool_mod:cooldoor)
Notes:
- The
final_assets/[modid]/andfinal_assets/[modid]/[doorname]/folders bear no significance to modding, but thefinal_assets/[modid]/[doorname]/assets/folder and its contents do (e.g you would find this exact folder with this exact file tree, in fabric's case, insrc/main/resources. creator.pyexpectsjson_manipulator.pyandgeneric_assets/(created byjson_manipulator.py) to be present in the same directory- running
creator.pywill remove thefinal_assets/[modid]/[doorname]folder if found creator.pyrunsjson_manipulator.py
creates the generic_assets folder
python json_manipulator.py
Notes:
- There is no need to run this yourself.
json_manipulator.pyexpectsminecraft_assets/and the following files within it:oak_door.jsonoak_door_bottom_left.json,oak_door_bottom_left_open.json,oak_door_bottom_right.json,oak_door_bottom_right_open.json,oak_door_top_left.json,oak_door_top_left_open.json,oak_door_top_right.json,oak_door_top_right_open.jsonto be present in the same directory- running
json_manipulator.pywill remove thegeneric_assetsfolder if found
cleans up only whatever the other scripts create
python manual-cleanup.py
cleans up whatever the other scripts create and whatever the user provides
python manual-full-cleanup.py