for (const boat of overworld.getEntities({type:`minecraft:boat`})) {
if (blockUnderIsBlock(boat,"minecraft:slime") && boat.isOnGround) {
boat.applyImpulse({x:0,y:0.5,z:0})
}
}
it works when the player isnt in the boat but when i get in it cant apply the impule
is there a work around or different way of doing this or is it not possible?