tutorial:events: Mixin @At target string invalid. #100
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Steven/fabric-example-mod#100
Loading…
Reference in New Issue
Block a user
No description provided.
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:
#dropItems
isn'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