Doggy Talents

Doggy Talents

27M Downloads

Stick not working on dogs

T3DDY14 opened this issue ยท 4 comments

commented

<!-

-->

Environment And Mod Information:

  • Minecraft Version: [1.16.4]
  • Forge Version: [35.1.37]
  • Doggy Talents Version: [2.0.1.2]
  • Java Version: [8 update 281 64bit]
  • Operating System (OS): [windows 10 pro ]

Logs

https://pastebin.com/WWrsu78t

Issue Description:

Have been trying to train a dog in 1.16.4 but nothing seems to happen when I right-click it with a stick when tamed even when given a treat nothing happens. this is in a multiplayer server.

Steps to reproduce:

  1. Load modpack
  2. Go into server
  3. Tame a dog
  4. Nothing happens when your right click it with a stick

Additional Information:

Multiple people on the server are having the issue

commented

Are you sure your dog has been transformed? I thought mine did, and was getting the same issue, so i made 64 treats and started feeding them to a un-transformed dog, wasted like 8 before i checked logs. Idk what is causing it on my end, but i am trying out mods that people reported confirmed bugs with it that are not fixed.

EDIT: Seems its the mod "Shrink"

commented

Error code i am getting when trying to tame, seems it is caused by this mod
https://github.com/gigabit101/Shrink

Error executing task on Server
java.lang.NullPointerException
	at doggytalents.common.entity.DogEntity.getCapability(DogEntity.java:1051)
	at net.minecraftforge.common.capabilities.ICapabilityProvider.getCapability(ICapabilityProvider.java:48)
	at net.gigabit101.shrink.events.PlayerEvents.changeSize(PlayerEvents.java:119)
	at net.minecraftforge.eventbus.ASMEventHandler_30_PlayerEvents_changeSize_Size.invoke(.dynamic)
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:297)
	at net.minecraftforge.event.ForgeEventFactory.getEntitySizeForge(ForgeEventFactory.java:751)
	at net.minecraft.entity.Entity.<init>(Entity.java:217)
	at net.minecraft.entity.LivingEntity.<init>(LivingEntity.java:205)
	at net.minecraft.entity.MobEntity.<init>(MobEntity.java:136)
	at net.minecraft.entity.CreatureEntity.<init>(SourceFile:12)
	at net.minecraft.entity.AgeableEntity.<init>(SourceFile:28)
	at net.minecraft.entity.passive.AnimalEntity.<init>(AnimalEntity.java:37)
	at net.minecraft.entity.passive.TameableEntity.<init>(SourceFile:31)
	at doggytalents.api.inferface.AbstractDogEntity.<init>(AbstractDogEntity.java:26)
	at doggytalents.common.entity.DogEntity.<init>(DogEntity.java:194)
	at doggytalents.DoggyEntityTypes$$Lambda$7698/1368343950.create(Unknown Source)
	at net.minecraft.entity.EntityType.func_200721_a(EntityType.java:445)
	at doggytalents.common.event.EventHandler.rightClickEntity(EventHandler.java:48)
	at net.minecraftforge.eventbus.ASMEventHandler_983_EventHandler_rightClickEntity_EntityInteract.invoke(.dynamic)
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85)
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:297)
	at net.minecraftforge.common.ForgeHooks.onInteractEntity(ForgeHooks.java:774)
	at net.minecraft.entity.player.PlayerEntity.func_190775_a(PlayerEntity.java:936)
	at net.minecraft.network.play.ServerPlayNetHandler.func_147340_a(ServerPlayNetHandler.java:1194)
	at net.minecraft.network.play.client.CUseEntityPacket.func_148833_a(SourceFile:74)
	at net.minecraft.network.play.client.CUseEntityPacket.func_148833_a(SourceFile:13)
	at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:34)
	at net.minecraft.network.PacketThreadUtil$$Lambda$33219/1780517814.run(Unknown Source)
	at net.minecraft.util.concurrent.TickDelayedTask.run(SourceFile:18)
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:172)
	at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23)
	at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:733)
	at net.minecraft.server.MinecraftServer.func_213166_h(MinecraftServer.java:159)
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:134)
	at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:716)
	at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:710)
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213160_bf(ThreadTaskExecutor.java:115)
	at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:695)
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:645)
	at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232)
	at net.minecraft.server.MinecraftServer$$Lambda$31289/1573849266.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:745)
commented

Seems like it was the mod shrink, i removed it and the dogs worked. Thanks

commented

@gigabit101 might know the cause