Recent content by richie

  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...