Jump to content

Loading a data file


watkins577

Recommended Posts

Hey,

 

I'm trying to load some data files into minecraft. However I can't manage to actually retrieve the specific file.

 

I have chestModImages and chestModData, which hold the images and data files respectively, in the same folder. The images are loaded through "bindTextureByName" in an extension of TileEntitySpecialRenderer, and using File("chestModData/test.dat") I get that that file doesn't exist, so it must be using the wrong path.

 

Without changing the placement of the folder, and without using a static reference to the files, how can I access them?

 

Thanks,

Watkins

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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