I was trying to get the keys/values of a Player, but then this was thrown at me. Is this (
Player#getKeys()) not implemented yet?
java.lang.AbstractMethodError: Method net/minecraft/entity/player/EntityPlayerMP.getKeys()Ljava/util/Set; is abstract
at net.minecraft.entity.player.EntityPlayerMP.getKeys(EntityPlayerMP.java) ~[lf.class:?]
edit: Also, this was build 1222. I can try it the latest when I get back home, but I don’t think it would change anything.
Yes, whenever you get an AbstractMethodError, that’s what it means…
Had a feeling, just wanted to make sure, or if there was any other details.
Raised the issue here; https://github.com/SpongePowered/SpongeCommon/issues/618
Why aren’t you just doing player.get(Keys.WHATEVER)?
Because I want to know all of the keys supported/currently in use by the Player?
toContainer just returned an empty set as well, so it looks like I’ll just have to do a bunch of
supports for the key’s I’m testing
What exactly are you trying to accomplish? Perhaps the community could offer some alternative…
This is now implemented in the latest SpongeForge.