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

Noppes' Mods


140 topics in this forum

  1. Compatibility

    • 0 replies
    • 1.2k views
    • 3 replies
    • 3.6k views
    • 0 replies
    • 2.9k views
    • 2 replies
    • 9.1k views
    • 2 replies
    • 11.8k views
  2. A Boat Bug

    • 0 replies
    • 2.9k views
  3. Blood Block Not Working

    • 0 replies
    • 2.8k views
    • 0 replies
    • 2.3k views
    • 1 reply
    • 6.9k views
    • 0 replies
    • 2.1k views
  4. [Custom NPC] Memory Leak

    • 2 replies
    • 5.5k views
    • 0 replies
    • 5.2k views
    • 0 replies
    • 1.9k views
    • 3 replies
    • 3.5k views
    • 1 reply
    • 2.1k views
    • 0 replies
    • 2.1k views
    • 0 replies
    • 3.4k views
    • 2 replies
    • 6.3k views
    • 0 replies
    • 2.3k views
    • 2 replies
    • 39.4k views
    • 0 replies
    • 2.5k views
    • 1 reply
    • 5.5k views
    • 0 replies
    • 2.8k views
    • 5 replies
    • 23.2k views
  5. NPC Follower Guard

    • 0 replies
    • 2.7k views


  • Posts

    • i have Java but not in this folder  
    • If it is so easy i woudent tell you.   Execution failed for task ':compileJava'. > Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_301 contains a valid JDK installation. Possible solution:  - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html   How can i cange the folder 
    • public static void getNBTDataFromItemFrameItem(ItemFrameEntity item, World world) throws IOException { if(item.getItem().sameItem(new ItemStack(Items.FILLED_MAP))){ fileCount++; File file = new File("anything", "data" + fileCount + ".dat"); try { MapData nbt = FilledMapItem.getOrCreateSavedData(item.getItem(), world); assert nbt != null; CompressedStreamTools.writeCompressed(nbt.serializeNBT(), file); System.out.println("done"); } catch (Exception e) { e.printStackTrace(); } } } Now I just get error that it cant serialize the data java.lang.NullPointerException [19:59:33] [Render thread/INFO] [STDERR/]: [me.hakak.entityfindmod.commands.findItemFrames:getNBTDataFromItemFrameItem:63]: at net.minecraft.world.storage.MapData.save(MapData.java:160) [19:59:33] [Render thread/INFO] [STDERR/]: [me.hakak.entityfindmod.commands.findItemFrames:getNBTDataFromItemFrameItem:63]: at net.minecraft.world.storage.WorldSavedData.serializeNBT(WorldSavedData.java:63) [19:59:33] [Render thread/INFO] [STDERR/]: [me.hakak.entityfindmod.commands.findItemFrames:getNBTDataFromItemFrameItem:63]: at me.hakak.entityfindmod.commands.findItemFrames.getNBTDataFromItemFrameItem(findItemFrames.java:60)  
    • It tells you exactly what the issue is. Just fix it...
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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