I'm trying to set 'forge:swin_speed'
but I want to read from it and add a percentage to it
I know that /Attributes command can be used to set it.
let player = e.entity;
console.log(player)
console.log(player.getAttributes("forge:swim_speed"))
console.log(player.attributes("forge:swim_speed"))
let oldSwimLevel = player.getAttributes("forge:swim_speed") || 1
im kind of lost how to access this
everythign points to net.minecraft.world.entity.ai.attributes.AttributeModifier.Operation