How do we register our custom entities only in specific worlds?
I just dived into the GhostFactory class and made it slightly better... http://pastebin.com/98zkSqF8 :)
I'm using an NBT library (http://bukkit.org/threads/library-edit-or-create-nbt-tags-with-a-compact-class-no-obc-nms.178464/) to...
@nverdier @CorrieKay @Konato_K Actually, one more problem.
When putting data into an NbtCompound, it never actually appears to have an effect on...
@CorrieKay Fixed it, thanks!
@Konato_K That's what I'm doing...and I get that error.
@Konato_K Sorry, I'm really new to this. So how would I get the SkullOwner from an NbtCompound?
@Konato_K Yes, that is what an NBT Tag is. :)
It's the SkullOwner tag... @teej107
Code: http://pastebin.com/n2bt4VsR (I commented on the error line).
@teej107 I still get that exact error. :/
@teej107 So how can I fix this? How can I use NBT to get the skull owner?
@teej107 But that's not casting it... In the NbtCompound class, there is a method called getPath which returns any Object... Why would that return...
@teej107 I'm not casting it to a String though... :/ I'm using the method getPath().....
@teej107 On the first pastebin in OP, I wrote a comment ("error on this line").
I know I don't need to use NBT for this, but I need NBT for other things I will be doing, so I wrote this method as an easy test to check if it...
I am using the NBT Tag Lib located at...
I'm using the updated version of this library (https://github.com/aadnk/AttributeStorage) and have a question:
Do all tag compounds have to be...
@TGRHavoc so I do (if e instanceof CustomEntityVillager.getHandle())?
@Funergy I did that, and this is my new class: http://pastebin.com/edmfmePb
What happens: The villager CAN be pushed, but then randomly teleports...
Separate names with a comma.