Recent content by richie

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.
  1. richie

    Solved Save an entity as a string and create a new one from it

    Thank you for the quick reply. I found a working solution that works with the json string. public String getJsonEntity(Entity entity) { net.minecraft.world.entity.Entity nmsEntity = ((CraftEntity) entity).getHandle(); CompoundTag compound = new CompoundTag()...
  2. richie

    Solved Save an entity as a string and create a new one from it

    Hi, I want to cache an entity as a string to be able to create a copy of it later. I have already searched a bit with Google and now I have the following code. to get the string(works) net.minecraft.world.entity.Entity nmsEntity = ((CraftEntity) entity).getHandle(); CompoundTag...