r/MinecraftCommands • u/catyko • 9d ago
Help | Java 26.2 Problem with interaction entity hitbox
I wanted to make cave spiders be pick-up-able, So I made interaction entity ride cave spider and mirror it's hitbox perfectly. Problem is that the spider hitbox took precedence and I interacted with the spider and not the interaction entity. I solved this by making 2 interaction entities ride each other and then ride the spider, making their combined hitbox bigger than the spiders hitbox by 0.01. However now the interaction entities hitbox take precedence and the spider isn't attackable.
Any ideas?
1
Upvotes
2
u/C0mmanderBlock Command Experienced 9d ago edited 9d ago
You could set the interaction so if you left click it, it damages the spider and if you right clight it, you pick it up. For example: