v1_9_R2.NBTTagCompound class not found

Discussion in 'Spigot Help' started by Stuperfied, May 14, 2016.

  1. Hi everyone,

    Im trying to save my plugins data to a binary file rather than a yaml file. I decided to use the NBT format as it seems perfect for what I want to do.

    Under Spigot/CraftBukkit 1.9.2, I have been successful in creating the file using:

    Code (Text):
    import net.minecraft.server.v1_9_R1.NBTCompressedStreamTools;
    import net.minecraft.server.v1_9_R1.NBTTagCompound;
    However, when I try to use Spigot/CraftBukkit 1.9.4, with version R2 of the for-mentioned imports it fails with class not found.

    Code (Text):
    import net.minecraft.server.v1_9_R2.NBTCompressedStreamTools;
    import net.minecraft.server.v1_9_R2.NBTTagCompound;
    Ive been trying to get this to work under 1.9.4 for about 2 days now. Am I taking the wrong approach, using the wrong versions, is there a different way to use NBT format binary files now or is this a bug, are they missing????? Does anyone have an answer to this?


    Edit: Never mind. I forgot to update the run file.
     
    #1 Stuperfied, May 14, 2016
    Last edited: May 14, 2016