[In Dev] EntityDisguise

hehe, im glad your son and his friends enjoyed it.

Does this work with Pixelmon Entities?

as far as i know, Pixelmon does not have support for Sponge, therefore it will not work

Pixelmon gives support to Sponge. They say so on their website.

oh then this should support it when it upgrades to the new API

You do realize that most mods, if they register there entities properly, are more or less fully* compatible with sponge. If you’re just making a call to the GameRegistry to get an EntityType, pixelmon’s mobs should already be accessible.

How do you make a call to GameRegistry?

I did not realise that no XD. Thanks for telling me

You dont need to. Its my plugin that does. And it does anyway

so is there a command to see a list of entities that are registered?

08.04 19:40:46 [Server] Server thread/ERROR [Sponge]:
Error occurred while executing command ‘ed disguise pixelmon’ for
source EntityPlayerMP[‘Quakthorn’/1030, l=‘world’, x=1514.50, y=64.00,
z=241.50]:
org.spongepowered.api.event.cause.Cause.of(Ljava/lang/Object;[Ljava/lang/Object;)Lorg/spongepowered/api/event/cause/Cause;
08.04 19:40:46 [Server] INFO java.lang.NoSuchMethodError:

org.spongepowered.api.event.cause.Cause.of(Ljava/lang/Object;[Ljava/lang/Object;)Lorg/spongepowered/api/event/cause/Cause;
08.04 19:40:46 [Server] INFO at EntityDisguise.Data.DisguisedPlayer.pushDisguise(DisguisedPlayer.java:75) ~[DisguisedPlayer.class:?]
08.04 19:40:46 [Server] INFO at

EntityDisguise.Listeners.Commands.EntityDisguiseCommand.disguise(EntityDisguiseCommand.java:57)
~[EntityDisguiseCommand.class:?]
08.04 19:40:46 [Server] INFO at

EntityDisguise.Listeners.Commands.EntityDisguiseCommand.runPlayerCommand(EntityDisguiseCommand.java:28)
~[EntityDisguiseCommand.class:?]
08.04 19:40:46 [Server] INFO at EntityDisguise.Listeners.Commands.Interface.EDCommand.process(EDCommand.java:58) ~[EDCommand.class:?]
08.04 19:40:46 [Server] INFO at

org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:331)
~[SimpleDispatcher.class:1.8.9-1808-4.1.0-BETA-1229]
08.04 19:40:46 [Server] INFO at

org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:268)
[SpongeCommandManager.class:1.8.9-1808-4.1.0-BETA-1229]
08.04 19:40:46 [Server] INFO at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:80) [bd.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:815) [lm.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:794) [lm.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:37) [ie.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9) [ie.class:?]
08.04 19:40:46 [Server] INFO at

org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:106)
[PacketUtil.class:1.8.9-1808-4.1.0-BETA-1229]
08.04 19:40:46 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:51) [fh$1.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fh$1.class:?]
08.04 19:40:46 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_77]
08.04 19:40:46 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_77]
08.04 19:40:46 [Server] INFO at net.minecraft.util.Util.func_181617_a(SourceFile:44) [g.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:660) [MinecraftServer.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344) [ko.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605) [MinecraftServer.class:?]
08.04 19:40:46 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481) [MinecraftServer.class:?]
08.04 19:40:46 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77]

Same error on all forms.

The version of the plugin you have doesn’t seem to be updated to Sponge API 4.x.x
:slight_smile:

It’s the lastest version 0.3

The plugin does not look like it has been updated for the API 4.x.x yet.

It hasnt.
Ive been too busy with moving around the cycle of college, home, hospital. I havent really had time to get to work on any project

hope this is updated soon.

Updated the plugin to API4.x.x. Nothing new in the code and its untested but yeah, update.

@MoseMister http://pastebin.com/SMhymVbZ - Server Crash

That is interesting. There is no error that has come from EntityDisguise, only the developer console messages. Please note that EntityDisguise for API 4+ has not been tested at all. When I get a chance I will.