Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

how to get file from folder minecraft assets?

Status
Not open for further replies.

SageDEV

New member
Joined
Dec 29, 2020
Messages
180
Reaction score
38
Points
0
i need to get file from folder minecraft assets, i using resource location, but it is return minecraft:client in start
 
private final ResourceLocation masterAtSkidding = new ResourceLocation("FolderNameInAssetsFolder/YourFile.png");


i know this thread is old, i dont care tho
 
private final ResourceLocation masterAtSkidding = new ResourceLocation("FolderNameInAssetsFolder/YourFile.png");


i know this thread is old, i dont care tho
lmfao? i mean java.io.File
 
Are you trying get path of resource ? 🗿
 
to get file object use something like Start.getClass().getResource(“/file.example”)
 
// Locked for obvious reasons. If you can't send meaningful messages, then simply don't send them at all.
 
Status
Not open for further replies.
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top