Current working directory.

Started by EnsurdFrndship on

Topic category: Help with MCreator software

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Current working directory.
Thu, 06/04/2020 - 20:32 (edited)

Hello,

    I have a mod for Minecraft that is almost finished (except for the '1 final delay' of not being able to create 'authors', 'titles' and 'pages' for 'written books'). I also have a class in Java that successfully reads data from files (so I could one day put whatever data that is read from a file, inside a 'written book' in my game).

 

     As I am STILL trying to research on how to set a  CompoundNBT variable for the ItemStack.setTagInfo(String tag, NBTBase nbt) function (to place data in 'written books'), I was wondering what the 'current working directory' of my project is for file reading. Thank you for any information. 

Edited by EnsurdFrndship on Thu, 06/04/2020 - 20:32
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Never mind. I was able to…
Thu, 06/04/2020 - 21:00

Never mind. I was able to find it. 

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I still need to figure out…
Thu, 06/04/2020 - 21:05

I still need to figure out how to set the CompoundNBT variable to send to the setTagInfo() function in order to create 'written books', and I will be done with my mod after this one last step.