Jump to content

Need help with creating an interactive file system for a Minecraft mod (1.16.5, Forge 36.2.34)


Lasry_

Recommended Posts

Hello everyone!

I'm working on a Minecraft mod and I'm trying to create an interactive file system similar to the one in the game Doki Doki Literature Club. I've already created a custom block and now I want to implement the file interaction feature.

Here's what I want to achieve: I want to create a "Door.txt" file in a folder called "Settings" located in the Minecraft save folder. The file should initially contain the text "Locked". When the player changes the content of the "Door.txt" file to "Unlocked" (case-insensitive), all instances of the modded block placed in the world should become transparent and let the player pass through them. This should be possible without needing to restart the game. If the content of "Door.txt" is "Locked" or anything else, the block should not be transparent and should not let the player pass through.

Is it technically possible ?

Thank you in advance!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.