// wolf's default MS = 0.3 double moveSpeed = ((Attributable)wolf).getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).getValue(); wolf.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).setBaseValue(0.5);