i used the command /give @a minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:300,lvl:1}]}
and after i hover the book on my invetory the game crashes, crash log here
Attachments
Comments 3
Not surprised if the game crashes. It tries to take the number stored in NBT and convert that to the enchantment name to display on the item, by picking it from a list of all the enchantments. If you give it an invalid number, say 300, there is no 300th enchantment in that list, so the game is then trying to display something that doesn't exist, as shown in "java.lang.NullPointerException: Rendering screen".
Cannot Reproduce
But I don't think that you are supposed to use that many JVM Arguments, unless you know what they do.