I'm trying to make spiders small and harmless so they'd be more like props for a map, and I'm currently struggling with that.
I tried figuring out Pehkui but it doesn't use attributes like I assumed it would, and the .scale method doesn't do much.
EntityJSEvents.modifyEntity(event=>{
event.modify('minecraft:spider', modify =>{
modify.canAttack(context => false)
modify.scale(entity => 0.1)
})
})