18 nov. 2017, 15:11

En gros :


ItemStack stack = new ItemStack(Blocks.AIR);
stack.readFromNBT(nbt);

Devient:


ItemStack stack = new ItemStack(nbt);