This is an updated and improved version of the File Manager plugin by Goldorion, which I will continue to maintain in his absence.
New procedure blocks introduced to the plugin
Changelog
v6.4.1
-Fixed json arrays not working in forge 1.20.1
v6.4
-Added global session variables for json objects and arrays
-Fixed the file global session variable causing build errors
v6.3
-Added 2 procedure blocks to read datapack json files
-Fixed the url to file procedure
v6.2
-Added 5 new procedure blocks to check the data type of json properties
v6.1
-Added new procedure block, file from path
v6.0
-Ported to 2024.2 and neoforge 1.20.6
-Added a directory iterator procedure
-Added the json array variable type
-Added new procedure blocks to use json arrays
Comments
I am having an issue with text entry of JSON Array. (I am on 2024.2). Whenever I try to get the text entry for a JSON array from index, if the index is a variable, I get an error in console. The error is: error: "incompatible types: possible lossy conversion from double to int"
So I found a workaround, but it's annoying. First, I placed round blocks behind all of my local variables. Then, I went into the custom code editor and just placed (int) directly in front of any Math.round() functions. Seems to work fine, just sucks having to lock and unlock the code whenever I make modifications.
Hello, I installed the plugin but I have a problem... FYI I am in 2024.2 and it tells me that the plugin is loaded...
When I open a procedure I have the "file manager" tab displayed with all the blocks, but when I want to create a file I have to declare a "file" variable, but this type of variable is not not accessible (does not exist...). I recreated a new workspace, without success... Could you tell me where the problem is?
PS: I have plugin 1.16.5 and sorry for the English: I'm not English...
Can I ask if a 2024.3 version is on the way anytime soon? :)