Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Abdymazhit

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Abdymazhit

  • Rank
    Tree Puncher
  1. Hello! I need to save the building and the coordinates of the required blocks. For example, this is how the building looks like. And the block coordinate that I need to save looks like this. I use this code to get building blocks. The first and second blocks are redstone blocks that are located at the edges of the building. int maxY = firstBlockXYZ[1]; int firstBlockX = firstBlockXYZ[0]; int firstBlockZ = firstBlockXYZ[2]; int secondBlockX = secondBlockXYZ[0]; int secondBlockZ = secondBlockXYZ[2]; List<String>
  2. Hello everyone! I solved the problem by creating a new mod folder in the folder that stores all the config files. And now I use resources from there.
  3. I tried this method as well before posting this thread. But, the error was the same. (java.io.FileNotFoundException: skyblock:rooms/storage.json) new ResourceLocation("skyblock", "rooms/storage.json")
  4. Hello! I am getting error 'java.io.FileNotFoundException: skyblock:rooms/storage.json' even though the specified file is present in my resource directory. Below I have provided my code and a screenshot showing that the required file exists. public static void getStorage() { try(BufferedReader reader = new BufferedReader(new InputStreamReader(Minecraft.getInstance().getResourceManager().getResource( new ResourceLocation("skyblock:rooms/storage.json")).getInputStream(), StandardCharsets.UTF_8))) { JsonObject json = Skyblock.gson.fromJson(rea
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.