Moonlight Lib

Moonlight Lib

86M Downloads

[1.19.4] Bow/Crossbow animations don't play when using them

Tooop22 opened this issue ยท 2 comments

commented

Bow and crossbow animations don't play when using them. And moonlight lib is the only mod I have installed.

commented

@Redirect(method = "resolve", at = @At(target = "Lnet/minecraft/client/renderer/item/ItemProperties;getProperty(Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/item/ItemPropertyFunction;", value = "INVOKE"))
public ItemPropertyFunction resolveWithCache(Item item, ResourceLocation location) {
if (Moonlight.test) {
DUMMY.set(item, location);
return DUMMY;
} else {
return ItemProperties.getProperty(item, location);
}
}

commented

That explains it. I forgot to remove that stuff was just some test I did