The plugin continues its journey here.
File Manager is a plugin adding new procedure blocks allowing you to create and read your files!
File Types
- JSON
- TXT (simple file reader/writer)
- ZIP (5.7+)
Important Information
- This version supports Forge 1.19.4 and 1.20.1 and Fabric 1.20.1
The 2 following examples require File Manager 5.0 or after.
Create a JSON file
Read a JSON file
I made a tutorial covering this here.
Credits/License
Tutorial on sub-JSON objects by NorthWestTrees
Icon by Tobi-Wan#0482
Licensed under the GNU Lesser General Public License, version 2.1
- Appropriate credit must be provided to the creators and maintainers of this plugin.
- Forked versions of this plugin must be distributed under the same license as this with attribution if distributed.
- Changes must be stated if any modified works are to be distributed.
- Under no circumstances you can state that the original creator endorses modified works.
Changelog
To see a complete changelog of the plugin, check this file.
5.10
* [#48] Add a new parameter to write lines at the end of TXT files
* Note: Existing workspaces will get a build error due to the missing parameter. Previous behaviour was FALSE.
* [Bugfix #62] Write Json object caused a build error due to a missing import (again)
5.9.1
* [Bugfix #61] Some procedure blocks could cause build errors due to a missing import
* Added Persian language support
5.9
* Updated to MCreator 2024.1.15713
* Added support for NeoForge 1.20.4
Comments
also, why remove the older versions in the first place? they may be buggy but if your going to remove big chunks of content in the new version at least make the older version's in the first place, or i may just be dumb and the older versions are somewhere obvious and i just did not see.
1. I'm limited to 5 files, so I could not even if I wanted to keep all the versions here.
2. As smmmadden said, they are (most of them) also put on the release page of the GitHub repository.
3. GitHub keeps track of literally every single commit, so you always can go back to a specific commit and make your own version.
4. I don't keep older versions because I have no reason to maintain old, bugged, outdated, not-working and incompatible versions or for [add the same adjectives here] Minecraft versions.
is there a version of this that works on 1.19.2 and 1.20.1? because those are the only versions i use and in file manager 5.8 it say it removed support for those 2 versions so i would like to know an older version that DID support 1.20.1 and 1.19.2, plz let me know, god bless.
can this read a recipe .json in this type of format:
-------------------------------------------------------------------------------------------------
{
"type": "ls_furniture:carpentry",
"ingredients": [
{
"item": "minecraft:oak_planks"
},
{
"tag": "ls_furniture:emptyslot"
},
{
"item": "ls_furniture:oak_bark"
},
{
"tag": "ls_furniture:emptyslot"
},
{
"item": "ls_furniture:saw"
}
],
"output": {
-------------------------------------------------------------------------------------------------
This code is from my mod, atm its just to allow JEI to read my recipe. But all the recipes are done through procedures. im basically wondering If it can read it so then i can compare with the slots for the crafting result??
you cant have multiple keys by same name (item), look at how vanilla and mods do their recipes
```
{
"type": "minecraft:crafting_shaped",
"pattern": [
"###",
"#f#",
"###"
],
"key": {
"#": {
"tag": "minecraft:stone_crafting_materials"
},
"f": {
"item": "minecraft:flint"
}
},
"result": {
"item": "minecraft:furnace"
}
}
```
Oh and also the plugin doesnt allow arrays, so you cant really have [
"###",
"#f#",
"###"
]
Youd have to play around it, maybe like this:
```
{
"type": "ls_furniture:carpentry",
"keys": {
"item1": {
"item": "minecraft:oak_planks"
},
"item2": {
"tag": "ls_furniture:emptyslot"
},
"item3": {
"item": "ls_furniture:oak_bark"
},
"item4": {
"tag": "ls_furniture:emptyslot"
},
"item5": {
"item": "ls_furniture:saw"
}
},
"result": {
"item": ""
}
}
```
absolutely :-)