I am getting dynamic compound tag error, whats causing and how to fix this? Also can anyone make a nbt tutorial, since the api got changed AGAIN?
You can't assign arbitrary fields to CompoundTag anymore. Bad: PHP: $tag = new CompoundTag();$tag->SomeTag = new StringTag("SomeTag", "hi"); Good: PHP: $tag = new CompoundTag();$tag->setTag(new StringTag("SomeTag", "hi"); Please note that this is not finalized in a release and may still change. The "legacy/alpha11" branch on github is also updated to 1.2.13 and does not have any breaking changes vs ALPHA11 release (although it does have more bugs).