Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enderdragon pet is broken. #7

Open
mibby opened this issue Jul 2, 2017 · 9 comments
Open

Enderdragon pet is broken. #7

mibby opened this issue Jul 2, 2017 · 9 comments

Comments

@mibby
Copy link

mibby commented Jul 2, 2017

Compiled as of commit 9ffe50f
Paper dev 1140 (Spigot 1.12)

The enderdragon pet just falls through the ground until it vanishes.

@Arnuh
Copy link
Owner

Arnuh commented Jul 9, 2017

Might as well state this, i'm probably never going to fix this. Someone is fully open to PR a fix.

@mibby
Copy link
Author

mibby commented Dec 26, 2018

Paper dev 488 (Spigot 1.13.2)
EchoPet dev 19

@andrewkm @Arnuh Enderdragon pet unfortunately just errors for me.

[06:50:52] [Server thread/INFO]: mibby issued server command: /pet enderdragon
[06:50:52] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'pet enderdragon' in com.dsh105.echopet.commands.util.DynamicPluginCommand(pet)
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.13.2.jar:git-Paper-488]
	at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:732) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1792) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1595) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.2.jar:git-Paper-488]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
	at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.2.jar:git-Paper-488]
	at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.IllegalStateException: Failed to create EntityPet object for mibby
	at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:90) ~[?:?]
	at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:202) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.SpawnUtil.spawn(SpawnUtil.java:54) ~[?:?]
	at com.dsh105.echopet.api.pet.Pet.spawnPet(Pet.java:91) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:442) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[patched_1.13.2.jar:git-Paper-488]
	... 14 more
Caused by: java.lang.reflect.InvocationTargetException
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
	at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:86) ~[?:?]
	at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:202) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.SpawnUtil.spawn(SpawnUtil.java:54) ~[?:?]
	at com.dsh105.echopet.api.pet.Pet.spawnPet(Pet.java:91) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:442) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[patched_1.13.2.jar:git-Paper-488]
	... 14 more
Caused by: java.lang.NoSuchFieldError: k
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.type.EntityEnderDragonPet.initDatawatcher(EntityEnderDragonPet.java:70) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.EntityPet.x_(EntityPet.java:521) ~[?:?]
	at net.minecraft.server.v1_13_R2.Entity.<init>(Entity.java:235) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.EntityLiving.<init>(EntityLiving.java:147) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.EntityInsentient.<init>(EntityInsentient.java:53) ~[patched_1.13.2.jar:git-Paper-488]
	at net.minecraft.server.v1_13_R2.EntityCreature.<init>(EntityCreature.java:15) ~[patched_1.13.2.jar:git-Paper-488]
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.EntityPet.<init>(EntityPet.java:64) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.EntityNoClipPet.<init>(EntityNoClipPet.java:32) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.entity.type.EntityEnderDragonPet.<init>(EntityEnderDragonPet.java:61) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
	at com.dsh105.echopet.compat.api.registration.PetRegistrationEntry.createEntityPet(PetRegistrationEntry.java:86) ~[?:?]
	at com.dsh105.echopet.compat.api.entity.PetType.getNewEntityPetInstance(PetType.java:202) ~[?:?]
	at com.dsh105.echopet.compat.nms.v1_13_R2.SpawnUtil.spawn(SpawnUtil.java:54) ~[?:?]
	at com.dsh105.echopet.api.pet.Pet.spawnPet(Pet.java:91) ~[?:?]
	at com.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:442) ~[?:?]
	at com.dsh105.echopet.commands.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:47) ~[?:?]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[patched_1.13.2.jar:git-Paper-488]
	... 14 more

@mibby
Copy link
Author

mibby commented Dec 26, 2018

Might be an nms rename change with latest spigot.

@Arnuh
Copy link
Owner

Arnuh commented Dec 28, 2018

This has existed since 1.13.2 came out. I just never fixed it because no one complained.

@Arnuh
Copy link
Owner

Arnuh commented Dec 28, 2018

Oops forgot to mention issues again. 3fe1351
Should work for the dragon now..

I still dunno when I want to spend time to fix the actual bugs the dragon has.

Arnuh added a commit that referenced this issue Dec 29, 2018
Seems to not fall anymore.. but now he just endlessly flies in a direction.
@mibby
Copy link
Author

mibby commented Dec 29, 2018

@Arnuh
Copy link
Owner

Arnuh commented Dec 29, 2018

I think it should be inactive tick from what I saw in mojangs ageable.

@Arnuh
Copy link
Owner

Arnuh commented Dec 29, 2018

They renamed inactive tick earlier(I think) and is higher up in the class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants