Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7295

Can't summon Sniffer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    •  CraftBukkit version 3678-Spigot-41150f3-968d28d (MC: 1.19.4)
    • Yes

      When attempting to use the command:

      /summon sniffer

      I get the following error:

      [09:18:25] [Server thread/INFO]: ShaneBee issued server command: /summon minecraft:sniffer
      [09:18:25] [Server thread/WARN]: Exception loading entity: 
      java.lang.IllegalStateException: Registering datawatcher object after entity initialization
      	at net.minecraft.network.syncher.DataWatcher.a(DataWatcher.java:88) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.animal.sniffer.Sniffer.<init>(SourceFile:113) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.a(EntityTypes.java:552) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.lambda$127(EntityTypes.java:557) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at java.util.Optional.map(Optional.java:260) ~[?:?]
      	at net.minecraft.world.entity.EntityTypes.a(EntityTypes.java:556) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.b(EntityTypes.java:631) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.a(EntityTypes.java:585) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.commands.CommandSummon.a(CommandSummon.java:58) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.commands.CommandSummon.b(CommandSummon.java:80) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.commands.CommandSummon.lambda$1(CommandSummon.java:40) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:?]
      	at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:312) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:296) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1949) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.network.PlayerConnection.lambda$18(PlayerConnection.java:1911) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandler.b(SourceFile:67) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
      	at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1154) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.bi(MinecraftServer.java:1133) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1126) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.i_(MinecraftServer.java:1110) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1021) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at java.lang.Thread.run(Thread.java:1589) ~[?:?]

      Same thing goes for using the Sniffer spawn egg:

      [09:20:16] [Server thread/ERROR]: Failed to handle packet net.minecraft.network.protocol.game.PacketPlayInUseItem@1d65c3c8, suppressing error
      java.lang.IllegalStateException: Registering datawatcher object after entity initialization
      	at net.minecraft.network.syncher.DataWatcher.a(DataWatcher.java:88) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.animal.sniffer.Sniffer.<init>(SourceFile:113) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.a(EntityTypes.java:552) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.b(EntityTypes.java:420) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.spawn(EntityTypes.java:407) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.spawn(EntityTypes.java:360) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.entity.EntityTypes.a(EntityTypes.java:342) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.item.ItemMonsterEgg.a(ItemMonsterEgg.java:90) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.world.item.ItemStack.useOn(ItemStack.java:302) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.level.PlayerInteractManager.a(PlayerInteractManager.java:548) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1635) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:31) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1154) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.bi(MinecraftServer.java:1133) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1126) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.i_(MinecraftServer.java:1110) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1021) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.19.4-R0.1-SNAPSHOT.jar:3678-Spigot-41150f3-968d28d]
      	at java.lang.Thread.run(Thread.java:1589) ~[?:?]

            Unassigned Unassigned
            ShaneBee Shane Bee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: