Started by
coderjk
on
Topic category: Help with Minecraft modding (Java Edition)
I am using the File Manager plugin to read the contents of a text file line by line.
I don't understand how to access the data in each line using the "string iterator".
Can anyone point me in the right direction?
I’m using MCreator 2023.1
I'm not sure how it works either but I'm currently trying to figure it out, so either I'll get back to you if I figure it out or I'd really appreciate it if you let me know if you found anything before I did!!
Line is a text ended with enter.
From the name of this block i understand that it takes a file you choose and goes through each line in file in a loop from top to bottom giving you onr line at a time.
Ps. I used 3 lines for this post.
@Azzier
is there any way to specify a particular line you want to edit/replace in a .txt file with this procedure block, and if not what would this procedure block even be used for?
I don't really use this plugin, so it'll be the best if you ask the author:
https://mcreator.net/plugin/64638/file-creator
@Azzier
Ah, ok well thank you for the help anyways!
I’ll go see about asking the creator at some point then!