tutorial:events: Mixin @At target string invalid. #100
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello. I was following the event tutorial and the line:
is invalid because the string
"Lnet/minecraft/entity/passive/SheepEntity;dropItems()V"can not be resolved. At least that's what IntelliJ IDEA MC Development plugin saysLooks like the wiki article is outdated:
#dropItemsisn't called from#interactMob, but from#sheared. You can change the At target to SheepEntity#sheared, which should have the same effectOkay. Thanks for the quick reply! :D